Package | Description |
---|---|
com.jalios.jcms |
Contains the core JCMS classes.
|
com.jalios.jcms.ajax | |
com.jalios.jcms.alert | |
com.jalios.jcms.analytics.agent | |
com.jalios.jcms.archive |
Contains the classes used to deal with archives management in JCMS.
|
com.jalios.jcms.caddy |
Provides classes to manage and process operation on Caddy items in JCMS.
|
com.jalios.jcms.calendar |
Contains the classes used to deal with calendar in JCMS.
|
com.jalios.jcms.context |
Provides context classes available in every request, you can extends them or use them as javabean.
|
com.jalios.jcms.db | |
com.jalios.jcms.dbmember | |
com.jalios.jcms.handler |
Contains the javabean classes uses to process HTTP request (aka form handlers).
|
com.jalios.jcms.mail | |
com.jalios.jcms.mashup |
Contains classes used for data Import/Export.
|
com.jalios.jcms.policy | |
com.jalios.jcms.portlet |
Contains core Portlets parent of all generated portlets.
|
com.jalios.jcms.publicationfollower | |
com.jalios.jcms.search |
Provides internal search engines classes of JCMS.
|
com.jalios.jcms.servlet |
Contains JCMS servlet classes.
|
com.jalios.jcms.taglib |
Provides many of the classes used for JCMS jsp tags.
|
com.jalios.jcms.test | |
com.jalios.jcms.tracking | |
com.jalios.jcms.upload | |
com.jalios.jcms.vote | |
com.jalios.jcms.workspace |
Contains classes about workspace features.
|
Modifier and Type | Class and Description |
---|---|
static class |
Publication.AdateComparator<T extends Publication>
Compares two Publications using their Adate in descending order (newest date first).
|
static class |
Publication.AudienceRightComparator<T extends Publication>
Comparator to compare Publication using their audience rights.
|
static class |
Publication.AuthorComparator<T extends Publication> |
static class |
Publication.DdateComparator<T extends Publication>
Compares two Publications using their Ddate in descending order (newest date first).
|
static class |
Publication.EdateComparator<T extends Publication>
Compares two Publications using their Edate in descending order (newest date first).
|
static class |
Publication.PdateComparator<T extends Publication>
Compares two Publications using their Pdate in descending order (newest date first).
|
static class |
Publication.PopularityComparator<T extends Publication>
Comparator to compare Publication using their score based on votes
|
static class |
Publication.PstatusComparator<T extends Publication> |
static class |
Publication.ReaderComparator<T extends Publication> |
static class |
Publication.RightComparator<T extends Publication> |
static class |
Publication.SdateComparator<T extends Publication>
Compares two Publications using their Sdate in descending order (newest date first).
|
static class |
Publication.TitleComparator<T extends Publication> |
static class |
Publication.TypeComparator<T extends Publication> |
static class |
Publication.UdateComparator<T extends Publication>
Compares two Publications using their udate in descending order (newest date first).
|
static class |
Publication.VoteScoreComparator<T extends Publication>
Comparator to compare Publication using their score based the score of votes (positive votes - negative votes)
|
static class |
Publication.WorkspaceComparator<T extends Publication> |
static class |
QueryResultSet.ScoreComparator<T extends Publication>
This
Comparator compares two Object s using a score
retrieved from a map of Object to float . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDBTestType |
class |
AbstractWebPage |
class |
Content
Content is a tagging abstract class which a type implements
to indicates it is an editorial publication.
|
class |
DBFileDocument |
class |
FileDocument |
class |
Form
Form is the mother class of all form types.
|
class |
UserContent
UserContent is a tagging abstract class which a type implements
to indicates it is a user content.
|
Modifier and Type | Field and Description |
---|---|
protected Publication |
Publication.mainInstance |
protected Publication |
WFNote.publication |
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<java.lang.Class<? extends Publication>> |
Channel.coreTypeList |
protected java.util.Set<Publication> |
QueryManager.QueryPublicationSelector.historySet |
protected java.util.HashMap<Publication,java.util.BitSet> |
AudienceRights.publicationToBSMap |
protected java.util.Map<java.lang.String,java.util.List<java.lang.Class<? extends Publication>>> |
Channel.publicationTypeMap |
protected java.util.Set<Publication> |
Channel.pubWithoutCategories |
protected java.util.HashSet<java.lang.Class<? extends Publication>> |
QueryManager.QueryPublicationSelector.queryAvoidClassSet |
protected java.util.HashSet<java.lang.Class<? extends Publication>> |
QueryManager.QueryPublicationSelector.queryClassSet |
protected java.util.HashMap<java.lang.String,java.util.HashSet<Publication>> |
PublicationListener.titleToPubSetMap |
Modifier and Type | Method and Description |
---|---|
static <T extends Publication> |
Publication.getAdateComparator() |
<T extends Publication> |
Channel.getAllPublicationSet(java.lang.Class<T> clazz,
Member member)
Returns all publications of a given class AND subclasses that can be accessed by
a given member and that are in a visible state.
|
<T extends Publication> |
Channel.getAllPublicationSet(java.lang.Class<T> clazz,
Member member,
boolean checkPstatus)
Returns all publications of a given class AND subclasses that can be accessed by
a given member.
|
static <T extends Publication> |
Publication.getAudienceRightComparator() |
static <T extends Publication> |
Publication.getComparator(java.lang.Class<T> clazz,
java.lang.String str,
boolean reverse)
Deprecated.
|
<T extends Publication> |
Category.getDBPublicationCount()
Count the number of DB publications which belongs to this category (exact mode).
|
<T extends Publication> |
Category.getDBPublicationCount(java.lang.Class<T> clazz,
boolean exactCat)
Count the number of DB publication which belongs to this category.
|
static <T extends Publication> |
Publication.getDdateComparator() |
static <T extends Publication> |
Publication.getEdateComparator() |
static <T extends Publication> |
Publication.getPdateComparator() |
static <T extends Publication> |
Publication.getPopularityComparator() |
static <T extends Publication> |
Publication.getPstatusComparator() |
<T extends Publication> |
Category.getPublicationSet(java.lang.Class<T> clazz)
Returns a NEW Set of Publication of the given class which use this category.
|
<T extends Publication> |
Channel.getPublicationSet(java.lang.Class<T> clazz,
Member member)
Returns all publications of a given class that can be accessed by
a given member and that are in a visible state.
|
<T extends Publication> |
Category.getPublicationSet(java.lang.Class<T> clazz,
Member mbr)
Returns a NEW Set of Publication of the given class which use this category.
|
<T extends Publication> |
Channel.getPublicationSet(java.lang.Class<T> clazz,
Member member,
boolean checkPstatus)
Returns all publications of a given class that can be accessed by
a given member.
|
<T extends Publication> |
Channel.getPublicationSet(java.lang.Class<T> clazz,
Member member,
boolean checkPstatus,
Workspace workspace)
Returns all publications of a given class that can be accessed by
a given member.
|
<T extends Publication> |
Channel.getPublicationSet(java.lang.Class<T> clazz,
Member member,
boolean checkPstatus,
Workspace workspace,
boolean searchDB) |
<T extends Publication> |
Channel.getPublicationSet(java.util.Set<T> publicationSet,
boolean specialState)
Return a SubSet of publication in or not in special state.
|
static <T extends Publication> |
Publication.getReaderComparator() |
static <T extends Publication> |
Publication.getRightComparator() |
static <T extends Publication> |
Publication.getSdateComparator() |
static <T extends Publication> |
Publication.getTitleComparator() |
static <T extends Publication> |
Publication.getTitleComparator(java.lang.String lang) |
static <T extends Publication> |
Publication.getTypeComparator() |
static <T extends Publication> |
Publication.getUdateComparator() |
static <T extends Publication> |
Publication.getVoteScoreComparator() |
static <T extends Publication> |
Publication.getWorkspaceComparator(java.lang.String lang) |
Modifier and Type | Method and Description |
---|---|
Publication |
Publication.createCopy(Member mbr)
Creates a copy from this publication
|
Publication |
Publication.createWorkCopy(Member mbr)
Creates a work copy for this publication
|
Publication |
Channel.getFirstPublicationFromTitle(java.lang.String title)
Returns the first publication with the title in default site language matching the given title.
|
Publication |
Publication.getImportConflictCopy()
Returns the conflict copy bound to this imported publication (or null if there is no conflict copy).
|
Publication |
Publication.getMainInstance()
If this publication is a work copy then return the main instance
|
Publication |
WFNote.getPublication()
Retrieve the publication associated to this WFNote.
|
Publication |
Channel.getPublication(java.lang.String id)
Returns a publication from its id
|
static Publication |
HttpUtil.getPublicationParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String parameterName)
Retrieve a Publication from its id received in parameter.
|
protected Publication |
Publication.prepareMergeCopy() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Publication> |
WeakLinkManager.extractPubSetFromImg(java.lang.String text)
Returns the set of publication referenced through <img> tag in the given text.
|
static java.util.Set<Publication> |
WikiRenderer.extractPubSetFromUrl(java.lang.String text)
Returns the set of publication referenced through URL in the given text.
|
static java.util.Set<Publication> |
WikiRenderer.extractPubSetFromWiki(java.lang.String text)
Returns the set of publication referenced through wiki link in the given text.
|
java.util.Set<Publication> |
WeakLinkManager.extractPubSetFromWysiwyg(java.lang.String text) |
java.util.Set<Publication> |
WeakLinkManager.extractWeakLinkSet(Publication pub)
Returns the set of publication weakly referenced by the given publication.
|
java.util.Set<Publication> |
Category.getAllPublicationSet()
Return a set containing all the publications referenced by this
category and all the descendants of this category
|
java.util.Set<Publication> |
Category.getAllPublicationSet(boolean searchInDB)
Return a set containing all the publications referenced by this
category and all the descendants of this category
|
java.util.Set<Publication> |
CategoryIndexManager.getAllPublicationSet(Category cat)
Returns the all publication set associated to the given category.
|
java.util.SortedSet<Publication> |
QueryResultSet.getAsSortedSet()
Gets all the results contained in this
QueryResultSet as
a SortedSet (a TreeSet ) using the
ScoreComparator . |
java.util.SortedSet<Publication> |
QueryResultSet.getAsSortedSet(java.lang.Class<? extends Publication> typeClazz,
java.lang.String comparatorName,
boolean reverse)
Gets all the results contained in this
QueryResultSet as
a SortedSet (a TreeSet ) retrieving the appropriate
Comparator through ComparatorManager . |
java.util.SortedSet<Publication> |
QueryResultSet.getAsSortedSet(java.util.Comparator comparator)
Gets all the results contained in this
QueryResultSet as
a SortedSet (a TreeSet ) using the given
Comparator or none if null. |
java.util.SortedSet<Publication> |
QueryResultSet.getAsSortedSet(java.lang.String comparatorName,
boolean reverse)
Gets all the results contained in this
QueryResultSet as
a SortedSet (a TreeSet ) retrieving the appropriate
Comparator through ComparatorManager . |
java.util.ArrayList<java.lang.Class<? extends Publication>> |
Channel.getCoreTypeList()
Returns all the available core publication types (FileDocument, ArchivedPublication...)
|
java.util.List<java.lang.Class<? extends Publication>> |
Channel.getDBPublicationClassList()
Returns the list of Publication subclasses managed by Hibernate.
|
PageResult<Publication> |
Channel.getDBPublicationList(PublicationCriteria pubCriteria)
Returns a list of publications in the database matching the given criteria.
|
java.util.List<Publication> |
Member.getFollowedPublicationList()
Returns the list of publications followed by this member.
|
java.util.Set<Publication> |
NotificationQuery.getMemberPublicationSet(Member mbr)
This methods finds publications matching notification
criterias of query period for the specified member.
|
java.util.Map<Member,java.util.Set<? extends Publication>> |
NotificationQuery.getMemberToPublicationSetMap(java.util.Set<Member> memberSet)
This methods finds for each members to be notified the
publications matching notification criterias of given period.
|
PageResult<Publication> |
Channel.getNotVisibleDBPublicationList(PublicationCriteria pubCriteria)
Returns a list publications in the database matching the given criteria and not in a visible state.
|
java.util.Set<Publication> |
Member.getPublicationSet()
Retrieve a Set containing all the Publication of which this member is the author.
|
java.util.Set<Publication> |
Group.getPublicationSet()
Retrieves a new set which contains the publications of all the members of this group.
|
java.util.Set<Publication> |
Category.getPublicationSet()
Returns the publications which use this category
|
java.util.Set<Publication> |
Category.getPublicationSet(boolean searchInDB)
Returns the publications which use this category
|
java.util.Set<Publication> |
CategoryIndexManager.getPublicationSet(Category cat)
Returns the publication set associated to the given category.
|
java.util.Set<Publication> |
MemberIndexManager.getPublicationSet(Member mbr)
Returns the publication set associated to the given member.
|
java.util.Set<Publication> |
Channel.getPublicationSet(java.util.Set<Publication> publicationSet,
Workflow wf)
Return a SubSet of all publication using the given workflow
|
java.util.HashSet<Publication> |
PublicationListener.getPublicationSetFromTitle(java.lang.String title)
Return a set of Publications matching the given title.
|
java.util.Set<Publication> |
Channel.getPublicationSetFromTitle(java.lang.String title)
Returns all publications with title in default site language
matching the given title.
|
java.util.Set<Publication> |
Channel.getPublicationSetFromTitle(java.lang.String title,
boolean searchInDB) |
java.util.List<java.lang.Class<? extends Publication>> |
Channel.getPublicationTypeList()
Returns all the available publication types (sorted on the main language).
|
java.util.List<java.lang.Class<? extends Publication>> |
Channel.getPublicationTypeList(java.lang.String lang)
Retrieves all the available publication types sorted on the given language.
|
java.util.HashSet<Publication> |
Channel.getPublicationWithoutCategories()
Returns all the publications without categories in
a new HashSet.
|
protected java.util.HashSet<java.lang.Class<? extends Publication>> |
QueryManager.getQueryAvoidClassSet(QueryHandler qh)
Compute a
HashSet of Class (type) to include
during query from the "typesOff" value of the given QueryHandler. |
protected java.util.HashSet<java.lang.Class<? extends Publication>> |
QueryManager.getQueryClassSet(QueryHandler qh,
boolean addFileDoc)
Compute a
HashSet of Class (type) to include
during query from the "types" value of the given QueryHandler. |
java.util.Map<java.lang.String,java.util.Set<Publication>> |
WeakLinkManager.getUrlMap()
Returns the map of urls referenced by publications.
|
java.util.Map<java.lang.String,java.util.Set<Publication>> |
WeakLinkManager.getUrlMap(Workspace ws,
Member mbr)
Returns the map of urls referenced by publications of the given workspace.
|
java.util.Set<Publication> |
WeakLinkManager.getUrlReferrerSet(java.lang.String url)
Returns all the publications referring the given URL.
|
PageResult<Publication> |
Channel.getVisibleDBPublicationList(PublicationCriteria pubCriteria)
Returns a list publications in the database matching the given criteria and in a visible state.
|
java.util.Set<Publication> |
Publication.getWeakReferrerSet()
Returns the set of weak referrers.
|
java.util.Set<Publication> |
FileDocument.getWeakReferrerSet() |
java.util.Set<Publication> |
PublicationIndexManager.getWeakReferrerSet(Publication pub)
Returns the weak referrer set associated to the given publication.
|
java.util.Set<Publication> |
Publication.getWorkCopySet()
Get the value of workCopySet.
|
java.util.Set<Publication> |
PublicationIndexManager.getWorkCopySet(Publication pub)
Returns the work copy set associated to the given publication.
|
java.util.Set<Publication> |
Member.getWorkspacePublicationSet() |
java.util.Iterator<Publication> |
QueryResultSet.iterator()
Overrides
HashSet.iterator() to wrap the
native Iterator instance returned by the Java API with
a custom one making sure the max score is updated on removal. |
Modifier and Type | Method and Description |
---|---|
boolean |
QueryResultSet.add(Publication pub,
float score)
Adds the given
Publication and its score to this
QueryResultSet . |
boolean |
CategoryIndexManager.addAllPublication(Category cat,
Publication pub)
Adds the given publication to the all publication set of the given category.
|
boolean |
CategoryIndexManager.addPublication(Category cat,
Publication pub)
Adds the given publication to the publication set of the given category.
|
boolean |
MemberIndexManager.addPublication(Member mbr,
Publication pub)
Adds the given publication to the publication set of the given member.
|
void |
Publication.addWeakReferrer(Publication referrer)
Add a weak referrer.
|
boolean |
PublicationIndexManager.addWeakReferrer(Publication pub,
Publication weakReferrer)
Adds the given weak referrer to the given publication.
|
static void |
WorkflowManager.addWFExpressAlarm(Publication pub)
Adds a WFReminder alarm for the given publication (only for main leader replica).
|
static void |
WorkflowManager.addWFReminderAlarm(Publication pub)
Adds a WFReminder alarm for the given publication (only for main leader replica).
|
boolean |
PublicationIndexManager.addWorkCopy(Publication pub,
Publication workCopy)
Adds the given work copy to the given publication.
|
void |
Publication.assignCommonPublicationFields(Publication pub)
Assign all the common fields (author, workspace, pstatus, pdate, ...)
|
boolean |
Member.canArchive(Publication pub)
Check if the member is in a role that can archive the given publication.
|
boolean |
Workflow.canChangeState(Member member,
Publication pub,
WFState target)
Checks if a given member can move a given publication in a given
state.
|
boolean |
Workflow.canChangeState(Member member,
Publication pub,
WFState source,
WFState target)
Checks if a given member can move from a given state in a given
state
|
boolean |
Member.canCreateWorkCopy(Publication pub)
Convenience method
|
boolean |
Member.canMergeWorkCopy(Publication pub)
Convenience method
|
boolean |
Group.canRead(Publication pub)
This convenient method check if a group can read a publication.
|
boolean |
Member.canRead(Publication pub,
boolean searchInGroups)
This convenient method checks if a member can read a publication.
|
boolean |
Workflow.canWorkInState(Publication pub,
Member member,
WFState state)
Checks if a given member can work in a given state
|
boolean |
Member.canWorkOn(Publication pub)
Check if this member can work on the given publication (ie, if
it has the rights and if it is in a state the member can work
in).
|
boolean |
Member.canWorkOn(Publication pub,
RightInfo rightInfo) |
static ControllerStatus |
JcmsUtil.checkFieldMLRequired(Publication pub,
java.lang.String fieldName,
java.lang.String value,
java.util.HashMap valueML)
This convenient method checks if the given multilingual field is required.
|
protected ControllerStatus |
BasicDataController.checkFieldMLRequired(Publication pub,
java.lang.String fieldName,
java.lang.String value,
java.util.HashMap valueML)
This convenient method checks if the given multilingual field is required.
|
static ControllerStatus |
JcmsUtil.checkFieldRequired(Publication pub,
java.lang.String fieldName,
java.lang.Object value)
This convenient method checks if the given field is required.
|
protected ControllerStatus |
BasicDataController.checkFieldRequired(Publication pub,
java.lang.String fieldName,
java.lang.String value)
This convenient method checks if the given field is required.
|
protected static boolean |
WFRule.checkGroup(WKRole role,
Group group,
int currentWeight,
Publication pub) |
protected static boolean |
WFRule.checkGroupList(WKRole role,
ObjectIntTreeMap grpVoteMap,
Publication pub) |
protected static boolean |
WFRule.checkMemberList(Publication pub,
WKRole role,
java.util.TreeSet<Member> mbrVoteSet) |
boolean |
AudienceRights.checkRights(Publication pub,
Member member)
Check if the publication can be read by the given member using AudienceRights.
|
boolean |
WFTransition.checkRule(ObjectIntTreeMap grpVoteMap,
java.util.TreeSet<Member> mbrVoteSet,
Publication publication,
Member loggedMember)
Perform the rule
|
static boolean |
WFRule.checkRule(java.util.Set<WFRole> roleSet,
ObjectIntTreeMap grpVoteMap,
java.util.TreeSet<Member> mbrVoteSet,
Publication pub,
Member mbr)
This method determines whether a transition can be performed.
|
boolean |
WFState.checkTransition(int targetPstatus,
ObjectIntTreeMap grpVoteMap,
java.util.TreeSet<Member> mbrVoteSet,
Publication pub,
Member mbr)
Check if there exists at least one transition matching the given criteria and which can be performed
|
void |
PublicationIndexManager.clearPstatusAlarmEntryMap(Publication pub)
Clears the AlarmEntry map associated to the given publication.
|
protected void |
AudienceRights.clearPublicationBS(Publication pub)
Clear the BitSet associated with the given Publication.
|
void |
PublicationIndexManager.clearWeakReferrerSet(Publication pub)
Clears the weak referrer set associated to the given publication.
|
void |
PublicationIndexManager.clearWorkCopySet(Publication pub)
Clears the work copy set associated to the given publication.
|
void |
Publication.discardCopy(Publication copy)
This method is called when the creation of copy or a work copy of this publication has failed.
|
void |
FileDocument.discardCopy(Publication copy) |
java.util.Set<Publication> |
WeakLinkManager.extractWeakLinkSet(Publication pub)
Returns the set of publication weakly referenced by the given publication.
|
static Category |
DescriptiveURLs.getFirstDescriptiveCategory(Publication pub)
Returns the first category of the given Publication belonging to
one the root categories specified for descriptive urls.
|
static WFNote |
WorkflowManager.getLastWFNote(Publication pub)
Returns the last WFNote created for this publication.
|
java.util.Set<WFState> |
Workflow.getNextStateSet(Publication pub,
Member member)
Returns all the states a given member can reach for a given
publication.
|
java.util.Set<WFState> |
Workflow.getNextStateSet(Publication pub,
Member member,
WFState state,
Workspace ws)
Returns all the states a given member can reach from a given state
|
AlarmEntry |
PublicationIndexManager.getPstatusAlarmEntry(Publication pub,
int pstatus) |
java.util.Map<java.lang.Integer,AlarmEntry> |
PublicationIndexManager.getPstatusAlarmEntryMap(Publication pub)
Returns the AlarmEntry map associated to the given publication.
|
static java.lang.String |
JcmsUtil.getPubIcon(Publication pub)
Returns the HTML code for the icon of the given publication
|
static java.lang.String |
JcmsUtil.getPubImg(Publication pub)
Returns the image of the icon of the given publication
|
protected java.util.BitSet |
AudienceRights.getPublicationBS(Publication pub)
Retrieve the BitSet associated with the given publication.
|
float |
QueryResultSet.getScore(Publication pub)
Retrieve score of the specified
Publication . |
java.lang.String |
Channel.getSenderFullEmail(Publication pub,
java.lang.String lang)
Retrieves the full email that can be used to send message from JCMS
given a workspace and a language
|
java.lang.String |
Channel.getSenderFullEmail(Workspace ws,
Publication pub,
java.lang.String lang)
Retrieves a full email (something
"WorkspaceName - the publication's workspace email, "Pub's WorkspaceName - the channel default email,
"Channel Name - last the default admin email, "Default Admin |
java.util.Set<Publication> |
PublicationIndexManager.getWeakReferrerSet(Publication pub)
Returns the weak referrer set associated to the given publication.
|
static java.util.List<WFNote> |
WorkflowManager.getWFNoteList(Publication pub)
Returns the list of WFNote bound to the given publication.
|
static java.lang.String |
WorkflowManager.getWFStateStateLabel(Publication pub,
int pstatus,
java.lang.String userLang)
Returns the label of the given pstatus.
|
static java.lang.String |
WorkflowManager.getWFStateStateLabelHtml(Publication pub,
int pstatus,
java.lang.String userLang)
Returns the HTML code for the label of the given pstatus.
|
java.util.Set<Publication> |
PublicationIndexManager.getWorkCopySet(Publication pub)
Returns the work copy set associated to the given publication.
|
static Workflow |
WorkflowManager.getWorkflow(Publication pub)
Returns the workflow bound to a given publication (general workflow, not instance one if any is set.
|
java.util.Set<WFState> |
Workflow.getWorkStateSet(Publication pub,
Member member)
Returns all the state a member can work in, for all Workspace.
|
java.util.Set<WFState> |
Workflow.getWorkStateSet(Publication pub,
Member member,
Workspace workspace)
Returns all the state a member can work in, for given Workspace.
|
static boolean |
WorkflowManager.hasAlreadyVoted(Publication pub,
Member mbr)
Check if the given member has already voted for the given publication.
|
boolean |
Member.hasRead(Publication pub)
Check if the given publication has been read by this member
|
void |
WeakLinkManager.indexPublication(Publication referrer)
Indexes the given publication.
|
static boolean |
QueryManager.matchLucenePublicationRefinement(QueryHandler qh,
Publication pub) |
abstract void |
WFAction.perform(Publication pub,
boolean isReminder,
java.lang.String alertName) |
void |
AlertWorkersWFAction.perform(Publication pub,
boolean isReminder,
java.lang.String alertName) |
void |
AlertAuthorWFAction.perform(Publication pub,
boolean isReminder,
java.lang.String alertName) |
void |
AlertAdminsWFAction.perform(Publication pub,
boolean isReminder,
java.lang.String alertName) |
void |
WFState.performActionIn(Publication pub,
boolean isReminder)
Triggers all the incoming actions for a given publication
|
void |
WFState.performActionOut(Publication pub)
Triggers all the outgoing actions for a given publication
|
void |
QueryManager.prepareExternalResult(Publication pub)
Prepare the given publication to be displayed in the result list.
|
void |
PublicationIndexManager.putPstatusAlarmEntry(Publication pub,
int pstatus,
AlarmEntry alarmEntry)
Binds the given AlarmEntry to the given pstatus for the given publication.
|
void |
WeakLinkManager.reindexPublication(Publication referrer)
Reindexes the given publication.
|
boolean |
CategoryIndexManager.removeAllPublication(Category cat,
Publication pub)
Removes the given publication for the given category.
|
static void |
WorkflowManager.removeAllWFNotes(Publication pub)
Removes all the WFNote bound to the given publication.
|
protected void |
PublicationListener.removeFriendlyURLs(Publication pub) |
AlarmEntry |
PublicationIndexManager.removePstatusAlarmEntry(Publication pub,
int pstatus)
Removes the alarm entry of the given pstatus for the given publication.
|
boolean |
CategoryIndexManager.removePublication(Category cat,
Publication pub)
Removes the given publication for the given category.
|
boolean |
MemberIndexManager.removePublication(Member mbr,
Publication pub)
Removes the given publication for the given member.
|
void |
Publication.removeWeakReferrer(Publication referrer)
Remove a weak referrer.
|
boolean |
PublicationIndexManager.removeWeakReferrer(Publication pub,
Publication weakReferrer)
Removes the given weak referrer for the given publication.
|
static void |
WorkflowManager.removeWFExpressAlarm(Publication pub)
Removes the WFExpress alarm for the given publication.
|
static void |
WorkflowManager.removeWFReminderAlarm(Publication pub)
Removes the WFExpress alarm for the given publication.
|
boolean |
PublicationIndexManager.removeWorkCopy(Publication pub,
Publication workCopy)
Removes the given work copy for the given publication.
|
protected void |
PublicationListener.removeWorkCopySet(Publication pub) |
protected void |
PublicationListener.replacePublicationInTitlesIndex(Publication oldPub,
Publication newPub)
Method to update the title to publications index Map.
|
protected void |
WFAction.sendAlert(Publication pub,
java.util.Collection<Member> recipientSet,
boolean isReminder,
java.lang.String alertName) |
void |
Publication.setMainInstance(Publication mainInstance)
If this publication is a work copy then set it's main instance
|
void |
WFNote.setPublication(Publication pub)
Set the publication associated to this WFNote.
|
void |
PublicationIndexManager.setWeakReferrerSet(Publication pub,
java.util.Set<Publication> set)
Set the weak referrer set associated to the given publication.
|
void |
PublicationIndexManager.setWorkCopySet(Publication pub,
java.util.Set<Publication> set)
Set the work copy set associated to the given publication.
|
void |
WeakLinkManager.unindexPublication(Publication referrer)
Unindexes the given publication.
|
protected void |
PublicationListener.updateCategoryIndex(Publication pub,
boolean isContent,
boolean add) |
protected void |
PublicationListener.updateFriendlyURLs(Publication pub) |
protected void |
PublicationListener.updateMemberIndex(Publication pub,
boolean isContent,
boolean add) |
void |
Member.updatePublicationSet(Publication pub,
boolean add)
Update publicationSet index
|
protected void |
PublicationListener.updatePublicationTitlesIndex(Publication pub,
Publication indexedPub,
boolean add)
Method to update the title to publications index Map.
|
protected void |
PublicationListener.updateWorkCopySet(Publication pub) |
void |
PublicationListener.updateWorkspaceIndex(Publication pub,
boolean add) |
Modifier and Type | Method and Description |
---|---|
boolean |
QueryResultSet.addAll(java.util.Collection<? extends Publication> coll)
Overrides
AbstractCollection.addAll(Collection) to call
when QueryResultSet.addAll(QueryResultSet) if the specified collection is
a QueryResultSet . |
boolean |
QueryResultSet.addAll(java.util.Collection<? extends Publication> coll,
float score)
Adds all the
Publication in the specified collection to this
QueryResultSet . |
boolean |
QueryResultSet.addAll(PageResult<Publication> pr)
Adds the given
PageResult to this QueryResultSet . |
boolean |
Group.canDeleteOther(java.lang.Class<? extends Publication> clazz)
Check if this group can delete object of the given class.
|
boolean |
Group.canPublish(java.lang.Class<? extends Publication> clazz)
Check if this group can publish object of the given class.
|
boolean |
Group.canUpdateOther(java.lang.Class<? extends Publication> clazz)
Check if this group can update object of the given class.
|
java.util.SortedSet<Publication> |
QueryResultSet.getAsSortedSet(java.lang.Class<? extends Publication> typeClazz,
java.lang.String comparatorName,
boolean reverse)
Gets all the results contained in this
QueryResultSet as
a SortedSet (a TreeSet ) retrieving the appropriate
Comparator through ComparatorManager . |
java.util.Set<Publication> |
Channel.getPublicationSet(java.util.Set<Publication> publicationSet,
Workflow wf)
Return a SubSet of all publication using the given workflow
|
protected QueryResultSet |
QueryManager.performJStoreQuery(QueryHandler qh,
javax.servlet.http.HttpServletRequest request,
java.util.Set<? extends Publication> proposedDataSet) |
QueryResultSet |
QueryManager.query(QueryHandler qh,
javax.servlet.ServletRequest request,
java.util.Set<? extends Publication> proposedDataSet)
Perform a query using parameters specified in the given
QueryHandler . |
QueryResultSet |
Channel.query(QueryHandler qh,
javax.servlet.ServletRequest request,
java.util.Set<? extends Publication> proposedDataSet)
Perform a query using parameters specified in the given
QueryHandler . |
protected void |
QueryManager.reduceDataSetWithCategories(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using Categories options (cids/cidsOff) of the QueryHandler. |
protected void |
QueryManager.reduceDataSetWithCategories(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using Categories options (cids/cidsOff) of the QueryHandler. |
protected QueryResultSet |
QueryManager.reduceDataSetWithHistoryRefinement(QueryHandler qh,
java.util.Set<? extends Publication> proposedDataSet,
javax.servlet.http.HttpServletRequest request,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using query History (hist) of the QueryHandler. |
protected QueryResultSet |
QueryManager.reduceDataSetWithHistoryRefinement(QueryHandler qh,
java.util.Set<? extends Publication> proposedDataSet,
javax.servlet.http.HttpServletRequest request,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using query History (hist) of the QueryHandler. |
protected QueryResultSet |
QueryManager.reduceDataSetWithHistoryRefinement(QueryHandler qh,
java.util.Set<? extends Publication> proposedDataSet,
javax.servlet.http.HttpServletRequest request,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using query History (hist) of the QueryHandler. |
protected void |
QueryManager.reduceDataSetWithMembers(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using Members options (mids/midsOff) of the QueryHandler. |
protected void |
QueryManager.reduceDataSetWithMembers(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using Members options (mids/midsOff) of the QueryHandler. |
protected void |
QueryManager.reduceDataSetWithPortalElements(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using PortalElement options (mids/midsOff) of the QueryHandler. |
protected void |
QueryManager.reduceDataSetWithPortalElements(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using PortalElement options (mids/midsOff) of the QueryHandler. |
protected void |
QueryManager.reduceDataSetWithTextEngine(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using Text Search options of the QueryHandler. |
protected void |
QueryManager.reduceDataSetWithTextEngine(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using Text Search options of the QueryHandler. |
protected boolean |
QueryManager.reduceDataSetWithTypes(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using Types options (types/typesOff) of the QueryHandler. |
protected boolean |
QueryManager.reduceDataSetWithTypes(QueryHandler qh,
java.util.HashSet<Publication> dataToKeepSet,
java.util.HashSet<Publication> dataToExcludeSet,
boolean[] indexUsed)
Fill the given
HashSet with Data to keep and to exclude
using Types options (types/typesOff) of the QueryHandler. |
protected boolean |
QueryManager.searchFulltext(QueryHandler qh,
java.util.HashSet<Publication> dataSet,
QueryResultSet resultSet)
Perform a full-text search.
|
void |
CategoryIndexManager.setAllPublicationSet(Category cat,
java.util.Set<Publication> set)
Set the all publication set associated to the given Category.
|
void |
PublicationIndexManager.setWeakReferrerSet(Publication pub,
java.util.Set<Publication> set)
Set the weak referrer set associated to the given publication.
|
void |
PublicationIndexManager.setWorkCopySet(Publication pub,
java.util.Set<Publication> set)
Set the work copy set associated to the given publication.
|
Constructor and Description |
---|
PstatusAlarmListener(Publication pub,
int comparisonOperator,
int srcPstatus,
int tgtPstatus)
Constructs a new PstatusAlarmListener
|
Publication(Publication other) |
WFExpressAlarmListener(Publication pub,
int sourcePstatus,
int targetPstatus)
Constructs a new WFExpressAlarmListener
|
WFNote(Publication publication,
int prevPstatus,
int newPstatus,
java.lang.String comment,
Member author,
DataExtension extension) |
WFReminderAlarmListener(Publication pub,
WFState state)
Constructs a new WFReminderAlarmListener
|
Constructor and Description |
---|
QueryManager.QueryPublicationSelector(java.util.HashSet<java.lang.Class<? extends Publication>> queryClassSet,
java.util.HashSet<java.lang.Class<? extends Publication>> queryAvoidClassSet,
java.util.Date beginDate,
java.util.Date endDate,
int dateType,
java.util.Set<Group> queryGroupSet,
java.util.Set<Group> queryAvoidGroupSet,
java.util.Set<Member> queryMemberSet,
java.util.Set<Member> queryAvoidMemberSet,
java.util.Set<java.lang.String> queryDBMemberIdSet,
int[] pstatus,
java.lang.String[] langs,
Member loggedMember,
java.util.Set<Workspace> workspaceSet,
boolean checkReadRights,
java.lang.String ability,
boolean isExactCat,
java.lang.String catMode,
java.util.HashSet<Category> queryCategorySet,
java.util.HashSet<Category> queryAvoidCategorySet,
java.util.Set<Publication> historySet) |
QueryManager.QueryPublicationSelector(java.util.HashSet<java.lang.Class<? extends Publication>> queryClassSet,
java.util.HashSet<java.lang.Class<? extends Publication>> queryAvoidClassSet,
java.util.Date beginDate,
java.util.Date endDate,
int dateType,
java.util.Set<Group> queryGroupSet,
java.util.Set<Group> queryAvoidGroupSet,
java.util.Set<Member> queryMemberSet,
java.util.Set<Member> queryAvoidMemberSet,
java.util.Set<java.lang.String> queryDBMemberIdSet,
int[] pstatus,
java.lang.String[] langs,
Member loggedMember,
java.util.Set<Workspace> workspaceSet,
boolean checkReadRights,
java.lang.String ability,
boolean isExactCat,
java.lang.String catMode,
java.util.HashSet<Category> queryCategorySet,
java.util.HashSet<Category> queryAvoidCategorySet,
java.util.Set<Publication> historySet) |
QueryManager.QueryPublicationSelector(java.util.HashSet<java.lang.Class<? extends Publication>> queryClassSet,
java.util.HashSet<java.lang.Class<? extends Publication>> queryAvoidClassSet,
java.util.Date beginDate,
java.util.Date endDate,
int dateType,
java.util.Set<Group> queryGroupSet,
java.util.Set<Group> queryAvoidGroupSet,
java.util.Set<Member> queryMemberSet,
java.util.Set<Member> queryAvoidMemberSet,
java.util.Set<java.lang.String> queryDBMemberIdSet,
int[] pstatus,
java.lang.String[] langs,
Member loggedMember,
java.util.Set<Workspace> workspaceSet,
boolean checkReadRights,
java.lang.String ability,
boolean isExactCat,
java.lang.String catMode,
java.util.HashSet<Category> queryCategorySet,
java.util.HashSet<Category> queryAvoidCategorySet,
java.util.Set<Publication> historySet) |
Modifier and Type | Field and Description |
---|---|
static java.lang.Class<Publication> |
PortletCtxMenu.pqfClass |
Modifier and Type | Method and Description |
---|---|
protected int |
PublicationCtxMenu.addArchiveMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addCategoriesMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addCheckRightsMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addDeepDuplicateMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addDeleteMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addDownloadMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addDuplicateMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addExportMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addFileProcessorAction(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addImageEditorMenu(java.lang.StringBuffer sb,
Publication pub,
boolean popup) |
protected int |
PublicationCtxMenu.addImportMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addLockMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addMetadataMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addPreviewMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addPublicationAbstractMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addRightsMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addThumbnail(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addUploadAssociatedPDF(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addUploadMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addValidateMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addVersionMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addWebDAVMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addWFHistoryMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addWorkCopyDiffMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addWorkCopyMenu(java.lang.StringBuffer sb,
Publication pub) |
protected int |
PublicationCtxMenu.addWorkMergeMenu(java.lang.StringBuffer sb,
Publication pub) |
protected void |
PublicationCtxMenu.computeRights(Publication pub) |
protected boolean |
PublicationCtxMenu.isArchiveMenuEnabled(Publication pub) |
protected boolean |
PublicationCtxMenu.isVersionMenuEnabled(Publication pub) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
AlertUtil.getHtmlAbstract(Publication pub,
Member recipient)
Returns an HTML representation of the abstract of the given publication.
|
Modifier and Type | Method and Description |
---|---|
long |
WriteReportAgent.getDataCount(java.lang.Class<? extends Publication> clazz,
Workspace ws)
Returns the number of data available for the given class in a workspace.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ArchiveManager.archivePublication(Publication pub)
Deprecated.
|
static boolean |
ArchiveManager.archivePublication(Publication pub,
Member opAuthor)
Archive a given publication.
|
static java.lang.String |
ArchiveManager.getArchiveDirectoryPath(Publication originalPub,
ArchivedPublication archivePub)
Returns the path of directory in which the Archived files are stored.
|
void |
LuceneArchiveEngine.indexPublication(Publication pub,
ArchivedPublication archive)
Index a Publication
|
void |
ArchiveEngine.indexPublication(Publication pub,
ArchivedPublication archive)
Index a Publication
|
Constructor and Description |
---|
ArchivedPublication(Publication pub)
Create a new ArchivedPublication from a publication.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class<? extends Publication> |
PublicationCaddyManagerHandler.commonClass |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Publication> |
PublicationCaddyManagerHandler.getCommonClass() |
java.util.ArrayList<Publication> |
Caddy.getPublicationList()
Create and returns a new list containing all
Publication contained in the caddy. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCalendarEvent
This abstract class provides a superclass to every calendar event and base
methods for their manipulation
|
class |
AbstractEventResource |
Modifier and Type | Field and Description |
---|---|
protected Publication |
AbstractJcmsAjaxContext.pub |
Modifier and Type | Method and Description |
---|---|
Publication |
JcmsJspContext.getContentForm() |
Publication |
JcmsJspContext.getPublication() |
Publication |
AbstractJcmsAjaxContext.getPublication()
Returns the stored Publication for the given request
|
Modifier and Type | Method and Description |
---|---|
boolean |
JcmsJspContext.isEditIcon(Workspace ws,
Publication pub) |
void |
AbstractJcmsAjaxContext.setPublication(Publication pub)
Set the Publication for the given request
|
Modifier and Type | Field and Description |
---|---|
protected Publication |
DBDataRevision.revisionData |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Class<? extends Publication>> |
HibernateManager.getDBPublicationClassList()
Returns the list of Publication subclasses managed by Hibernate.
|
java.lang.Class<? extends Publication> |
PublicationCriteria.getPubClass() |
static PageResult<Publication> |
HibernateUtil.queryPublication(PublicationCriteria pubCriteria)
Returns a list of publications in the database matching the given criteria.
|
Modifier and Type | Method and Description |
---|---|
PublicationCriteria |
PublicationCriteria.setPubClass(java.lang.Class<? extends Publication> clazz) |
Constructor and Description |
---|
PublicationCriteria(java.lang.Class<? extends Publication> clazz) |
PublicationCriteria(java.lang.Class<? extends Publication> clazz,
QueryHandler qh) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Publication> |
DBMember.getPublicationSet() |
java.util.Set<Publication> |
DBMember.getWorkspacePublicationSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
DBMember.canCreateWorkCopy(Publication pub) |
boolean |
DBMember.canMergeWorkCopy(Publication pub) |
void |
DBMember.updatePublicationSet(Publication pub,
boolean add) |
Modifier and Type | Field and Description |
---|---|
protected Publication |
EditPublicationHandler.publication |
protected Publication |
EditPublicationHandler.workingPub |
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<java.lang.Class<? extends Publication>> |
EditNotificationCriteriaHandler.classSet |
protected java.lang.Class<? extends Publication> |
MembersCsvImportHandler.collaborativeSpaceClazz
The optional Collaborative Space class.
|
protected java.lang.Class<? extends Publication> |
EditPublicationHandler.pubClass |
Modifier and Type | Method and Description |
---|---|
Publication |
EditPublicationHandler.getPublication() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.Class<? extends Publication>> |
EditNotificationCriteriaHandler.getAvailableClassSet() |
java.util.HashSet<java.lang.Class<? extends Publication>> |
QueryHandler.getClassOffSet()
Return a set of classes corresponding to the 'typesOff' attributes
|
java.util.HashSet<java.lang.Class<? extends Publication>> |
QueryHandler.getClassSet()
Return a set of classes corresponding to the 'types' attributes
|
java.lang.Class<? extends Publication> |
ValidateStateChangePublicationHandler.getInternalClass() |
java.lang.Class<? extends Publication> |
ValidateStateChangePublicationHandler.getPublicationClass() |
abstract java.lang.Class<? extends Publication> |
EditPublicationHandler.getPublicationClass() |
java.util.Set<Publication> |
PortletWorkflowHandler.getPublicationSet(java.lang.String[] queries,
int maxItemPerWorkspace) |
static java.lang.Class<? extends Publication> |
QueryHandler.getTypesCommonSuperClass(QueryHandler... queryHandlers)
Retrieve the common super class of types specified in the QueryHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
EditPublicationHandler.setFields(Publication pub)
Set the common (Publication) fields.
|
void |
EditFormHandler.setFields(Publication pub) |
void |
EditFileDocumentHandler.setFields(Publication pub) |
Modifier and Type | Method and Description |
---|---|
void |
ValidateStateChangePublicationHandler.setInternalClass(java.lang.Class<? extends Publication> internalClass) |
Modifier and Type | Class and Description |
---|---|
class |
MailMessage
Class used to build and send a mail message.
|
Modifier and Type | Method and Description |
---|---|
Publication |
ImportConflictHandler.getPublication() |
Modifier and Type | Method and Description |
---|---|
Publication |
PortalPolicyFilter.checkPublication(Publication workingPublication,
Member loggedMember,
boolean isPreview)
Hook called by display.jsp to update the working publication.
|
Publication |
PolicyManager.checkPublication(Publication workingPublication,
Member loggedMember,
boolean isPreview) |
Publication |
BasicPortalPolicyFilter.checkPublication(Publication workingPublication,
Member loggedMember,
boolean isPreview) |
Modifier and Type | Method and Description |
---|---|
boolean |
RightPolicyFilter.canBeReadBy(boolean isAuthorized,
Publication pub,
Group grp)
Called by
canBeReadBy(Group) . |
boolean |
BasicRightPolicyFilter.canBeReadBy(boolean isAuthorized,
Publication pub,
Group grp) |
boolean |
PolicyManager.canBeReadBy(boolean isAuthorized,
Publication pub,
Group grp,
RightInfo rightInfo) |
boolean |
RightPolicyFilter.canBeReadBy(boolean isAuthorized,
Publication pub,
Member mbr,
boolean searchInGroups)
Called by
canBeReadBy(Member, boolean) . |
boolean |
BasicRightPolicyFilter.canBeReadBy(boolean isAuthorized,
Publication pub,
Member mbr,
boolean searchInGroups) |
boolean |
PolicyManager.canBeReadBy(boolean isAuthorized,
Publication pub,
Member mbr,
boolean searchInGroups,
RightInfo rightInfo) |
boolean |
PublicationFollowerPolicyFilter.canFollow(Member mbr,
Publication pub)
Returns true if the given member can follow the given publication.
|
boolean |
PolicyManager.canFollow(Member mbr,
Publication pub) |
boolean |
BasicPublicationFollowerPolicyFilter.canFollow(Member mbr,
Publication pub)
Returns true if the given member can follow the given publication.
|
boolean |
RightPolicyFilter.canWorkOn(boolean isAuthorized,
Publication pub,
Member member)
Called by
Member.canWorkOn(Publication) . |
boolean |
BasicRightPolicyFilter.canWorkOn(boolean isAuthorized,
Publication pub,
Member member) |
boolean |
PolicyManager.canWorkOn(boolean isAuthorized,
Publication pub,
Member member,
RightInfo rightInfo) |
char[] |
PolicyManager.checkCtxMenuItems(PublicationCtxMenu ctxMenu,
Publication pub,
char[] letters) |
char[] |
CtxMenuPolicyFilter.checkCtxMenuItems(PublicationCtxMenu ctxMenu,
Publication pub,
char[] letters)
Checks the processed contextual menu
|
char[] |
BasicCtxMenuPolicyFilter.checkCtxMenuItems(PublicationCtxMenu ctxMenu,
Publication pub,
char[] letters) |
void |
PortalPolicyFilter.checkDisplay(DisplayContext context,
Publication pub,
Member loggedMember)
Hook called by getDisplayContext() to update the content of context.
|
void |
PolicyManager.checkDisplay(DisplayContext context,
Publication pub,
Member loggedMember) |
void |
BasicPortalPolicyFilter.checkDisplay(DisplayContext context,
Publication pub,
Member loggedMember) |
boolean |
PortalPolicyFilter.checkPortal(PortalInterface portal,
Publication pub,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean modePreview,
boolean jcmsChoice)
Hook called by PortalManager to decide if the given portal may be used to display information.
|
boolean |
PolicyManager.checkPortal(PortalInterface portal,
Publication pub,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean modePreview,
boolean jcmsChoice) |
boolean |
BasicPortalPolicyFilter.checkPortal(PortalInterface portal,
Publication pub,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean modePreview,
boolean jcmsChoice) |
Publication |
PortalPolicyFilter.checkPublication(Publication workingPublication,
Member loggedMember,
boolean isPreview)
Hook called by display.jsp to update the working publication.
|
Publication |
PolicyManager.checkPublication(Publication workingPublication,
Member loggedMember,
boolean isPreview) |
Publication |
BasicPortalPolicyFilter.checkPublication(Publication workingPublication,
Member loggedMember,
boolean isPreview) |
void |
PolicyManager.checkWorkingCategories(java.util.List<Category> workingCategories,
Publication pub,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean modePreview,
Category[] ctxCategories) |
void |
PortalPolicyFilter.checkWorkingCategories(java.util.List workingCategories,
Publication pub,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean modePreview,
Category[] ctxCategories)
Hook called by PortalManager to change the order between categories of a given publication.
|
void |
BasicPortalPolicyFilter.checkWorkingCategories(java.util.List workingCategories,
Publication pub,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean modePreview,
Category[] ctxCategories) |
void |
PolicyManager.filterPublicationDocument(org.apache.lucene.document.Document doc,
Publication pub,
java.lang.String lang) |
void |
LuceneSearchEnginePolicyFilter.filterPublicationDocument(org.apache.lucene.document.Document doc,
Publication pub,
java.lang.String lang)
This method is called when the given Publication is being index in the given language,
just before writing the Document into the index.
|
void |
BasicLuceneSearchEnginePolicyFilter.filterPublicationDocument(org.apache.lucene.document.Document doc,
Publication pub,
java.lang.String lang) |
void |
PolicyManager.handleCtxMenuItems(java.lang.StringBuffer sb,
PublicationCtxMenu ctxMenu,
Publication pub) |
void |
CtxMenuPolicyFilter.handleCtxMenuItems(java.lang.StringBuffer sb,
PublicationCtxMenu ctxMenu,
Publication pub)
Handle the current StringBuffer to append custom content
for the given Publication
|
void |
BasicCtxMenuPolicyFilter.handleCtxMenuItems(java.lang.StringBuffer sb,
PublicationCtxMenu ctxMenu,
Publication pub) |
int |
PolicyManager.handleCtxMenuItems(java.lang.StringBuffer sb,
PublicationCtxMenu ctxMenu,
Publication pub,
char letter) |
int |
CtxMenuPolicyFilter.handleCtxMenuItems(java.lang.StringBuffer sb,
PublicationCtxMenu ctxMenu,
Publication pub,
char letter,
int status)
Handle the current StringBuffer to append custom content
for the given Publication and given Letter
|
int |
BasicCtxMenuPolicyFilter.handleCtxMenuItems(java.lang.StringBuffer sb,
PublicationCtxMenu ctxMenu,
Publication pub,
char letter,
int status) |
boolean |
PublicationFollowerPolicyFilter.searchParents(Publication pub,
java.util.Map context)
Returns true if the notification should be sent to PublicationFollower of parent of the Publication
|
boolean |
PolicyManager.searchParents(Publication pub,
java.util.Map context) |
boolean |
BasicPublicationFollowerPolicyFilter.searchParents(Publication pub,
java.util.Map context)
Returns true if the notification should be sent to PublicationFollower of parent of the Publication
|
boolean |
PublicationFollowerPolicyFilter.sendFollowerNotification(Member mbr,
Publication pub,
java.util.Map context)
Returns true if the notification for the given publication must be sent to the given member
|
boolean |
PolicyManager.sendFollowerNotification(Member mbr,
Publication pub,
java.util.Map context) |
boolean |
BasicPublicationFollowerPolicyFilter.sendFollowerNotification(Member mbr,
Publication pub,
java.util.Map context)
Returns true if the notification for the given publication must be sent to the given member
|
boolean |
PublicationFollowerPolicyFilter.sendFollowerNotification(Publication pub,
java.util.Map context)
Returns true if the notification must be sent to the follower of the given publication
|
boolean |
PolicyManager.sendFollowerNotification(Publication pub,
java.util.Map context) |
boolean |
BasicPublicationFollowerPolicyFilter.sendFollowerNotification(Publication pub,
java.util.Map context)
Returns true if the notification must be sent to the follower of the given publication
|
Modifier and Type | Method and Description |
---|---|
boolean |
PolicyManager.canDeleteOther(boolean isAuthorized,
Member mbr,
java.lang.Class<? extends Publication> clazz,
Workspace ws) |
boolean |
PolicyManager.canPublish(boolean isAuthorized,
Member mbr,
java.lang.Class<? extends Publication> clazz,
java.util.Set<? extends Workspace> wsSet) |
boolean |
PolicyManager.canUpdateOther(boolean isAuthorized,
Member mbr,
java.lang.Class<? extends Publication> clazz,
Workspace ws) |
Modifier and Type | Class and Description |
---|---|
static class |
PortletSkinable.ContentTitleComparator<T extends Publication>
Sort the Publication according to their title, but using the display
title for Portlet if available.
|
Modifier and Type | Class and Description |
---|---|
class |
Portal
An abstract Portal representation with fields to implements
- String -> CSSFile
- String -> Header
- String -> Footer
- Publication -> Child
|
class |
PortalElement |
class |
PortalRedirect
An abstract Portal representation with fields to implements.
|
class |
Portlet
An abstract Portlet représentation with fields to implements
|
class |
PortletCollection
An abstract PortletCollection représentation with fields to implements
- PortalElement[] -> Children
|
class |
PortletParent
An abstract PortletParent représentation with fields to implements
- Publication -> Children
|
class |
PortletSkinable
An abstract Portlet représentation with fields to implements - String ->
DisplayTitle (ML) - String -> SkinTemplate - String -> SkinCSS
|
Modifier and Type | Field and Description |
---|---|
protected Publication |
DisplayContext.publication |
Modifier and Type | Method and Description |
---|---|
static <T extends Publication> |
PortletSkinable.getContentTitleComparator(java.lang.String userLang)
Retrieve a new instance of ContentTitleComparator sorting publication according to
their title.
|
Modifier and Type | Method and Description |
---|---|
Publication |
DisplayContext.getPublication() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
PortalManager.checkPortal(Publication pub,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact)
Check the validity of the given Publication to be a convenient Portal.
|
protected static boolean |
PortalManager.checkPortal(Publication pub,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean preview)
Check the validity of the given Publication to be a convenient Portal.
|
static boolean |
PortalManager.findPortal(Publication pub,
DisplayContext context,
Member loggedMember,
boolean skipRedirect,
boolean skipExact,
boolean preview,
Category[] ctxCategories)
Fill a display context with all the elements usefull for navigation,
using the given steps:
1- Iterate on publication categories starting with sibling of contextual categories 2- Recursive call with parents until finding a Portal 3- Then set the portalCategory and the currentCategory |
void |
EditPortalElementHandler.setFields(Publication data) |
void |
DisplayContext.setPublication(Publication publication) |
Modifier and Type | Method and Description |
---|---|
static TypeTemplateEntry |
PortletSkinable.getSkinTemplateEntry(java.lang.String usage,
boolean devModeChecks,
java.lang.Class<? extends Publication> clazz,
Workspace ws)
Returns the TypeTemplateEntry matching the given parameters.
|
Modifier and Type | Field and Description |
---|---|
protected Publication |
PublicationFollower.pub |
Modifier and Type | Method and Description |
---|---|
Publication |
PublicationFollower.getPublication() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Publication> |
PublicationFollowerManager.getFollowedPublicationList(Member mbr)
Returns publications followed by the given member.
|
Modifier and Type | Method and Description |
---|---|
void |
PublicationFollowerManager.addFollower(Publication pub,
Member mbr)
Adds the given member as follower of the given publication.
|
boolean |
PublicationFollowerManager.canFollow(Member mbr,
Publication pub)
Returns true if the given member can follow the given publication.
|
java.util.List<Member> |
PublicationFollowerManager.getFollowerList(Publication pub,
boolean searchParents)
Returns all the followers of the given publication.
|
int |
PublicationFollowerManager.getPublicationFollowerCount(Publication pub,
boolean searchParents)
Returns the PublicationFollower count attached to the given publication.
|
java.util.List<PublicationFollower> |
PublicationFollowerManager.getPublicationFollowerList(Publication pub,
boolean searchParents)
Returns the PublicationFollower list attached to the given publication.
|
boolean |
PublicationFollowerManager.isFollowed(Publication pub,
Member mbr)
Returns true if the given publication is followed by the given member.
|
void |
PublicationFollowerManager.notifyFollowers(Publication pub,
Member opAuthor,
java.util.Map context)
Notify all the follower of the given publication.
|
void |
PublicationFollowerManager.notifyFollowers(Publication pub,
Member opAuthor,
java.util.Map context,
boolean searchParents)
Notify all the follower of the given publication.
|
void |
PublicationFollowerManager.notifyFollowers(Publication pub,
Member opAuthor,
java.util.Map context,
Publication parent)
Notify all the follower of the given publication.
|
void |
PublicationFollowerManager.removeAllFollowers(Publication pub)
Removes all the followers for the given publication.
|
void |
PublicationFollowerManager.removeFollower(Publication pub,
Member mbr)
Removes the given members from the followers of the given publication.
|
void |
PublicationFollower.setPublication(Publication v) |
Modifier and Type | Method and Description |
---|---|
static java.util.SortedSet<Publication> |
SuggestionManager.getPublicationsLikeThis(java.lang.String text,
java.lang.String lang)
Retrieve Publication similar to the specified text.
|
Modifier and Type | Method and Description |
---|---|
void |
PublicationSearchEngine.add(Publication pub)
Method to implement to index
Publication into the search engine. |
void |
LucenePublicationSearchEngine.add(Publication pub)
Add given
Publication to this lucene search engine. |
void |
LucenePublicationSearchEngine.addKeywordField(org.apache.lucene.document.Document doc,
Publication pub,
java.lang.String lang,
java.lang.String fieldName,
java.lang.String fieldValue)
This methods create a unstored Lucene
Field with the given field's value
of the given Publication in the given language, and add into the given Document . |
void |
LucenePublicationSearchEngine.addRawField(org.apache.lucene.document.Document doc,
Publication pub,
java.lang.String lang,
java.lang.String fieldName,
java.lang.String fieldValue)
This methods create a unstored and untokenized Lucene
Field with the given field's value
of the given Publication in the given language, and add into the given Document . |
void |
LucenePublicationSearchEngine.addStoredField(org.apache.lucene.document.Document doc,
Publication pub,
java.lang.String lang,
java.lang.String fieldName,
java.lang.String fieldValue)
This methods create a stored Lucene
Field with the given field's value
of the given Publication in the given language, and add into the given Document . |
void |
LucenePublicationSearchEngine.addUnStoredField(org.apache.lucene.document.Document doc,
Publication pub,
java.lang.String lang,
java.lang.String fieldName,
java.lang.String fieldValue)
This methods create a unstored Lucene
Field with the given field's value
of the given Publication in the given language, and add into the given Document . |
void |
PublicationSearchEngine.delete(Publication pub)
Method to implement to delete
Publication from the search engine. |
void |
LucenePublicationSearchEngine.delete(Publication pub)
Delete given
Publication from this lucene search engine. |
java.util.Date |
PublicationSearchEngine.getIndexingDate(Publication pub)
Method to implement to retrieve the Date at which the specified Publication was indexed in the search engine.
|
java.util.Date |
LucenePublicationSearchEngine.getIndexingDate(Publication pub)
Retrieve the Date at which the specified Publication was indexed in the search engine.
|
void |
PublicationSearchEngine.update(Publication pub)
Method to implement to update
Publication in the search engine. |
void |
LucenePublicationSearchEngine.update(Publication pub)
Update given
Publication in this lucene search engine. |
Modifier and Type | Method and Description |
---|---|
void |
PublicationSearchEngine.add(java.util.Collection<? extends Publication> coll)
Method to implement to index a
Collection of Publication into the search engine. |
void |
LucenePublicationSearchEngine.add(java.util.Collection<? extends Publication> coll)
Add given
Collection of Publication to this lucene search engine. |
void |
PublicationSearchEngine.delete(java.util.Collection<? extends Publication> coll)
Method to implement to delete a
Collection of Publication from the search engine. |
void |
LucenePublicationSearchEngine.delete(java.util.Collection<? extends Publication> coll)
Delete given
Collection of Publication from this lucene search engine. |
boolean |
LuceneFileSearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
java.util.LinkedHashMap<java.lang.String,java.lang.Float> resultMap)
Perform a full-text search on indexed files
|
boolean |
PublicationSearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
QueryResultSet resultSet)
Perform a full-text search.
|
boolean |
LucenePublicationSearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
QueryResultSet resultSet)
Search
Publication using lucene search engine. |
boolean |
LuceneCategorySearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
QueryResultSet resultSet) |
boolean |
CategorySearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
QueryResultSet resultSet)
Perform a full-text search.
|
boolean |
LuceneFileSearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
QueryResultSet resultSet,
boolean searchInDB)
Perform a full-text search on indexed files
|
boolean |
FileSearchEngine.search(QueryHandler qh,
java.util.HashSet<? extends Publication> pubSet,
QueryResultSet resultSet,
boolean searchInDB)
Perform a full-text search on indexed files
|
void |
PublicationSearchEngine.update(java.util.Collection<? extends Publication> coll)
Method to implement to update
Collection of Publication in the search engine. |
void |
LucenePublicationSearchEngine.update(java.util.Collection<? extends Publication> coll)
Update given
Collection of Publication in this lucene search engine. |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
FriendlyURLFilter.generateFriendlyURL(Publication pub,
java.lang.String lang)
Build and return a friendly url that can be added later to the friendly urls
Servlet Filter.
|
Modifier and Type | Field and Description |
---|---|
protected Publication |
WidgetTag.pub |
protected Publication |
VoteTag.pub |
protected Publication |
IncludeTag.pub |
Modifier and Type | Method and Description |
---|---|
Publication |
VoteTag.getPub() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ArchiveTag.getArchiveIcon(Publication pub,
java.lang.String contextPath,
java.lang.String userLang,
java.lang.String redirect,
java.lang.String title,
java.lang.String workspaceFilter) |
protected boolean |
IncludeTag.notRecusiveInclude(Publication pub)
Check if the current publication or the current portal element
is a children of the given publication to include (Usin TreeNode Hierarchy)
|
void |
VoteTag.setPub(Publication pub) |
void |
PubIconTag.setPub(Publication publication) |
void |
IncludeTag.setPub(Publication pub) |
void |
ImportIconTag.setPub(Publication pub) |
void |
EditTag.setPub(Publication pub) |
void |
CaddyTag.setPub(Publication pub) |
void |
ArchiveTag.setPub(Publication pub) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTestType |
Modifier and Type | Method and Description |
---|---|
protected void |
JcmsTestCase.assertCanBeReadBy(Publication pub,
Group grp) |
protected void |
JcmsTestCase.assertCanBeReadBy(Publication pub,
Member mbr) |
protected void |
JcmsTestCase.assertCanBeReadBy(Publication pub,
Member mbr,
boolean searchInGroup) |
protected void |
JcmsTestCase.assertCannotBeReadBy(Publication pub,
Group grp,
RightInfo.Explanation restriction) |
protected void |
JcmsTestCase.assertCannotBeReadBy(Publication pub,
Member mbr,
boolean searchInGroup,
RightInfo.Explanation explanation) |
protected void |
JcmsTestCase.assertCannotBeReadBy(Publication pub,
Member mbr,
RightInfo.Explanation explanation) |
protected void |
JcmsTestCase.assertCannotWorkOn(Member mbr,
Publication pub,
RightInfo.Explanation explanation) |
protected void |
JcmsTestCase.assertCanWorkOn(Member mbr,
Publication pub) |
protected void |
JcmsTestCase.waitForLuceneIndexation(Publication... pubs)
Wait for the specified publication(s) to be indexed in all
the lucene publication index in its current version
as returned by
getVersionString() . |
Modifier and Type | Field and Description |
---|---|
protected Publication |
ReaderTracker.publication |
Modifier and Type | Method and Description |
---|---|
Publication |
ReaderTracker.getPublication()
Get the value of publication.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ReaderTrackerManager.canAccessReaderTracker(Publication pub,
Member mbr) |
boolean |
ReaderTrackerManager.canDeleteReaderTracker(Publication pub,
Member mbr) |
int |
ReaderTrackerManager.getAccessCount(Publication pub)
Returns the sum of access count for the given publication.
|
int |
ReaderTrackerManager.getAnonymousReaderAccessCount(Publication pub) |
int |
ReaderTrackerManager.getAnonymousReaderDownloadCount(Publication pub) |
int |
ReaderTrackerManager.getAuthentifiedReaderAccessCount(Publication pub) |
int |
ReaderTrackerManager.getAuthentifiedReaderDownloadCount(Publication pub) |
int |
ReaderTrackerManager.getAuthentifiedReaderUniqueAccessCount(Publication pub) |
int |
ReaderTrackerManager.getAuthentifiedReaderUniqueDownloadCount(Publication pub) |
int |
ReaderTrackerManager.getDownloadCount(Publication pub)
Returns the download count for the given publication for authentified users.
|
java.util.List<ReaderTrackerEntry> |
ReaderTrackerManager.getMergedReaderTrackerList(Publication pub,
ReaderTrackerEntry.Sort Sort,
boolean isReverse) |
int |
ReaderTrackerManager.getReaderAccessCount(Publication pub) |
int |
ReaderTrackerManager.getReaderCount(Publication pub)
Returns the reader count for the given publication.
|
ReaderTracker |
ReaderTrackerManager.getReaderTracker(Publication pub,
Member mbr)
Returns the ReaderTracker for the given Publication and the given Member.
|
ReaderTracker |
ReaderTrackerManager.getReaderTracker(Publication pub,
Member mbr,
int accessType)
Returns the ReaderTracker for the given Publication and the given Member.
|
java.util.List |
ReaderTrackerManager.getReaderTrackerList(Publication pub)
Returns the reader list for the given publication.
|
java.util.List |
ReaderTrackerManager.getReaderTrackerList(Publication pub,
int accessType) |
java.util.List |
ReaderTrackerManager.getReaderTrackerList(Publication pub,
java.lang.String orderBy,
boolean reverse,
int accessType) |
void |
ReaderTrackerManager.invalidateCacheEntry(Publication pub)
Invalidate the cache entries for the given publication
|
boolean |
ReaderTrackerManager.isReader(Publication pub,
Member mbr)
Returns true if the given publication has been read by the given member.
|
boolean |
ReaderTrackerManager.isTracked(Publication pub) |
void |
ReaderTrackerManager.removeAllReaderTracker(Publication pub)
Removes all the ReaderTracker bound to the given publication.
|
void |
ReaderTracker.setPublication(Publication v)
Set the value of publication.
|
void |
ReaderTrackerManager.track(Publication pub,
Member mbr)
Tracks the given member for the given publication.
|
void |
ReaderTrackerManager.track(Publication pub,
Member mbr,
int accessType)
Tracks the given member for the given publication and for given access Type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Publication> |
DocUploadHandler.getPublicationClass() |
Modifier and Type | Field and Description |
---|---|
protected Publication |
Vote.publication |
Modifier and Type | Method and Description |
---|---|
Publication |
VoteManager.cancelVote(Publication pub,
Member mbr)
Cancel the vote bound on a Publication and a Member
|
Publication |
Vote.getPublication() |
Modifier and Type | Method and Description |
---|---|
Publication |
VoteManager.cancelVote(Publication pub,
Member mbr)
Cancel the vote bound on a Publication and a Member
|
boolean |
VoteManager.canVote(Publication pub,
Member mbr)
Return true if given Member can Vote on given Publication
|
Vote |
VoteManager.createVote(Publication pub,
Member mbr,
java.util.Map context,
int rating)
Creates a vote and returns it
|
java.util.List<Vote> |
VoteManager.getPositiveVoteList(Publication pub)
Return the positive vote List for given Publication
|
java.util.Set<Member> |
VoteManager.getPublicationVoteAllMemberSet(Publication pub)
Returns the Set of all Members who have voted on given Publication
|
java.util.Set<Member> |
VoteManager.getPublicationVoteMemberSet(Publication pub,
boolean positive)
Return the Set
|
Vote |
VoteManager.getVote(Publication pub,
Member mbr)
Return a Vote bound on given Publication and given Member
|
int |
VoteManager.getVoteCount(Publication pub)
Returns the count of vote on the given publication
|
int[] |
VoteManager.getVoteCountFromVoteTable(Publication pub) |
java.util.List<Vote> |
VoteManager.getVoteList(Publication pub)
Return the vote List for given Publication
|
int |
VoteManager.getVoteScore(Publication pub)
Return the voteScore of given Publication and update the voteCountMap if not in map
|
boolean |
VoteManager.hasVote(Publication pub)
Returns true if the given publication has been voted.
|
boolean |
VoteManager.hasVoted(Publication pub,
Member mbr)
Returns true if given Member has already voted for given Publication
|
boolean |
VoteManager.isVotable(Publication pub) |
java.lang.Object[] |
VoteManager.performVote(Publication pub,
Member mbr,
boolean positiveVote) |
void |
VoteManager.recomputePublicationVote(Publication pub)
Recompute the Publication voteCount & voteScore by querying all its votes
|
void |
Vote.setPublication(Publication v) |
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<java.lang.Class<?>,java.util.Set<Publication>> |
Workspace.classPubSetMap |
protected java.util.Map<Publication,Publication> |
WizardContext.pubMap |
protected java.util.Map<Publication,Publication> |
WizardContext.pubMap |
protected java.util.TreeSet<Publication> |
Workspace.pubSet |
protected java.lang.Class<? extends Publication> |
WSTypeEntry.type |
Modifier and Type | Method and Description |
---|---|
<T extends Publication> |
Workspace.getPublicationSet(java.lang.Class<?> clazz)
Return all publication for a given Clazz
|
<T extends Publication> |
Workspace.getPublicationSet(java.lang.Class<?> clazz,
boolean specialState)
Return all the publication in/not a special state for the given class
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Publication> |
PortletWorkflowTreeHelper.getAllResultSet() |
java.util.HashMap<java.lang.Class<?>,java.util.Set<Publication>> |
Workspace.getClassPubSetMap() |
java.util.Map<Publication,Publication> |
WizardContext.getPublicationMap()
Returns a map of old/new duplicated objects
|
java.util.Map<Publication,Publication> |
WizardContext.getPublicationMap()
Returns a map of old/new duplicated objects
|
java.util.Set<Publication> |
Workspace.getPublicationSet(Workflow workflow)
Return all publication for a given Workflow
|
java.util.Set<Publication> |
Workspace.getPublicationSet(Workflow workflow,
boolean specialState)
Return all the publication in/not a special state for the given Workflow
|
java.util.TreeSet<Publication> |
Workspace.getPubSet() |
java.lang.Class<? extends Publication> |
WSTypeEntry.getType()
Returns the type this WSTypeEntry controls.
|
Modifier and Type | Method and Description |
---|---|
int |
WKRole.getExpectedWeight(Group group,
Publication pub)
Gives the minimum of expected member for this group.
|
int |
WKRole.getExpectedWeight(int groupIndex,
Publication pub)
Gives the minimum of expected member of the group corresponding to this index in the groupList of the given publication.
|
java.util.Set<Member> |
WKRole.getWorkerSet(Publication pub,
boolean searchInGroups)
Deprecated.
Use new signature with publication class as third parameter to manage correctly creation process (pub == null)
|
java.util.Set<Member> |
WKRole.getWorkerSet(Publication pub,
boolean searchInGroups,
java.lang.Class<?> pubClass)
Returns a Set of Member that can work on the role.
|
boolean |
WKRole.isExplicitInvolved(Publication pub,
Member member,
boolean searchInGroups)
Check if the member is explicitely involved in the role or belongs to a groups involved
in this Role.
|
boolean |
WKRole.isInvolved(Publication pub,
Member member,
boolean searchInGroups)
Check if the member is involved in the role or belongs to a groups involved
in this Role
|
boolean |
WKRole.isInvolved(Publication pub,
Member member,
boolean searchInGroups,
boolean ignoreAuthorInvolvementAtCreation)
Check if the member is involved in the role or belongs to a groups involved
in this Role
|
void |
Workspace.updatePubSet(Publication pub,
boolean add)
Update pubSet index
|
Modifier and Type | Method and Description |
---|---|
protected Category |
Workspace.getHomeUrlVisitor(java.util.Collection<Category> collect,
java.util.Set<Publication> portalSet)
Internal methods to check home url
|
Constructor and Description |
---|
WSTypeEntry(java.lang.Class<? extends Publication> clazz,
Workspace workspace) |
Copyright © 2001-2010 Jalios SA. All Rights Reserved.