Package com.jalios.jcms.workspace
Class WorkspaceWizardContext
java.lang.Object
com.jalios.jcms.workspace.WizardContext
com.jalios.jcms.workspace.WorkspaceWizardContext
This class describes all objects used during a Workspace Wizard deep copy.
- Since:
- jcms-5.7.3
- Author:
- Jean-Philippe Encausse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the List of administrators of the workspaceReturns the parent WorkspaceReturns a map of old/new Portals used during workspace creationReturns a map of old/new WKRole used during workspace creationReturns a Collection of classes used to filter Workspace Types during workspace creation.Returns the id of the created workspaceReturns a String representing the workspace emailReturns the Workspace model used to deep duplicateReturns a String representing the new workspace titleReturns a multilingual Map representing the new workspace titlesbooleanTell if the creation of ws is in a collaborative space contextvoidsetAdminList(List adminList) Sets the List of administrators of the workspacevoidsetCollaborativeSpace(boolean isCollaborativeSpace) voidSets the new parent workspacevoidsetPortalMap(Map portalMap) Sets a map of old/new Portals used during workspace creationvoidsetTypeCollection(Collection typeCollec) Sets a Collection of classes used to filter Workspace Types during workspace creationvoidsetWSEmail(String email) Sets the new workspace emailvoidsetWSModel(Workspace wsmodel) Sets the Workspace model to deep duplicatevoidsetWSTitle(String title) Sets the new Wokspace titlevoidsetWSTitleML(Map<String, String> titleML) Sets the new Wokspace multilingual titleMethods inherited from class com.jalios.jcms.workspace.WizardContext
getAppendPrefix, getAuthor, getCategoryMap, getDataControllerContext, getExtraMap, getFailStatus, getGroupMap, getPrefix, getPublicationMap, getTrackedData, getWorkspace, hasFailed, setAppendPrefix, setAuthor, setCategoryMap, setFailed, setGroupMap, setPrefix, setWorkspace, trackCreatedData
-
Field Details
-
roleMap
-
portalMap
-
wsmodel
-
adminList
-
title
-
titleML
-
email
-
typeCollec
-
parent
-
isCollaborativeSpace
protected boolean isCollaborativeSpace
-
-
Constructor Details
-
WorkspaceWizardContext
public WorkspaceWizardContext()
-
-
Method Details
-
getWorkspaceId
Returns the id of the created workspace- Returns:
- an id of Workspace
- Since:
- jcms-5.7.3
-
getRoleMap
Returns a map of old/new WKRole used during workspace creation- Returns:
- a Map of old WKRole vs new WKRole
- Since:
- jcms-5.7.3
-
getTypeCollection
Returns a Collection of classes used to filter Workspace Types during workspace creation.- Returns:
- Collection of classes
- Since:
- jcms-5.7.3
-
setTypeCollection
Sets a Collection of classes used to filter Workspace Types during workspace creation- Parameters:
typeCollec- Set of classes- Since:
- jcms-5.7.3
-
getPortalMap
Returns a map of old/new Portals used during workspace creation- Returns:
- Map of old Portals vs new Portals
- Since:
- jcms-5.7.3
-
setPortalMap
Sets a map of old/new Portals used during workspace creation- Parameters:
portalMap- Map of old Portals vs new Portals- Since:
- jcms-5.7.3
-
getWSModel
Returns the Workspace model used to deep duplicate- Returns:
- wsmodel Workspace model
- Since:
- jcms-5.7.3
-
setWSModel
Sets the Workspace model to deep duplicate- Parameters:
wsmodel- Workspace model- Since:
- jcms-5.7.3
-
getAdminList
Returns the List of administrators of the workspace- Returns:
- List of workspace administrators
- Since:
- jcms-5.7.3
-
setAdminList
Sets the List of administrators of the workspace- Parameters:
adminList- List of workspace administrators- Since:
- jcms-5.7.3
-
getWSTitle
Returns a String representing the new workspace title- Returns:
- String the workspace title
- Since:
- jcms-5.7.3
-
setWSTitle
Sets the new Wokspace title- Parameters:
title- String the workspace title- Since:
- jcms-5.7.3
-
getWSTitleML
Returns a multilingual Map representing the new workspace titles- Returns:
- the multilingual workspace title map
- Since:
- jcms-9.0.0
-
setWSTitleML
Sets the new Wokspace multilingual title- Parameters:
titleML- Map the multilingual workspace titles- Since:
- jcms-9.0.0
-
getWSEmail
Returns a String representing the workspace email- Returns:
- String the email
- Since:
- jcms-5.7.3
-
setWSEmail
Sets the new workspace email- Parameters:
email- String the workspace email- Since:
- jcms-5.7.3
-
getParent
Returns the parent Workspace- Returns:
- Workspace the parent
- Since:
- jcms-7.0.0
-
setParent
Sets the new parent workspace- Parameters:
parent- the parent workspace- Since:
- jcms-7.0.0
-
isCollaborativeSpace
public boolean isCollaborativeSpace()Tell if the creation of ws is in a collaborative space context- Returns:
- true if it is for a CS
-
setCollaborativeSpace
public void setCollaborativeSpace(boolean isCollaborativeSpace) - Parameters:
isCollaborativeSpace- indicates the creation of ws is in a collaborative space context
-