com.jalios.jcms.workspace
Class WorkspaceWizardContext

java.lang.Object
  extended by com.jalios.jcms.workspace.WizardContext
      extended by com.jalios.jcms.workspace.WorkspaceWizardContext

public class WorkspaceWizardContext
extends WizardContext

This class describe all objects used during a Workspace Wizard deep copy

Since:
jcms-5.7.3
Version:
$Revision: 28041 $
Author:
Jean-Philippe Encausse

Field Summary
protected  List adminList
           
protected  String email
           
protected  boolean isCollaborativeSpace
           
protected  Workspace parent
           
protected  Map portalMap
           
static String REVISION
           
protected  Map<WKRole,WKRole> roleMap
           
protected  String title
           
protected  Collection typeCollec
           
protected  Workspace wsmodel
           
 
Fields inherited from class com.jalios.jcms.workspace.WizardContext
append, author, catMap, CONTEXT_WIZARD, cs, ctxt, extraMap, failed, groupMap, prefix, pubMap, trackList, workspace
 
Constructor Summary
WorkspaceWizardContext()
           
 
Method Summary
 List getAdminList()
          Returns the List of administrators of the workspace
 Workspace getParent()
          Returns the parent Workspace
 Map getPortalMap()
          Returns a map of old/new Portals used during workspace creation
 Map<WKRole,WKRole> getRoleMap()
          Returns a map of old/new WKRole used during workspace creation
 Collection getTypeCollection()
          Returns a Collection of classes used to filter Workspace Types during workspace creation.
 String getWorkspaceId()
          Returns the id of the created workspace
 String getWSEmail()
          Returns a String representing the workspace email
 Workspace getWSModel()
          Returns the Workspace model used to deep duplicate
 String getWSTitle()
          Returns a String representing the new workspace title
 boolean isCollaborativeSpace()
          Tell if the creation of ws is in a collaborative space context
 void setAdminList(List adminList)
          Sets the List of administrators of the workspace
 void setCollaborativeSpace(boolean isCollaborativeSpace)
          To indicate the creation of ws is in a collaborative space context
 void setParent(Workspace parent)
          Sets the new parent workspace
 void setPortalMap(Map portalMap)
          Sets a map of old/new Portals used during workspace creation
 void setTypeCollection(Collection typeCollec)
          Sets a Collection of classes used to filter Workspace Types during workspace creation
 void setWSEmail(String email)
          Sets the new workspace email
 void setWSModel(Workspace wsmodel)
          Sets the Workspace model to deep duplicate
 void setWSTitle(String title)
          Sets the new Wokspace title
 
Methods 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values

roleMap

protected Map<WKRole,WKRole> roleMap

portalMap

protected Map portalMap

wsmodel

protected Workspace wsmodel

adminList

protected List adminList

title

protected String title

email

protected String email

typeCollec

protected Collection typeCollec

parent

protected Workspace parent

isCollaborativeSpace

protected boolean isCollaborativeSpace
Constructor Detail

WorkspaceWizardContext

public WorkspaceWizardContext()
Method Detail

getWorkspaceId

public String getWorkspaceId()
Returns the id of the created workspace

Returns:
an id of Workspace
Since:
jcms-5.7.3

getRoleMap

public Map<WKRole,WKRole> 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

public Collection getTypeCollection()
Returns a Collection of classes used to filter Workspace Types during workspace creation.

Returns:
Collection of classes
Since:
jcms-5.7.3

setTypeCollection

public void setTypeCollection(Collection typeCollec)
Sets a Collection of classes used to filter Workspace Types during workspace creation

Parameters:
typeCollec - Set of classes
Since:
jcms-5.7.3

getPortalMap

public Map 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

public void setPortalMap(Map portalMap)
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

public Workspace getWSModel()
Returns the Workspace model used to deep duplicate

Returns:
wsmodel Workspace model
Since:
jcms-5.7.3

setWSModel

public void setWSModel(Workspace wsmodel)
Sets the Workspace model to deep duplicate

Parameters:
wsmodel - Workspace model
Since:
jcms-5.7.3

getAdminList

public List getAdminList()
Returns the List of administrators of the workspace

Returns:
List of workspace administrators
Since:
jcms-5.7.3

setAdminList

public void setAdminList(List adminList)
Sets the List of administrators of the workspace

Parameters:
adminList - List of workspace administrators
Since:
jcms-5.7.3

getWSTitle

public String getWSTitle()
Returns a String representing the new workspace title

Returns:
String the workspace title
Since:
jcms-5.7.3

setWSTitle

public void setWSTitle(String title)
Sets the new Wokspace title

Parameters:
title - String the workspace title
Since:
jcms-5.7.3

getWSEmail

public String getWSEmail()
Returns a String representing the workspace email

Returns:
String the email
Since:
jcms-5.7.3

setWSEmail

public void setWSEmail(String email)
Sets the new workspace email

Parameters:
email - String the workspace email
Since:
jcms-5.7.3

getParent

public Workspace getParent()
Returns the parent Workspace

Returns:
Workspace the parent
Since:
jcms-7.0.0

setParent

public void setParent(Workspace parent)
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)
To indicate the creation of ws is in a collaborative space context



Copyright © 2001-2010 Jalios SA. All Rights Reserved.