Modifier and Type | Field and Description |
---|---|
protected Workspace |
Channel.defaultWorkspace |
protected Workspace |
Publication.workspace |
protected Workspace |
Publication.WorkspaceAuthorSelector.workspace |
protected Workspace |
Group.workspace |
protected Workspace |
Group.WorkspaceSelector.ws |
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<Workspace> |
Publication.attachWorkspaceSet |
protected java.util.Set<Workspace> |
QueryManager.QueryPublicationSelector.workspaceSet
See JCMS-3331.
|
protected java.util.Map<java.lang.String,Workspace> |
JcmsCleanFilter.wsMap |
protected java.util.Set<Workspace> |
JcmsCleanFilter.wsSet |
Modifier and Type | Method and Description |
---|---|
Workspace |
Channel.getDefaultWorkspace()
Returns the default workspace.
|
Workspace |
Member.getFavoriteWorkspace(Workspace currentWS,
java.lang.Class<?> clazz)
Return the favorite Member Workspace where it can work on
|
Workspace |
QuotaManager.WorkspaceNode.getWorkspace() |
Workspace |
QuotaElement.getWorkspace() |
Workspace |
Publication.getWorkspace() |
Workspace |
Group.getWorkspace()
Retrieves the Workspace defined for this group.
|
Workspace |
Channel.getWorkspace(java.lang.String id)
Return a Workspace from its id
|
static Workspace |
HttpUtil.getWorkspaceParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String parameterName)
Retrieve a Workspace from its id received in parameter.
|
Modifier and Type | Method and Description |
---|---|
java.util.SortedSet<Workspace> |
Member.getAdministratedWorkspaceSet()
This convenient method returns all the workspace this member is
the administrator of.
|
java.util.Set<Workspace> |
Publication.getAttachWorkspaceSet()
Returns the attachWorkspaceSet
|
java.util.Map<Workspace,java.lang.Boolean> |
MemberIndexManager.getCanPublishContentMap(Member mbr)
Returns the publish rights map associated to the given member.
|
java.util.Map<Workspace,java.lang.Boolean> |
MemberIndexManager.getCanUpdateDeleteContentMap(Member mbr)
Returns the updateDelete map associated to the given member.
|
java.util.Map<Workspace,QuotaElement> |
QuotaManager.getElements()
returns the
Map with all QuotaElement per workspace, the value with the null key is for the whole site. |
java.util.Map<Workspace,QuotaElement> |
QuotaManager.getElements(Workspace workspace)
returns the
Map with all QuotaElement per workspace, the value with the null key is for the whole site. |
java.util.Set<Workspace> |
Member.getWorkspaceSet() |
java.util.Set<Workspace> |
MemberIndexManager.getWorkspaceSet(Member mbr)
Returns the workspace set associated to the given member.
|
java.util.Set<Workspace> |
RightPolicyManager.getWorkspaceSet(java.util.Set<Workspace> workspaceSet,
Member mbr) |
java.util.Set<Workspace> |
Channel.getWorkspaceSet(Workflow wf)
Return a Set of Workspace that use the given Workflow
|
Modifier and Type | Method and Description |
---|---|
boolean |
MemberIndexManager.addWorkspace(Member mbr,
Workspace workspace)
Adds the given workspace to the workspace set of the given member.
|
ControllerStatus |
Publication.attachTo(Workspace attachWorkspace,
java.util.Set<Category> catSet,
Member mbr)
Attaches this publication to the given workspace with the given categories.
|
boolean |
Member.belongsToWorkspace(Workspace ws)
This convenient method returns true if this member belongs to the
given workspace.
|
boolean |
Publication.canBeAttachedTo(Workspace attachWorkspace,
Member mbr)
Returns true if the given member can attach this publication to the given workspace.
|
boolean |
Publication.canBeDetachedFrom(Workspace attachWorkspace,
Member mbr)
Returns true if the given member can detach this publication from the given workspace.
|
boolean |
RightPolicyManager.canCreateWorkspace(boolean isAuthorized,
Member mbr,
Workspace model) |
boolean |
Member.canCreateWorkspace(Workspace model)
Check if the member can duplicate the model to create a workspace
|
boolean |
RightPolicyManager.canDeleteOther(boolean isAuthorized,
Member mbr,
java.lang.Class<? extends Publication> clazz,
Workspace ws) |
boolean |
Member.canDeleteOther(java.lang.Class<?> clazz,
Workspace ws) |
boolean |
Member.canEditCategories(Workspace ws)
Return true if this member can edit at least one
category of this workspace
|
boolean |
Member.canExportGroups(Workspace ws)
Check if this member is authorized to export (eg in CSV) the groups matching specified criteria.
|
boolean |
Member.canExportMembers(Workspace ws,
Group grp)
Check if this member is authorized to export (eg in CSV) the members matching specified criteria.
|
boolean |
Member.canPublish(java.lang.Class<?> clazz,
Workspace ws)
Check if this member can publish the specified class of publication in the specified workspace.
|
boolean |
Member.canPublishContent(Workspace ws)
Checks if if this member can publish something else than UGC.
|
boolean |
Member.canPublishSome(java.lang.Class<?> clazz,
Workspace ws)
Check if this member can publish on this class or one of it's subclass in the given workspace.
|
boolean |
Member.canSendMail(Workspace workspace)
Checks if Member can send Email to the given Workspace.
|
boolean |
Member.canUpdateDeleteContent(Workspace ws)
Check if member can perform Update or Delete
for the gicen Workspace
|
protected boolean |
Member.canUpdateDeleteOtherCommon(java.lang.Class clazz,
Workspace ws,
boolean checkUpdate) |
boolean |
RightPolicyManager.canUpdateOther(boolean isAuthorized,
Member mbr,
java.lang.Class<? extends Publication> clazz,
Workspace ws) |
boolean |
Member.canUpdateOther(java.lang.Class<?> clazz,
Workspace ws) |
void |
QuotaManager.checkQuotas(Workspace workspace)
Check workspace quota and send notifications if needed, this method is called after the end of an analyzeThread.
|
ControllerStatus |
Publication.detachFrom(Workspace attachWorkspace,
Member mbr)
Detaches this publication for the given attachWorkspace.
|
FileAnalyzerThread |
QuotaManager.executeFileAnalyzerThread(Workspace workspace) |
static DataSelector |
Member.getBelongsToWorkspaceSelector(Workspace ws)
DataSelector which select a
Member which belongs to a workspace (directly) |
java.util.Set<Category> |
Member.getCategoryRootSet(Workspace ws)
Returns the set of category roots the member can manage in a
given workspace.
|
QuotaElement |
QuotaManager.getElement(Workspace wk)
create a
QuotaElement for a Workspace . |
java.util.Map<Workspace,QuotaElement> |
QuotaManager.getElements(Workspace workspace)
returns the
Map with all QuotaElement per workspace, the value with the null key is for the whole site. |
Workspace |
Member.getFavoriteWorkspace(Workspace currentWS,
java.lang.Class<?> clazz)
Return the favorite Member Workspace where it can work on
|
static java.lang.Class<? extends FileDocument> |
FileDocument.getFirstDocumentClassAuthorized(Member member,
Workspace workspace)
Retrieve the first document class authorized for publication by the specified member.
|
static java.lang.Class<? extends FileDocument> |
FileDocument.getFirstDocumentClassAuthorized(Member member,
Workspace workspace,
java.lang.String contentType)
Retrieve the first document class authorized for publication by the specified member and workspace, and the most
relevant regarding specified contentType.
|
java.util.Set<Group> |
Member.getGroupSet(Workspace ws)
Returns the groups of the given workspace the member belongs to.
|
java.lang.String |
Member.getHtmlIcon(Workspace ws,
java.lang.String userLang)
Return the img tag for the icon
|
java.lang.String |
Member.getIcon(Workspace ws) |
protected java.lang.String[] |
Member.getIconParameter(Workspace ws,
java.lang.String userLang)
Return a String[2]: Title / Alt for the given parameters
|
static FileDocument |
FileDocument.getInstance(java.lang.Class<? extends FileDocument> clazz,
java.lang.String filename,
java.lang.String title,
java.lang.String description,
Category[] categories,
Member author,
Workspace ws)
Constructs a FileDocument from an existing file for the given class.
|
static FileDocument |
FileDocument.getInstance(java.lang.String filename,
Member author,
Workspace ws)
Constructs a FileDocument from an existing file.
|
static FileDocument |
DBFileDocument.getInstance(java.lang.String filename,
Member author,
Workspace ws)
Constructs a FileDocument from an existing file.
|
static FileDocument |
FileDocument.getInstance(java.lang.String filename,
java.lang.String title,
java.lang.String description,
Category[] categories,
Member author,
Workspace ws)
Constructs a FileDocument from an existing file.
|
static FileDocument |
DBFileDocument.getInstance(java.lang.String filename,
java.lang.String title,
java.lang.String description,
Category[] categories,
Member author,
Workspace ws)
Constructs a FileDocument from an existing file.
|
java.lang.Boolean |
MemberIndexManager.getIsWorker(Member mbr,
Workspace workspace)
Returns the isWorker status for the specified member.
|
static java.util.Set<FileDocument> |
FileDocument.getLockedDocumentSet(Workspace ws,
Member mbr)
Returns the set of FileDocument which have a strong lock.
|
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
|
PublicationDetailsManager.PublicationDetailsResult |
PublicationDetailsManager.getPublicationDetails(java.lang.Class clazz,
Member mbr,
Workspace ws)
Returns some statistics about a given publication type.
|
PublicationDetailsManager.PublicationDetailsResult |
PublicationDetailsManager.getPublicationDetails(java.lang.Class clazz,
Member mbr,
Workspace ws,
boolean aggregateSubType)
Returns some statistics about a given publication type.
|
<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) |
DataRight |
Member.getRight(java.lang.Class<?> clazz,
boolean searchInGroups,
Workspace ws)
Search for a Right object bound to clazz or one class.
|
static java.util.Set<Group> |
Group.getRootGroupSet(Workspace ws)
Returns the groups without parent in the given workspace.
|
java.lang.String |
Channel.getSenderFullEmail(Workspace ws,
Publication pub,
java.lang.String lang)
Deprecated.
since JCMS-9, with the removal of Workspace.getEmail(), this method now ALWAYS returns either the channel default email or the default admin email, use
Channel.getSenderFullEmail() |
java.lang.String |
Channel.getSenderFullEmail(Workspace ws,
java.lang.String lang)
Deprecated.
since JCMS-9, with the removal of Workspace.getEmail(), this method now ALWAYS returns either the channel default email or the default admin email, use
Channel.getSenderFullEmail() |
static java.util.TreeSet |
JcmsUtil.getSortedClass(java.util.Collection subTypeList,
Workspace workspace,
java.lang.String userLang)
Return a Set of classes of Types sorted alphabetically according to the title.
|
Category |
Channel.getTagRoot(Workspace ws)
Returns the tag root for the given workspace if it exists ; otherwise return the common tag root.
|
static TypeTemplateEntry |
Publication.getTemplateEntry(java.lang.String usage,
boolean devModeChecks,
java.lang.Class<? extends Data> clazz,
Workspace ws)
Returns the TypeTemplateEntry matching the given parameters.
|
TypeTemplateEntry |
TemplatePolicyManager.getTemplateEntry(java.lang.String usage,
java.lang.Class<? extends Data> pubClass,
Workspace ws,
TypeTemplateEntry tte) |
java.lang.String |
Channel.getTypeDescription(java.lang.Class clazz,
Workspace workspace,
java.lang.String lang)
Returns the description of the given type for the given workspace in the given language.
|
java.lang.String |
Channel.getTypeLabel(java.lang.Class<?> clazz,
Workspace workspace,
java.lang.String lang)
Returns the label of the given type (class) in the given workspace in the given language.
|
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.
|
static Publication.WorkspaceAuthorSelector |
Publication.getWorkspaceAuthorSelector(Workspace workspace,
Member author) |
static Publication.WorkspaceSelector |
Publication.getWorkspaceSelector(Workspace workspace) |
java.util.Set<WFState> |
Workflow.getWorkStateSet(Group group,
Workspace workspace)
Returns all the state a group can work in, for given 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.
|
WSTypeEntry |
Channel.getWSTypeEntry(java.lang.Class clazz,
Workspace workspace)
This method is a substitute of old getTypeEntry(Class) or getTypeEntry(String).
|
WSTypeEntry |
Channel.getWSTypeEntry(java.lang.String className,
Workspace workspace)
This method is a substitute of old getTypeEntry(Class) or getTypeEntry(String).
|
WSTypeEntry |
Publication.getWSTypeEntry(Workspace wrkspc)
This method return a WSTypeEntry for the given workspace
in the current class.
|
boolean |
WFState.hasOpenRole(Workspace ws) |
void |
Publication.init(Member author,
Workspace ws)
This method initialise the object with default values for the given workspace:
Default categories
Default Authorized groups
Default Pstatus
Given Workspace
Given Author and opAuthor
|
protected boolean |
Member.internalCanCreateWorkspace(Workspace model) |
protected boolean |
Member.internalCanUpdateDeleteOtherCommon(java.lang.Class<?> clazz,
Workspace ws,
boolean checkUpdate) |
protected boolean |
Member.internalIsWorker(Workspace ws) |
boolean |
RightPolicyManager.isAdmin(boolean isAdmin,
Member member,
Workspace workspace) |
boolean |
Member.isAdmin(Workspace ws)
Returns true if this member is an administrator of the given workspace
|
boolean |
QuotaManager.isUploadAccepted(DocUploadInfo info,
Workspace wk)
indicates if document can be uploaded (regarding the global site quota and provided workspace if not null)
|
boolean |
QuotaManager.isUploadAccepted(long fileLength,
Workspace wk)
indicates if document can be uploaded (regarding the global site quota and provided workspace if not null)
|
boolean |
QuotaManager.isUploadEnabled(Workspace wk)
indicates if upload is enabled for all the site and provided workspace if not null
|
boolean |
RightPolicyManager.isWorker(boolean isWorker,
Member member,
Workspace ws) |
boolean |
Member.isWorker(Workspace ws)
Check if this member can work either on publications or on
categories (this is a convenient method wich performs a 'or' on the values returned by
canPublishContent(Workspace), canUpdateDeleteContent(Workspace) and canEditCategories()).
|
static void |
Group.printOptionGroup(Workspace ws,
Group selectedGrp,
javax.servlet.jsp.JspWriter out,
java.lang.String userLang,
Member mbr)
Print the <option> tags for a <select> tag.
|
static void |
Group.printOptionGroup(Workspace ws,
java.util.Set<Group> selectedSet,
javax.servlet.jsp.JspWriter out,
java.lang.String userLang,
Member mbr)
Print the <option> tags for a <select> tag.
|
static void |
Group.printTreeGroup(Workspace ws,
java.lang.String paramName,
javax.servlet.jsp.JspWriter out,
java.lang.String userLang,
JcmsJspContext context)
Print a navigation tree for group splitted by workspaces (except if a workspace is provided).
|
void |
MemberIndexManager.putCanPublishContent(Member mbr,
Workspace workspace,
boolean bool)
Adds the given entry to the publish rights map of the given member.
|
void |
MemberIndexManager.putCanUpdateDeleteContent(Member mbr,
Workspace workspace,
boolean bool)
Adds the given entry to the workspace set of the given member.
|
void |
MemberIndexManager.putIsWorker(Member mbr,
Workspace workspace,
boolean isWorker)
Add the member isWorker status.
|
void |
MemberIndexManager.removeCanPublishContent(Member mbr,
Workspace workspace)
Removes the given entry for the given member.
|
void |
MemberIndexManager.removeCanUpdateDeleteContent(Member mbr,
Workspace workspace)
Removes the given entry for the given member.
|
boolean |
MemberIndexManager.removeWorkspace(Member mbr,
Workspace workspace)
Removes the given workspace for the given member.
|
void |
QuotaManager.WorkspaceNode.setWorkspace(Workspace wk) |
void |
QuotaElement.setWorkspace(Workspace workspace) |
void |
Publication.setWorkspace(Workspace workspace) |
void |
Group.setWorkspace(Workspace workspace)
Sets the Workspace of this group.
|
void |
QuotaManager.updateQuota(Workspace wk)
Update workspace quota in separate threads
|
void |
Member.updateWorkspaceSet(Workspace ws,
boolean add)
Update workspaceSet index
|
Modifier and Type | Method and Description |
---|---|
boolean |
RightPolicyManager.canPublish(boolean isAuthorized,
Member mbr,
java.lang.Class<? extends Publication> clazz,
java.util.Set<? extends Workspace> wsSet) |
boolean |
Member.canPublish(java.lang.Class clazz,
java.util.Set<? extends Workspace> workspaceSet)
Check if this member can publish the specified class of publication in at least one of the workspaces specified.
|
java.lang.String[] |
MemberImportManager.filterGroupsToProposedWorkspaces(java.lang.String[] chosenGroupIds,
java.util.Set<Workspace> wsSet)
Utility method to control that all chosen groups belongs to given workspace Set.
|
java.util.Set<Workspace> |
RightPolicyManager.getWorkspaceSet(java.util.Set<Workspace> workspaceSet,
Member mbr) |
protected boolean |
Member.internalCanPublish(java.lang.Class<?> clazz,
java.util.Set<? extends Workspace> workspaceSet) |
void |
Publication.setAttachWorkspaceSet(java.util.Set<Workspace> attachWorkspaceSet)
Set the attachWorkspaceSet
|
void |
MemberIndexManager.setWorkspaceSet(Member mbr,
java.util.Set<Workspace> set)
Sets the workspace set associated to the given member.
|
Constructor and Description |
---|
BelongsToWorkspaceOrChildSelector(Workspace workspace) |
QuotaElement(Workspace workspace,
long quota,
long quotaMaxValue,
int alertThreshold) |
WorkspaceAuthorSelector(Workspace workspace,
Member author) |
WorkspaceNode(Workspace wk,
int level) |
WorkspaceSelector(Workspace workspace) |
Constructor and Description |
---|
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,
java.util.Set<java.lang.String> allContentTypeSet) |
WorkspaceNodeComparator(java.util.Map<Workspace,QuotaElement> elements,
QuotaManager.WorkspaceNodeComparator.WorkspaceNodeComparatorType sortCriteria,
boolean reverse) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.Object> |
AccessControlUtil.getContext(Workspace workspace,
java.lang.Object... keyValuePairs)
Retrieve a new context Map suitable for parameter in AccessControlManager access check.
|
protected static boolean |
AccessControlManager.internalCheckWorkspaceDataAccess(java.lang.String resource,
Group aclGroup,
Workspace ws,
Data data,
Member mbr)
This method is invoked when a Data ACL has been granted for a member,
in such case, we check the minimum requirement to validate the authorization or not.
|
Modifier and Type | Field and Description |
---|---|
protected Workspace |
AlertHandler.alertWorkspace |
protected Workspace |
SendAlertHandler.refineWorkspace |
protected Workspace |
Alert.workspace |
Modifier and Type | Method and Description |
---|---|
Workspace |
AlertHandler.getAvailableAlertWorkspace() |
Workspace |
SendAlertHandler.getAvailableRefineWorkspace() |
Workspace |
Alert.getWorkspace() |
Modifier and Type | Method and Description |
---|---|
AlertQueryBuilder |
AlertQueryBuilder.workspace(Workspace workspace)
Sets the workspace to filter on current
AlertQueryBuilder |
Modifier and Type | Method and Description |
---|---|
Workspace |
StatisticContext.getAnalyzedWorkspace() |
Workspace |
AbstractStatisticAgent.getWorkspace() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Workspace> |
StatisticContext.getAllAnalyzedWorkspaceSet() |
static java.util.Set<Workspace> |
AnalyticsManager.getCompatibleWorkspaceSet()
Get compatible workspaces for analyze (workspace model are ignored) (without any right check)
|
static java.util.Set<Workspace> |
AnalyticsManager.getCompatibleWorkspaceSet(Member loggedMember)
Get compatible workspaces for analyze (workspace model are ignored)
|
Modifier and Type | Method and Description |
---|---|
static java.util.Set<AbstractReportMetric> |
AbstractStatisticAgent.getMetricObjectSet(Workspace workspace,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String urid,
java.lang.Class<? extends AbstractReportMetric> clazz) |
protected static AbstractReportMetric |
AbstractAnalyzeJob.getReportMetric(Workspace analyzedWS,
StatisticContext context,
java.lang.Class<? extends AbstractReportMetric> clazz) |
protected static AbstractReportMetric |
AbstractAnalyzeJob.getReportMetric(Workspace analyzedWS,
StatisticContext context,
java.util.Date startDate,
java.util.Date endDate,
java.lang.Class<? extends AbstractReportMetric> clazz) |
boolean |
AbstractStatisticAgent.isReportDisplayed(Workspace displayedWS,
java.util.Date beginDate,
java.util.Date endDate)
Indicates if this agent have a display available for the provided parameters
|
void |
AnalyticsManager.runDayAgent(java.util.Date startDate,
java.util.Date endDate,
Workspace workspace,
java.lang.String urid,
boolean scheduled,
boolean globalAnalyze)
Run day agent in a specific period
|
void |
StatisticContext.setAnalyzedWorkspace(Workspace analyzedWorkspace) |
void |
AbstractStatisticAgent.setWorkspace(Workspace workspace) |
Modifier and Type | Method and Description |
---|---|
void |
AnalyticsManager.runDayAgent(java.util.Date startDate,
java.util.Date endDate,
java.util.Set<Workspace> workspaceSet,
java.lang.String urid,
java.util.Set<AbstractStatisticAgent> dayAgentList,
boolean scheduled,
boolean globalAnalyze)
Run day agent in the specified period
|
void |
AnalyticsManager.runPeriodAgent(java.util.Date startDate,
java.util.Date endDate,
AbstractPeriod period,
java.util.Set<Workspace> workspaceSet,
java.lang.String urid,
java.util.Set<AbstractStatisticAgent> agentList,
boolean scheduled,
boolean globalAnalyze)
Run agent with a custom period in a specified interval
|
void |
StatisticContext.setAllAnalyzedWorkspaceSet(java.util.Set<Workspace> allAnalyzedWorkspaceSet) |
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 | Field and Description |
---|---|
protected Workspace |
ArchiveBrowserHandler.newWS |
protected Workspace |
ArchivedPublication.workspace |
Modifier and Type | Method and Description |
---|---|
Workspace |
ArchiveQueryHandler.getRefinedWorkspace()
Retrieves the Workspace that archives must belong to in order to be found.
|
Workspace |
ArchivedPublication.getWorkspace() |
Modifier and Type | Method and Description |
---|---|
static int |
ArchiveManager.countArchive(Workspace ws)
Count the number of Archive in the specified workspace.
|
void |
ArchivedPublication.setWorkspace(Workspace workspace) |
Modifier and Type | Field and Description |
---|---|
protected Workspace |
GroupCaddyManagerHandler.commonWS |
protected Workspace |
PublicationCaddyManagerHandler.newWS |
protected Workspace |
GroupCaddyManagerHandler.newWS |
Modifier and Type | Method and Description |
---|---|
Workspace |
PublicationCaddyManagerHandler.getAvailableNewWS() |
Workspace |
GroupCaddyManagerHandler.getAvailableWorkspace() |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Workspace> |
Caddy.getWorkspaceList()
Create and returns a new list containing all
Workspace contained in the caddy. |
Modifier and Type | Method and Description |
---|---|
static boolean |
Caddy.checkCaddyAccess(java.lang.Class<? extends Data> clazz,
Member loggedMember,
Workspace workspace)
Check if a member is authorized to display
the caddy corresponding to the specified clazz.
|
Modifier and Type | Field and Description |
---|---|
protected Workspace |
JcmsContext.workspace |
protected Workspace |
AbstractJcmsAjaxContext.workspace |
Modifier and Type | Method and Description |
---|---|
Workspace |
GroupListContext.getGrpWorkspace() |
Workspace |
JcmsContext.getWorkspace()
Retrieve the current Workspace variable for this context either from
request if inFO or from session if in back office.
|
Workspace |
AbstractJcmsAjaxContext.getWorkspace()
Retrieve the workspace, either the workspace available at the time of
the initial request or the one overrided by
AbstractJcmsAjaxContext.setWorkspace(Workspace) |
Modifier and Type | Method and Description |
---|---|
GroupListContext.Builder |
GroupListContext.Builder.grpWorkspace(Workspace grpWorkspace) |
boolean |
JcmsJspContext.isEditIcon(Workspace ws,
Publication pub) |
boolean |
JcmsJspContext.isEditIconForPublish(Workspace ws,
java.lang.Class clazz) |
boolean |
JcmsJspContext.isEditIconForPublish(Workspace ws,
java.util.Set<java.lang.Class<?>> classSet) |
void |
AbstractJcmsAjaxContext.setWorkspace(Workspace workspace)
Sets the workspace.
If this method is called before AbstractJcmsAjaxContext.setJcmsContext(JcmsJspContext) , its
value won't be overiden by values retrieved from the JcmsJspContext. |
boolean |
JcmsJspContext.showEditIcon(Workspace ws,
Data pub) |
boolean |
JcmsJspContext.showEditIcon(Workspace ws,
Data pub,
java.lang.Class clazz) |
Modifier and Type | Method and Description |
---|---|
Workspace |
DBDataRevision.getWorkspace() |
Modifier and Type | Method and Description |
---|---|
PublicationCriteria |
PublicationCriteria.setWorkspace(Workspace workspace)
Use instead
PublicationCriteria.setWorkspaceIdSet(Collection) . |
void |
DBDataRevision.setWorkspace(Workspace workspace) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Workspace> |
DBMember.getWorkspaceSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
DBMember.canCreateWorkspace(Workspace model) |
boolean |
DBMember.canPublishContent(Workspace ws) |
static org.hibernate.criterion.Criterion |
DBMemberQueryUtil.getWorkspaceCriterion(Workspace ws)
Retrieve an Hibernate Criterion to retrieve DBMember in
at least one of the specified groups.
|
void |
DBMember.updateWorkspaceSet(Workspace ws,
boolean add) |
Modifier and Type | Field and Description |
---|---|
protected Workspace |
AttachWorkspaceHandler.attachWorkspace |
protected Workspace |
EditGroupHandler.groupWorkspace |
protected Workspace |
EditNotificationCriteriaHandler.refineWS |
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<Workspace> |
EditPublicationHandler.attachWorkspaceSet |
Modifier and Type | Method and Description |
---|---|
Workspace |
AttachWorkspaceHandler.getAvailableAttachWorkspace() |
Workspace |
EditGroupHandler.getAvailableGroupWorkspace() |
Workspace |
EditNotificationCriteriaHandler.getAvailableRefineWS() |
protected Workspace |
EditTypeExtensionHandler.getAvailableWorkspace()
Returns the current workspace.
|
Workspace |
EditPublicationHandler.getAvailableWorkspace() |
Workspace |
QueryHandler.getRefinedWorkspace()
Get the Workspace for this request.
|
Workspace |
MemberQueryHandler.getRefinedWorkspace()
Retrieves the Workspace that members must belong to in order to be found.
|
Workspace |
GroupQueryHandler.getRefinedWorkspace()
Retrieves the Workspace being used to filter groups in this Query.
|
Workspace |
DBMemberQueryHandler.getRefinedWorkspace()
Retrieves the Workspace that members must belong to in order to be found.
|
Workspace |
AllMemberQueryHandler.getRefinedWorkspace()
Retrieves the Workspace that members must belong to in order to be found.
|
Workspace |
WorkReportHandler.getSelectedWorkspace() |
Workspace |
TypeEditorHandler.getTypeFormWorkspace() |
Workspace |
JcmsFormHandler.getWorkspace() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Workspace> |
EditPublicationHandler.getAvailableAttachWorkspaceSet() |
java.util.Set<Workspace> |
StoreCleanerHandler.getAvailableWorkspaceSet() |
java.util.Set<Workspace> |
MembersCsvImportHandler.getCollaborativeSpaceSet()
Retrieve all the Collaborative workspaces as a Set, with the following conditions :
workspace's isCollaborativeSpace() method return true;
workspace is open
workspace is not a model
member belongs to workspace, or collaborative space has public access.
|
java.util.Set<Workspace> |
AttachWorkspaceHandler.getProposedWorkspaceSet() |
java.util.Set<Workspace> |
QueryHandler.getResolvedWorkspaceSet()
Retrieve the Set of Workspace on which the query is refined.
|
java.util.Set<Workspace> |
WorkspaceQueryHandler.getResultSet()
Deprecated.
Return results of a query done using this
WorkspaceQueryHandler . |
java.util.Set<Workspace> |
WorkspaceQueryHandler.getResultSet(java.util.Comparator<Workspace> comparator)
Deprecated.
Return results of a query done using this
WorkspaceQueryHandler . |
java.util.Set<Workspace> |
QueryHandler.getWorkspaceSet()
Retrieve the Set of Workspace on which the query was initially refined.
|
java.util.Set<Workspace> |
PortletWorkflowHandler.getWorkspaceSet() |
java.util.Set<Workspace> |
MembersCsvImportHandler.getWorkspaceSet()
Retrieve all the workspaces as a Set, with the following conditions :
workspace's getCatSet() is child of root category.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
EditMemberPhotoHandler.canEdit(Member me,
Member other,
Workspace workspace)
Return true if a given member can edit the profile info of a given member.
|
protected boolean |
EditDataHandler.createUploadedFileDocument(Data[] datas,
java.util.Map dataML,
Member author,
Workspace ws)
Performs create on given array of data if it is a FileDocument that have just been uploaded.
|
protected boolean |
EditDataHandler.createUploadedFileDocument(Data[] datas,
Member author,
Workspace ws)
Performs create on given array of data if it is a FileDocument that have just been uploaded.
|
protected boolean |
EditDataHandler.createUploadedFileDocument(Data data,
java.util.Map dataML,
Member author,
Workspace ws)
Performs create on given array of data if it is a FileDocument that have just been uploaded.
|
protected boolean |
EditDataHandler.createUploadedFileDocument(Data data,
Member author,
Workspace ws)
Performs create on given data if it is a FileDocument that have just been uploaded.
|
protected java.lang.Class<? extends FileDocument> |
JcmsUploadFormHandler.getFileDocumentClass(java.lang.Class<? extends FileDocument> clazz,
Member member,
Workspace workspace)
Deprecated.
The
JcmsUploadFormHandler.getFileDocumentClass(Class, Member, Workspace, String) method is used directly by the JcmsUploadFormHandler.setFileDocuments(String, String, List) method. It is no longer necessary to call this method. It is preferable to use the
methods setFileDocuments(...) and setFileDocumentsML(...) that don't take the Class as an argument. |
protected java.lang.Class<? extends FileDocument> |
JcmsUploadFormHandler.getFileDocumentClass(java.lang.Class<? extends FileDocument> clazz,
Member member,
Workspace workspace,
java.lang.String contentType)
Returns the FileDocument Class authorized for publication by the specified member and workspace, and the most relevant regarding specified contentType.
|
void |
QueryHandler.setWorkspace(Workspace wspc)
Set the only workspace that publication must belong.
|
void |
JcmsFormHandler.setWorkspace(Workspace wspc) |
void |
AllMemberQueryHandler.setWorkspace(Workspace wspc) |
protected boolean |
EditDataHandler.validateUploadedFileDocument(Data[] datas,
java.util.Map dataML,
Member author,
Workspace ws)
Performs create on given data if it is a FileDocument that have just been uploaded.
|
protected boolean |
EditDataHandler.validateUploadedFileDocument(Data[] datas,
Member author,
Workspace ws)
Performs validate on given array of data if it is a FileDocument that have just been uploaded.
|
protected boolean |
EditDataHandler.validateUploadedFileDocument(Data data,
java.util.Map dataML,
Member author,
Workspace ws)
Performs create on given data if it is a FileDocument that have just been uploaded.
|
protected boolean |
EditDataHandler.validateUploadedFileDocument(Data data,
Member author,
Workspace ws)
Performs create on given data if it is a FileDocument that have just been uploaded.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Workspace> |
WorkspaceQueryHandler.getResultSet(java.util.Comparator<Workspace> comparator)
Deprecated.
Return results of a query done using this
WorkspaceQueryHandler . |
void |
QueryHandler.setWorkspaceSet(java.util.Set<Workspace> wsSet)
Set the Workspaces that publication must belong.
|
Modifier and Type | Method and Description |
---|---|
AbstractJPortal |
JPortalManager.duplicateJPortal(Member member,
AbstractJPortal jportal,
java.lang.String title,
java.lang.String description,
Workspace workspace,
java.lang.StringBuffer duplicateMessages)
Duplicate a JPortal
|
JPortalMapping |
JPortalManager.duplicateJPortalMapping(Member author,
JPortalMapping jPortalMapping,
Workspace workspace,
java.lang.StringBuffer duplicateMessages)
Duplicate a JPortalMapping, iterate through
JBlock and duplicate them |
Modifier and Type | Field and Description |
---|---|
protected Workspace |
MailAccount.ws |
Modifier and Type | Method and Description |
---|---|
Workspace |
MailAccount.getWorkspace() |
Modifier and Type | Method and Description |
---|---|
void |
MailAccount.setWorkspace(Workspace ws) |
Constructor and Description |
---|
MailAccount(java.lang.String name,
java.lang.String label,
Member author,
Workspace ws,
java.lang.String host,
int port,
java.lang.String protocol,
java.lang.String login,
java.lang.String password,
java.lang.String mbox,
java.lang.String schedule,
boolean expunge,
boolean ssl) |
Modifier and Type | Field and Description |
---|---|
Workspace |
IncomingMailListener.IncomingMailCriteria.ws |
Constructor and Description |
---|
IncomingMailCriteria(java.lang.Integer check,
Member author,
Workspace ws) |
IncomingMailCriteria(java.lang.String prop,
Member author,
Workspace ws) |
Modifier and Type | Method and Description |
---|---|
Workspace |
FetchCriteria.getWorkspace() |
Workspace |
AbstractIncomingMailFetchCriteria.getWorkspace() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
AbstractIncomingMailFetchCriteria.validateWorkspace(Workspace ws,
MailMessage mail)
Check that given Workspace is not closed, not model, and allows required Types publication.
|
Modifier and Type | Method and Description |
---|---|
Workspace |
ImportOptions.getImportWorkspace()
Returns the workspace used for new imported publications.
|
Workspace |
ImportManager.getImportWorkspace()
Returns the import workspace (the workspace of all the imported publications).
|
Modifier and Type | Method and Description |
---|---|
ImportOptions |
ImportOptions.setImportWorkspace(Workspace importWorkspace)
Sets the workspace used for new imported publications.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<Workspace> |
MediaBrowserHandler.workspaceList |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Workspace> |
MediaBrowserHandler.getWorkspaceList()
Retrieve the workspace list in which the logged member can work.
|
Modifier and Type | Method and Description |
---|---|
Workspace |
PortalPolicyFilter.checkWorkspace(DisplayContext context,
Workspace workspace,
Member loggedMember)
Hook called by handleDisplayRequest() (in display.jsp) to update the working worskpace.
|
Workspace |
BasicPortalPolicyFilter.checkWorkspace(DisplayContext context,
Workspace workspace,
Member loggedMember) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Workspace> |
RightPolicyFilter.getWorkspaceSet(java.util.Set<Workspace> workspaceSet,
Member mbr)
Retrieve the workspace set of the specified Member.
|
java.util.Set<Workspace> |
BasicRightPolicyFilter.getWorkspaceSet(java.util.Set<Workspace> workspaceSet,
Member mbr) |
Modifier and Type | Method and Description |
---|---|
boolean |
RightPolicyFilter.canCreateWorkspace(boolean isAuthorized,
Member mbr,
Workspace model)
Check if this member can create workspace :
- ex nihilo if model is null;
- by copiing model if model is not null.
|
boolean |
BasicRightPolicyFilter.canCreateWorkspace(boolean isAuthorized,
Member mbr,
Workspace model) |
boolean |
RightPolicyFilter.canDeleteOther(boolean isAuthorized,
Member mbr,
java.lang.Class clazz,
Workspace ws)
Check if this member can delete-other this clazz in at least one of the given workspace.
|
boolean |
BasicRightPolicyFilter.canDeleteOther(boolean isAuthorized,
Member mbr,
java.lang.Class clazz,
Workspace ws) |
boolean |
RightPolicyFilter.canUpdateOther(boolean isAuthorized,
Member mbr,
java.lang.Class clazz,
Workspace ws)
Check if this member can update-other this clazz in at least one of the given workspace.
|
boolean |
BasicRightPolicyFilter.canUpdateOther(boolean isAuthorized,
Member mbr,
java.lang.Class clazz,
Workspace ws) |
Workspace |
PortalPolicyFilter.checkWorkspace(DisplayContext context,
Workspace workspace,
Member loggedMember)
Hook called by handleDisplayRequest() (in display.jsp) to update the working worskpace.
|
Workspace |
BasicPortalPolicyFilter.checkWorkspace(DisplayContext context,
Workspace workspace,
Member loggedMember) |
TypeTemplateEntry |
TemplatePolicyFilter.getTemplateEntry(java.lang.String usage,
java.lang.Class<? extends Data> dataClass,
Workspace ws,
TypeTemplateEntry tte)
This method is a hook to display a custom template, different from
the default selected one.
|
TypeTemplateEntry |
BasicTemplatePolicyFilter.getTemplateEntry(java.lang.String usage,
java.lang.Class<? extends Data> dataClass,
Workspace ws,
TypeTemplateEntry tte) |
boolean |
RightPolicyFilter.isAdmin(boolean isAdmin,
Member member,
Workspace ws)
Called by
isAdmin(Member) . |
boolean |
BasicRightPolicyFilter.isAdmin(boolean isAdmin,
Member member,
Workspace ws) |
boolean |
RightPolicyFilter.isWorker(boolean isWorker,
Member member,
Workspace ws)
Called by
Member.isWorker(Workspace) and Member.isWorker() . |
boolean |
BasicRightPolicyFilter.isWorker(boolean isWorker,
Member member,
Workspace ws) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Workspace> |
RightPolicyFilter.getWorkspaceSet(java.util.Set<Workspace> workspaceSet,
Member mbr)
Retrieve the workspace set of the specified Member.
|
java.util.Set<Workspace> |
BasicRightPolicyFilter.getWorkspaceSet(java.util.Set<Workspace> workspaceSet,
Member mbr) |
Modifier and Type | Method and Description |
---|---|
Workspace |
PortalPolicyManager.checkWorkspace(DisplayContext context,
Workspace workspace,
Member loggedMember) |
Workspace |
PortalInterface.getWorkspace() |
Modifier and Type | Method and Description |
---|---|
Workspace |
PortalPolicyManager.checkWorkspace(DisplayContext context,
Workspace workspace,
Member loggedMember) |
PortalElement |
PortalElement.duplicate(java.lang.String prefix,
Member author,
boolean deep,
Workspace wkspc,
java.util.Map catMap,
java.util.Map groupMap)
Deprecated.
Used instead
PortalElement.duplicate(WizardContext, boolean) |
protected void |
PortalElement.duplicateDeep(PortalElement parent,
java.lang.String prefix,
Member author,
Workspace wkspc,
java.util.Map catMap,
java.util.Map groupMap)
Deprecated.
|
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 | Method and Description |
---|---|
java.util.Set<Workspace> |
RecentHistoryManager.getRecentWorkspaceSet(Member mbr,
java.lang.String userLang,
boolean belongsToWorkspace,
boolean isWorker,
boolean withPortal)
Returns the set of recently browsed Workspace (Workspace is returned when at least one of its publication has been read by the member)
|
Modifier and Type | Field and Description |
---|---|
protected Workspace |
Recommendation.workspace |
Modifier and Type | Method and Description |
---|---|
Workspace |
Recommendation.getWorkspace() |
Modifier and Type | Method and Description |
---|---|
RecommendationQueryBuilder |
RecommendationQueryBuilder.workspace(Workspace workspace) |
Modifier and Type | Field and Description |
---|---|
protected Workspace |
FileWebdavTag.ws |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Workspace> |
TreeCatViewTag.TreeCatView.getWorkspaceSet(Category cat,
Member loggedMember,
boolean model)
Returns the Set of Workspace bind to given Category and readable by given Member.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
TreeViewDecorator.decorate(TreeNode treeNode,
Member member,
Workspace ws) |
protected java.lang.String |
EditTag.generateAddIcon(java.lang.Class clazz,
Workspace ws,
Member loggedMember,
java.lang.String anchorParam,
java.lang.String userLang,
java.lang.String contextPath,
boolean withLabel,
boolean addCss) |
protected java.lang.String |
EditTag.generateAddIcon(java.lang.Class clazz,
Workspace ws,
Member loggedMember,
java.lang.String anchorParam,
java.lang.String userLang,
java.lang.String contextPath,
boolean withLabel,
boolean addCss,
boolean addBodyText) |
java.lang.String |
TreeViewTag.TreeView.getItemCss(TreeNode treeNode,
Member member,
Workspace workspace)
Returns a string representing CSS classes appended to the tree item (eg.
|
java.lang.String |
TreeCatViewTag.TreeCatView.getItemCss(TreeNode treeNode,
Member member,
Workspace workspace)
Returns a string representing CSS classes appended to the tree item (eg.
|
void |
FileWebdavTag.Webdav.printWebdavFolderIcon(java.lang.StringBuffer sb,
Category cat,
Workspace ws)
Print the Webdav Folder Icon for the given Category and Workspace
|
void |
FileWebdavTag.Webdav.printWebdavFolderIcon(java.lang.StringBuffer sb,
Workspace ws)
Print the Webdav Folder Icon for the given Workspace
|
protected void |
WorkspaceTag.printWorkspace(java.lang.StringBuilder sb,
Workspace workspace,
java.lang.String url,
java.lang.String printTitle,
java.lang.String icon,
java.lang.String userLang,
java.lang.String onclick) |
protected void |
WorkspaceTag.printWorkspace(java.lang.StringBuilder sb,
Workspace workspace,
java.lang.String url,
java.lang.String printTitle,
java.lang.String icon,
java.lang.String userLang,
java.lang.String onclick,
boolean allWorkspace) |
protected void |
WorkspaceTag.printWorkspaceCombo(java.lang.StringBuilder sb,
Workspace workspace,
Member loggedMember,
java.lang.String userLang,
java.util.SortedSet workspaceSet,
javax.servlet.http.HttpServletRequest request) |
protected void |
WorkspaceTag.printWorkspaceModalCombo(java.lang.StringBuilder sb,
Workspace workspace,
Member loggedMember,
java.lang.String userLang,
java.util.SortedSet workspaceSet) |
void |
FileWebdavTag.setWorkspace(Workspace ws)
This method set the workspace to use to open webfolder
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
TreeCatViewTag.TreeCatView.getWorkspaceIcon(java.util.Set<Workspace> set)
Returns the best matching icon for the given Set of Workspace.
|
java.lang.String |
TreeCatViewTag.TreeCatView.getWorkspaceIconTitle(java.util.Set<Workspace> set,
java.lang.String lang)
Returns the best matching icon title for the given Set of Workspace.
|
Modifier and Type | Method and Description |
---|---|
T |
AbstractTextChooserSettings.workspace(Workspace workspace)
Set the Workspace to which you filter in the chooser window and in the autocomplete.
|
T |
AbstractChooserSettings.workspace(Workspace workspace)
Set the Workspace to which you filter in the chooser window and in the autocomplete.
|
Modifier and Type | Method and Description |
---|---|
Workspace |
AbstractControlHelper.getWorkspace() |
Constructor and Description |
---|
AbstractControlHelper(Member loggedMember,
java.lang.String userLang,
Workspace workspace,
javax.servlet.http.HttpServletRequest request) |
PublicationControlHelper(Member loggedMember,
java.lang.String userLang,
Workspace workspace,
javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
WysiwygSettings |
WysiwygSettings.workspace(Workspace workspace)
Specify the Workspace to use in the editor.
|
WorkspaceSettings |
WorkspaceSettings.workspace(Workspace workspace)
Specify the Workspace on which the control is filtered.
|
Modifier and Type | Field and Description |
---|---|
protected static Workspace |
JcmsTestCase4.defaultWorkspace |
protected static Workspace |
JcmsTestCase.defaultWorkspace |
Modifier and Type | Method and Description |
---|---|
protected void |
JcmsTestCase.assertTypesDisabled(Workspace ws,
java.lang.Class<?>... classes)
Assert given types are disabled in the given Workspace.
|
static void |
Assert.assertTypesDisabled(Workspace ws,
java.lang.Class<?>... classes)
Assert given types are disabled in the given Workspace.
|
protected void |
JcmsTestCase.assertTypesEnabled(Workspace ws,
java.lang.Class<?>... classes)
Assert given types are enabled in the given Workspace.
|
static void |
Assert.assertTypesEnabled(Workspace ws,
java.lang.Class<?>... classes)
Assert given types are enabled in the given Workspace.
|
static generated.Article |
JcmsTestCaseUtil.createArticle(Member writer,
Workspace ws,
boolean deleteOnTearDown) |
static DBFileDocument |
JcmsTestCaseUtil.createDBFileDocument(Member writer,
Workspace ws,
java.lang.String title,
java.lang.String filename) |
static FileDocument |
JcmsTestCaseUtil.createFileDocument(Member writer,
Workspace ws,
java.lang.String title,
java.lang.String filename) |
static generated.Media |
JcmsTestCaseUtil.createMedia(Member writer,
Workspace ws,
java.lang.String title,
java.lang.String filename) |
static AbstractShortcut |
JcmsTestCaseUtil.createShortcut(Publication pub,
Member writer,
Workspace ws,
boolean deleteOnTearDown) |
static AbstractShortcut |
JcmsTestCaseUtil.createShortcut(java.lang.String link,
Member writer,
Workspace ws,
boolean deleteOnTearDown) |
static generated.SmallNews |
JcmsTestCaseUtil.createSmallNews(Member writer,
Workspace ws,
boolean deleteOnTearDown) |
static void |
JcmsTestCaseUtil.createWorkspace(Workspace workspace)
Utility method to create the given Workspace by admin Member.
|
protected void |
JcmsTestCase.createWorkspace(Workspace workspace)
Utility method to create the given Workspace by admin Member.
|
static void |
JcmsTestCaseUtil.createWorkspace(Workspace workspace,
Member author)
Utility method to create the given Workspace by admin Member.
|
protected void |
JcmsTestCase.createWorkspace(Workspace workspace,
Member author)
Utility method to create the given Workspace by admin Member.
|
static void |
JcmsTestCaseUtil.deleteOnTearDown(Workspace ws,
java.util.Set<Data> initialDataSet)
Deletes on tear down the workspace, and all its Datas,
but not those contained in optional initialDataSet.
The initialDataSet should be initialized before the Workspace was created, using for example : |
protected void |
JcmsTestCase.deleteOnTearDown(Workspace ws,
java.util.Set<Data> initialDataSet)
Deletes on tear down the workspace, and all its Datas,
but not those contained in optional initialDataSet.
The initialDataSet should be initialized before the Workspace was created, using for example : |
static generated.Article |
JcmsTestCaseUtil.getArticle(Member writer,
Workspace ws) |
static DBFileDocument |
JcmsTestCaseUtil.getDBFileDocument(Member writer,
Workspace ws,
java.lang.String title,
java.lang.String filename) |
static FileDocument |
JcmsTestCaseUtil.getFileDocument(Member writer,
Workspace ws,
java.lang.String title,
java.lang.String filename) |
static generated.Media |
JcmsTestCaseUtil.getMedia(Member writer,
Workspace ws,
java.lang.String title,
java.lang.String filename) |
static AbstractShortcut |
JcmsTestCaseUtil.getShortcut(Member writer,
Workspace ws) |
static AbstractShortcut |
JcmsTestCaseUtil.getShortcut(Publication pub,
Member writer,
Workspace ws) |
static AbstractShortcut |
JcmsTestCaseUtil.getShortcut(java.lang.String link,
Member writer,
Workspace ws) |
protected static generated.SmallNews |
JcmsTestCaseUtil.getSmallNews(Member writer,
Workspace ws,
boolean insertDateInContent) |
static java.util.Set<Data> |
JcmsTestCaseUtil.getWorkspaceDeleteOnTearDownSet(Workspace ws,
java.util.Set<Data> initialDataSet)
Returns a collection of Datas (bound to the Workspace) that have been created since the workspace
creation.
|
protected void |
JcmsTestCase.prepareWorkspaceDeletion(Workspace workspace)
Remove WkRole which are referenced in other Workspaces
to avoid unexpected WkRole deletion (due to Workspace.performDelete)
|
static void |
JcmsTestCaseUtil.updateWorkspaceTypeWorkflow(Workspace ws,
java.lang.Class<? extends Data> typeClass,
java.lang.Object workflowToUse)
An utility method to update the given Workspace, with the chosen Workflow associated to the given Type.
|
static void |
JcmsTestCaseUtil.updateWorkspaceTypeWorkflow(Workspace ws,
java.util.HashMap<java.lang.Class<?>,java.lang.Object> subTypeMap)
An utility method to update the given Workspace typeMap.
|
Modifier and Type | Method and Description |
---|---|
static java.util.SortedSet<Workspace> |
TopbarUtil.getMemberInitialWorkspaceSet(Member mbr,
java.lang.String userLang,
boolean withPortal,
boolean showModel)
Returns the set of workspace the member :
Belongs to
Has a portal (if withPortal is set to true)
Is not a model
|
static java.util.SortedSet<Workspace> |
TopbarUtil.getMemberSearchedWorkspaceSet(Member mbr,
java.lang.String userLang,
java.lang.String query,
boolean withPortal,
boolean showModel)
Returns the set of workspace which :
Matches the query
Is a model the member can work on
Has a portal (If withPortal is set to true)
And the member can read the portal
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Workspace> |
TopbarSearchAutocompleteResult.getWorkspaceSet() |
java.util.Set<Workspace> |
TopbarSearchAutocompleteResult.getWorkspaceSet(java.util.Comparator<Workspace> comparator) |
Modifier and Type | Method and Description |
---|---|
static <T extends PortletCollection> |
TopbarSearchAutocompleteHandler.getCollaborativeSpace(Workspace workspace)
Returns the
PortletCollection related to the given Workspace . |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Workspace> |
TopbarSearchAutocompleteResult.getWorkspaceSet(java.util.Comparator<Workspace> comparator) |
void |
TopbarSearchAutocompleteResult.setWorkspaceSet(java.util.Set<Workspace> workspaceSet) |
Modifier and Type | Field and Description |
---|---|
protected Workspace |
DocUploadInfo.workspace
Workspace used during FileDocument creation
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Class<? extends FileDocument> |
DocUploadHandler.getFirstDocumentClassAuthorized(Member member,
Workspace workspace,
java.lang.Class<? extends FileDocument> defaultValue)
|
void |
DocUploadInfo.setWorkspace(Workspace workspace)
Set the Workspace to in FileDocument when being created.
|
Modifier and Type | Field and Description |
---|---|
protected Workspace |
Vote.workspace |
Modifier and Type | Method and Description |
---|---|
Workspace |
Vote.getWorkspace() |
Modifier and Type | Method and Description |
---|---|
void |
Vote.setWorkspace(Workspace v) |
Modifier and Type | Method and Description |
---|---|
Workspace |
CatWebdavFileSystem.getWorkspaceFromURI(java.lang.String uri,
WebdavContext ctxt)
This method return the Workspace
bind to the given URI.
|
Modifier and Type | Method and Description |
---|---|
void |
CatWebdavFileSystem.addFileDocument(java.util.Set<Data> childrenSet,
Member loggedMember,
Workspace workspace,
Category category) |
protected boolean |
CatWebdavFileSystem.checkSetNewWorkspace(Workspace oldWS,
Workspace newWS,
java.util.Set<Category> pubCatSet) |
static java.lang.String |
CatWebdavUtil.getPath(Category cat,
Workspace ws)
Retrieve the WebDav path of the specified category in the specified workspace.
|
static java.lang.String |
CatWebdavUtil.getPath(Workspace ws)
Retrieve the WebDav path of the specified Workspace.
|
static java.lang.String |
CatWebdavUtil.getPathShort(Category cat,
Workspace ws)
Retrieve the WebDav path of the specified category in the specified workspace use a short notation for IE compatibility.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<AbstractWebPage> |
WebPageManager.getMatchingWebPageSet(AbstractWebPage webpage,
Member loggedMember,
Workspace ws)
Returns a Set of matching
WebPage with the same url as the given webpage, filtered on workspace, and logged member rights |
java.util.Set<AbstractWebPage> |
WebPageManager.getMatchingWebpageSet(java.lang.String url,
Member loggedMember,
Workspace ws,
boolean filterByAuthor,
boolean checkRights)
Returns a Set of matching
WebPage with the same url as the given url, filtered on workspace, and logged member rights |
boolean |
WebPageManager.webPageExists(java.lang.String url,
Workspace ws) |
WebPageQueryBuilder |
WebPageQueryBuilder.workspace(Workspace workspace) |
Modifier and Type | Class and Description |
---|---|
static class |
Workspace.FavoriteComparator<T extends Workspace>
Compares workspaces based on member engagement.
|
static class |
Workspace.GroupSizeComparator<T extends Workspace> |
static class |
Workspace.MemberSizeComparator<T extends Workspace> |
static class |
Workspace.NameComparator<T extends Workspace> |
static class |
Workspace.OrderComparator<T extends Workspace> |
Modifier and Type | Field and Description |
---|---|
protected Workspace |
WorkspaceWizardContext.parent |
protected Workspace |
Workspace.parent |
protected Workspace |
EditWorkspaceCommonHandler.parent |
protected Workspace |
AbstractEditWorkspaceHandler.workingWS |
protected Workspace |
WorkspaceFileAnalyzer.workspace |
protected Workspace |
WizardContext.workspace |
protected Workspace |
WSTypeEntry.workspace |
protected Workspace |
WKRole.workspace |
protected Workspace |
WorkspaceWizardContext.wsmodel |
Modifier and Type | Method and Description |
---|---|
Workspace |
EditWorkspaceCommonHandler.getAvailableParent() |
static Workspace |
WorkspaceManager.getIncomingMailLocalPartWorkspace(java.lang.String localPart) |
Workspace |
WorkspaceWizardContext.getParent()
Returns the parent Workspace
|
Workspace |
Workspace.getParent() |
Workspace |
Workspace.getParent(Member loggedMember)
Get the Parent workspace from the one in parameter, if loggedMember is not null,
the WS is return only if he is worker of it.
|
static Workspace |
Workspace.getRequestWorkspace(javax.servlet.http.HttpServletRequest request)
Get the workspace stored in the request
|
Workspace |
TreeHelper.WSTreeMemo.getSelectedWorkspace() |
static Workspace |
Workspace.getSessionWorkspace(javax.servlet.http.HttpSession session)
Get the workspace stored in the session
|
Workspace |
Workspace.getTreeParent() |
Workspace |
WorkspaceFileAnalyzer.getWorkspace() |
Workspace |
WizardContext.getWorkspace()
Returns the workspace of duplicated publications
|
Workspace |
WSTypeEntry.getWorkspace()
Returns the workspace this WSTypeEntry belongs to.
|
Workspace |
WKRole.getWorkspace() |
Workspace |
AbstractEditWorkspaceHandler.getWorkspace()
Override super implementation
to allow workspace to be null.
|
Workspace |
WorkspaceWizardContext.getWSModel()
Returns the Workspace model used to deep duplicate
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Workspace> |
FavoriteWorkspaceManager.get(Member member)
Return ordered list of favorite Workspaces for given member.
|
java.util.Set<Workspace> |
Workspace.getAllSubWorkspaces()
Return all the descendant Workspaces of the current Workspace.
|
java.util.Set<Workspace> |
Workspace.getAllSubWorkspaces(Member loggedMember)
Return all the descendant Workspaces of the current Workspace.
If the loggedMember parameter is not null, only Workspaces for which the Member is Worker are returned. |
static java.util.SortedSet<Workspace> |
Workspace.getAllWorkingWorkspaceSet(Member loggedMember,
JcmsContext jcmsContext)
Gives the list of workspaces for which the current loggedMember is a worker.
|
static java.util.Set<Workspace> |
Workspace.getAllWorkspaceSet()
Returns a Set with all workspace, model or not.
|
static java.util.Set<Workspace> |
Workspace.getAllWorkspaceSet(Member member)
Returns a Set of workspace, for the given member.
|
static java.util.Set<Workspace> |
Workspace.getAllWorkspaceSetModel()
Returns a Set with all workspace model.
|
static java.util.Set<Workspace> |
Workspace.getAllWorkspaceSetWithoutModel()
Returns a Set with all workspace without workspace model.
|
static java.util.Comparator<Workspace> |
Workspace.getComparator(java.lang.String str,
boolean reverse)
Deprecated.
|
static java.util.Comparator<Workspace> |
Workspace.getFavoriteComparator(Member mbr,
java.lang.String lang)
Returns a new Comparator instance to compare workspace based on member engagement.
|
static java.util.Comparator<Workspace> |
Workspace.getGroupSizeComparator(java.lang.String lang)
Returns a new Comparator instance to compare workspace based on
the number of groups in each workspace.
|
java.util.Set<Workspace> |
HierarchicalWorkspacesManager.getLastUsedWorkspaces(Member member)
Gives the set of last visited workspaces (in the BO).
|
static java.util.Comparator<Workspace> |
Workspace.getMemberSizeComparator(java.lang.String lang)
Returns a new Comparator instance to compare workspace based on
the number of members in each workspace.
|
static java.util.Comparator<Workspace> |
Workspace.getNameComparator(java.lang.String lang)
Returns a new Comparator instance to compare workspace based on their title.
|
static java.util.Comparator<Workspace> |
Workspace.getOrderComparator(java.lang.String lang)
Returns a new Comparator instance to compare workspace based on their order.
|
java.util.Set<Workspace> |
WorkspaceResult.getOtherWorkspaceSet() |
static java.util.Set<Workspace> |
WorkspaceManager.getOtherWorkspaceSet(Member member,
java.lang.String userLang,
java.util.Set<Workspace> workspaceToExcludeSet,
boolean belongsToWorkspace,
boolean isWorker,
boolean withPortal) |
java.util.Set<Workspace> |
WorkspaceResult.getRecentWorkspaceSet() |
static java.util.Set<Workspace> |
Workspace.getRootWorkspaces(java.util.Comparator<Workspace> comparator)
All Workspaces with no parent, sorted with comparator if not null.
|
static java.util.Set<Workspace> |
Workspace.getRootWorkspaces(java.util.Comparator<Workspace> comparator,
Member loggedMember)
All Workspaces with no parent the loggedMember in parameter belongs to,
sorted with comparator if not null.
|
java.util.Set<Workspace> |
WorkspaceResult.getSearchedWorkspaceSet() |
static java.util.Set<Workspace> |
WorkspaceManager.getSearchedWorkspaceSet(Member mbr,
java.lang.String userLang,
java.lang.String query,
boolean withPortal,
boolean showModel)
Returns the set of workspace which :
Matches the query
Is a model the member can work on
Has a portal (If withPortal is set to true)
And the member can read the portal
|
java.util.Set<Workspace> |
Workspace.getSubWorkspaces()
Gives the set of all WS just under the ws in parameter.
|
java.util.Set<Workspace> |
Workspace.getSubWorkspaces(Member loggedMember)
Return the workspaces just under the workspace in parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
FavoriteWorkspaceManager.add(Member member,
Workspace... workspaces)
Adds given workspace(s) as favorite for given member.
|
static boolean |
WorkspaceManager.canReadWorkspace(Workspace workspace,
Member member) |
static WorkspaceWizardContext |
WorkspaceManager.deepDuplicate(Workspace model,
Member author,
java.lang.String prefix,
java.lang.String title)
Deprecated.
|
static WorkspaceWizardContext |
WorkspaceManager.deepDuplicate(Workspace model,
Member author,
java.lang.String prefix,
java.lang.String title,
boolean collaborativeSpace)
Deprecated.
|
static WorkspaceWizardContext |
WorkspaceManager.deepDuplicate(Workspace model,
Member author,
java.lang.String prefix,
java.lang.String title,
java.util.Map<java.lang.String,java.lang.String> titleML)
Deep duplicate the Workspace model using given configuration for duplication.
|
static WorkspaceWizardContext |
WorkspaceManager.deepDuplicate(Workspace model,
Member author,
java.lang.String prefix,
java.lang.String title,
java.util.Map<java.lang.String,java.lang.String> titleML,
java.lang.String wsemail,
java.util.List adminList,
java.util.Collection typeCollec,
Category[] categories,
Group[] groups,
PortalInterface[] portals,
Workspace parent,
boolean collaborativeSpace)
Deep duplicate the Workspace model using given configuration for duplication.
|
static WorkspaceWizardContext |
WorkspaceManager.deepDuplicate(Workspace model,
Member author,
java.lang.String prefix,
java.lang.String title,
java.util.Map<java.lang.String,java.lang.String> titleML,
java.lang.String wsemail,
java.util.List adminList,
java.util.Collection typeCollec,
java.util.Collection catCollec,
java.util.Collection groupCollec,
java.util.Collection portalCollec,
boolean collaborativeSpace)
Deep duplicate the Workspace model using given configuration for duplication.
|
static WorkspaceWizardContext |
WorkspaceManager.deepDuplicate(Workspace model,
Member author,
java.lang.String prefix,
java.lang.String title,
java.util.Map<java.lang.String,java.lang.String> titleML,
java.lang.String wsemail,
java.util.List adminList,
java.util.Collection typeCollec,
java.util.Collection catCollec,
java.util.Collection groupCollec,
java.util.Collection portalCollec,
Workspace parent,
boolean collaborativeSpace)
Deep duplicate the Workspace model using given configuration for duplication.
|
static WorkspaceWizardContext |
WorkspaceManager.deepDuplicate(Workspace model,
Member author,
java.lang.String prefix,
java.lang.String title,
java.util.Map<java.lang.String,java.lang.String> titleML,
Workspace parent,
boolean collaborativeSpace)
Deep duplicate the Workspace model using given configuration for duplication.
|
static WorkspaceWizardContext |
WorkspaceManager.deepDuplicate(Workspace model,
Member author,
java.lang.String prefix,
java.lang.String title,
java.lang.String wsemail,
java.util.List adminList,
java.util.Collection typeCollec,
Category[] categories,
Group[] groups,
PortalInterface[] portals,
Workspace parent,
boolean collaborativeSpace)
Deprecated.
|
static WorkspaceWizardContext |
WorkspaceManager.deepDuplicate(Workspace model,
Member author,
java.lang.String prefix,
java.lang.String title,
java.lang.String wsemail,
java.util.List adminList,
java.util.Collection typeCollec,
java.util.Collection catCollec,
java.util.Collection groupCollec,
java.util.Collection portalCollec,
boolean collaborativeSpace)
Deprecated.
|
static WorkspaceWizardContext |
WorkspaceManager.deepDuplicate(Workspace model,
Member author,
java.lang.String prefix,
java.lang.String title,
java.lang.String wsemail,
java.util.List adminList,
java.util.Collection typeCollec,
java.util.Collection catCollec,
java.util.Collection groupCollec,
java.util.Collection portalCollec,
Workspace parent,
boolean collaborativeSpace)
Deprecated.
|
static WorkspaceWizardContext |
WorkspaceManager.deepDuplicate(Workspace model,
Member author,
java.lang.String prefix,
java.lang.String title,
Workspace parent)
Deprecated.
|
static WorkspaceWizardContext |
WorkspaceManager.deepDuplicate(Workspace model,
Member author,
java.lang.String prefix,
java.lang.String title,
Workspace parent,
boolean collaborativeSpace)
Deprecated.
|
static java.lang.String |
WorkspaceManager.getIncomingMailPattern(Workspace ws)
Computes the incoming mail pattern given the Workspace.
|
boolean |
FavoriteWorkspaceManager.isFavorite(Member member,
Workspace workspace) |
static void |
TreeHelper.printWorkspacesTree(Workspace mbrWorkspace,
boolean showGroups,
java.lang.String groupParamName,
javax.servlet.jsp.JspWriter out,
java.lang.String userLang,
JcmsJspContext context,
Member loggedMember)
Print a navigation tree for group split by workspaces (except if a workspace is provided).
|
static void |
TreeHelper.printWSNodeContent(Workspace workspace,
TreeHelper.WSTreeMemo treeMemo,
JcmsJspContext context,
javax.servlet.jsp.JspWriter out,
boolean open) |
void |
FavoriteWorkspaceManager.remove(Member member,
Workspace workspace)
Removes given workspace from member's favorite workspaces.
|
void |
HierarchicalWorkspacesManager.saveWSForMember(Workspace ws,
Member member)
Add the given workspace in the LRU cache of last visited workspaces for the current Member
|
void |
FavoriteWorkspaceManager.set(Member member,
Workspace... workspaces)
Sets given workspace(s) as favorite for given member, and replaces current ones if any.
|
void |
EditWorkspaceTypeHandler.setFields(Workspace ws) |
void |
EditWorkspaceRoleHandler.setFields(Workspace ws) |
void |
EditWorkspaceHandler.setFields(Workspace ws) |
void |
EditWorkspaceCommonHandler.setFields(Workspace ws) |
void |
AbstractEditWorkspaceHandler.setFields(Workspace ws) |
void |
WorkspaceWizardContext.setParent(Workspace parent)
Sets the new parent workspace
|
void |
Workspace.setParent(Workspace parent) |
static void |
Workspace.setRequestWorkspace(javax.servlet.http.HttpServletRequest request,
Workspace workspace)
Set the given workspace to the request.
|
TreeHelper.WSTreeMemo |
TreeHelper.WSTreeMemo.setSelectedWorkspace(Workspace selectedWorkspace) |
static void |
Workspace.setSessionWorkspace(javax.servlet.http.HttpSession session,
Workspace workspace)
Set the given workspace to the session.
|
void |
WorkspaceFileAnalyzer.setWorkspace(Workspace workspace) |
void |
WizardContext.setWorkspace(Workspace workspace)
Sets the Workspace used by duplicated objects
|
void |
WSTypeEntry.setWorkspace(Workspace workspace)
Sets the workspace without setting workspaceForced
This method should only be called by WorkspaceWizardHandler
for clone purpose.
|
void |
WKRole.setWorkspace(Workspace workspace) |
void |
WSTypeEntryListener.setWorkspaceTypeEntry(Workspace ws) |
void |
WorkspaceWizardContext.setWSModel(Workspace wsmodel)
Sets the Workspace model to deep duplicate
|
protected void |
WorkspaceListener.updateAdminMembers(Workspace workspace,
boolean add)
Update workspaceSet index of JStore Member.
|
protected void |
WorkspaceListener.updateDefaultWorkspace(Workspace workspace) |
static void |
WorkspaceManager.updateIncomingMailPattern(Workspace workspace,
Workspace oldWorkspace)
Updates given Workspace incoming Mail Pattern in
IncomingMailListener .If oldWs is not null, checks if localPart changed. |
protected void |
WorkspaceListener.updateIncomingMailPattern(Workspace workspace,
Workspace oldWorkspace)
Updates the Workspace incoming mail pattern when site is ready.
|
protected void |
WorkspaceListener.updateWKRoles(Workspace workspace) |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<Workspace> |
WorkspaceManager.getOtherWorkspaceSet(Member member,
java.lang.String userLang,
java.util.Set<Workspace> workspaceToExcludeSet,
boolean belongsToWorkspace,
boolean isWorker,
boolean withPortal) |
static java.util.Set<Workspace> |
Workspace.getRootWorkspaces(java.util.Comparator<Workspace> comparator)
All Workspaces with no parent, sorted with comparator if not null.
|
static java.util.Set<Workspace> |
Workspace.getRootWorkspaces(java.util.Comparator<Workspace> comparator,
Member loggedMember)
All Workspaces with no parent the loggedMember in parameter belongs to,
sorted with comparator if not null.
|
boolean |
HierarchicalWorkspacesManager.isShowAllWorkingWorkspace(java.util.Set<Workspace> workingWorkspaceSet) |
Constructor and Description |
---|
FileAnalyzerThread(Workspace workspace) |
Workspace(Workspace other) |
WSTypeEntry(java.lang.Class<? extends Publication> clazz,
Workspace workspace) |
WSTypeEntry(java.lang.String className,
Workspace workspace) |
Constructor and Description |
---|
WorkspaceResult(java.util.Set<Workspace> searchedWorkspaceSet) |
WorkspaceResult(java.util.Set<Workspace> recentWorkspaceSet,
java.util.Set<Workspace> otherWorkspaceSet) |
WorkspaceResult(java.util.Set<Workspace> recentWorkspaceSet,
java.util.Set<Workspace> otherWorkspaceSet) |
Copyright © 2001-2018 Jalios SA. All Rights Reserved.