Package | Description |
---|---|
com.jalios.jcms |
Contains the core JCMS classes.
|
com.jalios.jcms.accesscontrol | |
com.jalios.jcms.alert | |
com.jalios.jcms.analytics | |
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.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.mail.listener | |
com.jalios.jcms.mail.listener.criteria | |
com.jalios.jcms.mashup |
Contains classes used for data Import/Export.
|
com.jalios.jcms.media |
Contains all the classes to provide the Media Browser.
|
com.jalios.jcms.policy | |
com.jalios.jcms.portlet |
Contains core Portlets parent of all generated portlets.
|
com.jalios.jcms.stat |
Provides classes for statistics management and analysis.
|
com.jalios.jcms.taglib |
Provides many of the classes used for JCMS jsp tags.
|
com.jalios.jcms.taglib.settings | |
com.jalios.jcms.taglib.settings.impl | |
com.jalios.jcms.test | |
com.jalios.jcms.uicomponent | |
com.jalios.jcms.upload | |
com.jalios.jcms.vote | |
com.jalios.jcms.webdav.cat |
Contains classes which provides webdav access to Categorie of JCMS.
|
com.jalios.jcms.workspace |
Contains classes about workspace features.
|
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> |
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.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> |
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.
|
boolean |
Member.belongsToWorkspace(Workspace ws)
This convenient method returns true if this member belongs to the
given workspace.
|
boolean |
Member.canCreateWorkspace(Workspace model)
Check if the member can duplicate the model to create a workspace
|
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 |
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.
|
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 ObjectLongTreeMap |
JcmsUtil.getFileSizeMap(Workspace ws)
Deprecated.
since jcms-7.1.0, use Workspace.getFileAnalyzer method to have more information about satellites files
|
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.
|
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
|
static int[] |
JcmsUtil.getPublicationDetails(java.lang.Class clazz,
Member mbr,
Workspace ws)
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.
|
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 |
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 |
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.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 |
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.
|
protected boolean |
Member.internalCanPublish(java.lang.Class<?> clazz,
java.util.Set<? extends Workspace> workspaceSet) |
void |
MemberIndexManager.setWorkspaceSet(Member mbr,
java.util.Set<Workspace> set)
Sets the workspace set associated to the given member.
|
Constructor and Description |
---|
Member.BelongsToWorkspaceOrChildSelector(Workspace workspace) |
Publication.WorkspaceAuthorSelector(Workspace workspace,
Member author) |
Publication.WorkspaceSelector(Workspace workspace) |
QuotaElement(Workspace workspace,
long quota,
long quotaMaxValue,
int alertThreshold) |
QuotaManager.WorkspaceNode(Workspace wk,
int level) |
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) |
QuotaManager.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 |
SendAlertHandler.refineWorkspace |
Modifier and Type | Method and Description |
---|---|
Workspace |
SendAlertHandler.getAvailableRefineWorkspace() |
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.io.File eventDirectory,
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.io.File eventDirectory,
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.SortedSet<Workspace> |
DBMember.getAdministratedWorkspaceSet() |
java.util.Set<Workspace> |
DBMember.getWorkspaceSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
DBMember.canCreateWorkspace(Workspace model) |
boolean |
DBMember.canPublishContent(Workspace ws) |
protected java.lang.String[] |
DBMember.getIconParameter(Workspace ws,
java.lang.String userLang) |
boolean |
DBMember.isAdmin(Workspace ws) |
void |
DBMember.updateWorkspaceSet(Workspace ws,
boolean add) |
Modifier and Type | Field and Description |
---|---|
protected Workspace |
EditNotificationCriteriaHandler.refineWS |
Modifier and Type | Method and Description |
---|---|
Workspace |
EditGroupHandler.getAvailableGroupWorkspace() |
Workspace |
EditNotificationCriteriaHandler.getAvailableRefineWS() |
Workspace |
ExportRawStatDataHandler.getAvailableStatWS() |
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> |
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 worksapce, or collaborative space has public access.
|
java.util.Set<Workspace> |
QueryHandler.getResolvedWorkspaceSet()
Retrieve the Set of Workspace on which the query is refined.
|
java.util.Set<Workspace> |
WorkspaceQueryHandler.getResultSet()
Return results of a query done using this
WorkspaceQueryHandler . |
java.util.Set<Workspace> |
WorkspaceQueryHandler.getResultSet(java.util.Comparator<Workspace> comparator)
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
MembersCsvImportHandler.getWorkspaceRootCat() 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.
|
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.
|
protected boolean |
EditDataFormHandler.validateUploadedFileDocument(java.util.List<FileDocument> fileDocuments,
Member author,
Workspace ws)
Validates the specified fileDocuments to upload.
|
protected boolean |
EditDataFormHandler.validateUploadedFileDocument(java.util.Map<java.lang.String,java.util.List<FileDocument>> fileDocumentsML,
Member author,
Workspace ws)
Validates the specified fileDocuments to upload.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Workspace> |
WorkspaceQueryHandler.getResultSet(java.util.Comparator<Workspace> comparator)
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 | 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 imapssl) |
Modifier and Type | Field and Description |
---|---|
Workspace |
IncomingMailListener.IncomingMailCriteria.ws |
Constructor and Description |
---|
IncomingMailListener.IncomingMailCriteria(java.lang.Integer check,
Member author,
Workspace ws) |
IncomingMailListener.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 |
PolicyManager.checkWorkspace(DisplayContext context,
Workspace workspace,
Member loggedMember) |
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> |
PolicyManager.getWorkspaceSet(java.util.Set<Workspace> workspaceSet,
Member mbr) |
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 |
PolicyManager.canCreateWorkspace(boolean isAuthorized,
Member mbr,
Workspace model) |
boolean |
BasicRightPolicyFilter.canCreateWorkspace(boolean isAuthorized,
Member mbr,
Workspace model) |
boolean |
PolicyManager.canDeleteOther(boolean isAuthorized,
Member mbr,
java.lang.Class<? extends Publication> clazz,
Workspace ws) |
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 |
PolicyManager.canUpdateOther(boolean isAuthorized,
Member mbr,
java.lang.Class<? extends Publication> 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) |
void |
PolicyManager.checkGlobalWysiwygCSS(java.util.Set<java.lang.String> globalStyle,
Workspace workspace) |
void |
WysiwygPolicyFilter.checkGlobalWysiwygCSS(java.util.Set globalStyle,
Workspace workspace)
This method is a hook called by Workspace to manage wysiwyg
css global style to display.
|
void |
BasicWysiwygPolicyFilter.checkGlobalWysiwygCSS(java.util.Set globalStyle,
Workspace workspace) |
void |
PolicyManager.checkLocalWysiwygCSS(java.util.Set<java.lang.String> localStyle,
java.lang.String globalStyle,
Workspace workspace) |
void |
WysiwygPolicyFilter.checkLocalWysiwygCSS(java.util.Set localStyle,
java.lang.String globalStyle,
Workspace workspace)
This method is a hook called by Workspace to manage wysiwyg
css local style to display.
|
void |
BasicWysiwygPolicyFilter.checkLocalWysiwygCSS(java.util.Set localStyle,
java.lang.String globalStyle,
Workspace workspace) |
Workspace |
PortalPolicyFilter.checkWorkspace(DisplayContext context,
Workspace workspace,
Member loggedMember)
Hook called by handleDisplayRequest() (in display.jsp) to update the working worskpace.
|
Workspace |
PolicyManager.checkWorkspace(DisplayContext context,
Workspace workspace,
Member loggedMember) |
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 |
PolicyManager.getTemplateEntry(java.lang.String usage,
java.lang.Class<? extends Data> pubClass,
Workspace ws,
TypeTemplateEntry tte) |
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 |
PolicyManager.isAdmin(boolean isAdmin,
Member member,
Workspace workspace) |
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 |
PolicyManager.isWorker(boolean isWorker,
Member member,
Workspace ws) |
boolean |
BasicRightPolicyFilter.isWorker(boolean isWorker,
Member member,
Workspace ws) |
Modifier and Type | Method and Description |
---|---|
boolean |
PolicyManager.canPublish(boolean isAuthorized,
Member mbr,
java.lang.Class<? extends Publication> clazz,
java.util.Set<? extends Workspace> wsSet) |
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> |
PolicyManager.getWorkspaceSet(java.util.Set<Workspace> workspaceSet,
Member mbr) |
java.util.Set<Workspace> |
BasicRightPolicyFilter.getWorkspaceSet(java.util.Set<Workspace> workspaceSet,
Member mbr) |
Modifier and Type | Method and Description |
---|---|
Workspace |
PortalInterface.getWorkspace() |
Modifier and Type | Method and Description |
---|---|
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 | Field and Description |
---|---|
protected Workspace |
StatExporter.workspace |
protected Workspace |
ExportParameters.workspace |
Modifier and Type | Method and Description |
---|---|
Workspace |
ExportParameters.getWorkspace() |
Modifier and Type | Method and Description |
---|---|
protected StatHandler |
StatExporter.buildExportStatHandler(long fromDate,
long toDate,
Workspace workspace,
RawDataExportHandler driver)
Build the StatHandler
|
static java.util.Map |
StatManager.getAllReport(Workspace workspace)
Return all the Files representing a given report for a given workspace
|
static java.util.Set |
StatManager.getAllReport(Workspace workspace,
StatReport report)
Return all the Files representing a given report for a given workspace
|
protected static void |
StatManager.renderPortlet(StatHandler statHandler,
PortalElement portlet,
Member loggedMember,
java.lang.String statDirectory,
java.lang.String jspKey,
java.lang.String jsp,
java.lang.String html,
Workspace workspace)
Try to render a Portlet from a JSP to an html file The rendering folder
should be created
|
void |
ExportParameters.setWorkspace(Workspace workspace) |
Constructor and Description |
---|
StatExporter(long fromDate,
long toDate,
Workspace workspace,
RawDataExportHandler driver,
boolean mailNotification,
Member member,
java.lang.String token) |
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 |
---|---|
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) |
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) |
T |
AbstractChooserSettings.workspace(Workspace workspace) |
Modifier and Type | Method and Description |
---|---|
WorkspaceSettings |
WorkspaceSettings.workspace(Workspace workspace) |
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.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) |
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)
|
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 | 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)
Retrieve the first document class authorized for publication by the specified member.
|
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 | Class and Description |
---|---|
static class |
Workspace.FavoriteComparator<T extends Workspace> |
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.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.
|
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> |
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 |
---|---|
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.
|
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 |
HierarchicalWorkspacesManager.saveWSForMember(Workspace ws,
Member member)
Add the given workspace in the LRU cache of last visited workspaces for the current Member
|
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) |
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> |
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) |
Copyright © 2001-2016 Jalios SA. All Rights Reserved.