|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.CmsWorkplaceSettings
public class CmsWorkplaceSettings
Object to conveniently access and modify the state of the workplace for a user, will be stored in the session of a user.
Method Summary | |
---|---|
I_CmsResourceCollector |
getCollector()
Returns the collector object. |
java.lang.Object |
getDialogObject()
Returns the dialog object. |
CmsMessageContainer |
getErrorMessage()
Returns the error message to display in the workplace. |
java.lang.String |
getExplorerFlaturl()
Returns the explorer flat url. |
java.lang.String |
getExplorerMode()
Returns the current explorer mode. |
int |
getExplorerPage()
Returns the currently selected page in the explorer view. |
java.lang.String |
getExplorerProjectFilter()
Gets the explorer project filter for the project view. |
CmsUUID |
getExplorerProjectId()
Gets the explorer project id for the project view. |
java.lang.String |
getExplorerResource()
Returns the current resource to be displayed in the explorer. |
java.util.Map |
getFrameUris()
Returns the frame URIs of the currently loaded frameset, with the frame names as keys. |
java.lang.String |
getGalleryType()
Returns the current gallery type name. |
java.lang.String |
getLastUsedGallery(int galleryTypeId)
Returns the last saved gallery for the given gallery type id. |
java.lang.Object |
getListObject()
Returns the list dialog object. |
java.lang.String |
getPermissionDetailView()
Returns the current detail grade of the view. |
CmsUUID |
getProject()
Returns the currently selected project of the workplace user. |
CmsPublishList |
getPublishList()
Returns the publish list. |
java.lang.String |
getSite()
Returns the current site for the user. |
CmsToolUserData |
getToolUserData()
Returns the new admin view tool User Data. |
java.lang.String |
getTreeResource(java.lang.String type)
Returns the tree resource uri for the specified tree type. |
java.lang.String |
getTreeSite(java.lang.String type)
Returns the tree site uri for the specified tree type. |
CmsUser |
getUser()
Returns the current workplace user. |
CmsUserSettings |
getUserSettings()
Returns the current workplace user settings object. |
java.lang.String |
getViewStartup()
Returns the view startup page. |
java.lang.String |
getViewUri()
Returns the current view Uri selected in the workplace. |
boolean |
isViewExplorer()
Checks if the current view is the explorer view. |
void |
setCollector(I_CmsResourceCollector collector)
Sets the collector object. |
void |
setDialogObject(java.lang.Object dialogObject)
Sets the dialog object. |
void |
setErrorMessage(CmsMessageContainer errorMessage)
Sets the error message to display in the workplace. |
void |
setExplorerFlaturl(java.lang.String value)
Sets the explorer flat url. |
void |
setExplorerMode(java.lang.String value)
Sets the current explorer mode. |
void |
setExplorerPage(int page)
Sets the currently selected page in the explorer view. |
void |
setExplorerProjectFilter(java.lang.String value)
Sets the explorer project filter for the project view. |
void |
setExplorerProjectId(CmsUUID value)
Sets the explorer project id for the project view. |
void |
setExplorerResource(java.lang.String value)
Deprecated. use setExplorerResource(String, CmsObject) instead |
void |
setExplorerResource(java.lang.String value,
CmsObject cms)
Sets the current resource to be displayed in the explorer. |
void |
setGalleryType(java.lang.String currentGallery)
Sets the current gallery type name. |
void |
setLastUsedGallery(int galleryTypeId,
java.lang.String gallerypath)
Saves the last gallery. |
void |
setListObject(java.lang.Object listObject)
Sets the list object. |
void |
setPermissionDetailView(java.lang.String value)
Sets the current detail grade of the view. |
void |
setProject(CmsUUID project)
Sets the currently selected project of the workplace user. |
void |
setPublishList(CmsPublishList publishList)
Sets the publish list. |
void |
setSite(java.lang.String value)
Sets the current site for the user. |
void |
setToolUserData(CmsToolUserData toolUserData)
Sets the new admin view tool User Data. |
void |
setTreeResource(java.lang.String type,
java.lang.String value)
Sets the tree resource uri for the specified tree type. |
void |
setTreeSite(java.lang.String type,
java.lang.String value)
Sets the tree resource uri for the specified tree type. |
void |
setUser(CmsUser user)
Sets the current workplace user. |
void |
setUserSettings(CmsUserSettings userSettings)
Sets the current workplace user settings object. |
void |
setViewStartup(java.lang.String viewStartup)
Sets the view startup page. |
void |
setViewUri(java.lang.String string)
Sets the view Uri for the workplace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public I_CmsResourceCollector getCollector()
Use this mechanism for transferring a resource collector between several page instances of an interactive dialog.
public java.lang.Object getDialogObject()
Use this mechanism for transferring a complex object between several page instances of an interactive dialog. This is usually required when editing a complex object in a dialog of the "Administration" view.
public CmsMessageContainer getErrorMessage()
public java.lang.String getExplorerFlaturl()
public java.lang.String getExplorerMode()
public int getExplorerPage()
public java.lang.String getExplorerProjectFilter()
This parameter is used in the administration to filter files belonging to a project.
public CmsUUID getExplorerProjectId()
This parameter is used in the administration to filter files belonging to a selected project.
public java.lang.String getExplorerResource()
public java.util.Map getFrameUris()
public java.lang.String getGalleryType()
public java.lang.String getLastUsedGallery(int galleryTypeId)
galleryTypeId
- the type id of the gallery
public java.lang.Object getListObject()
Use this mechanism for transfering a html list object between several page instances of an interactive dialog. This is usually required when having several lists in a tool or when a list action another list displays of the "Administration" view.
A_CmsListDialog.getListObject(Class, CmsWorkplaceSettings)
public java.lang.String getPermissionDetailView()
public CmsUUID getProject()
public CmsPublishList getPublishList()
public java.lang.String getSite()
public CmsToolUserData getToolUserData()
public java.lang.String getTreeResource(java.lang.String type)
type
- the type of the tree
public java.lang.String getTreeSite(java.lang.String type)
type
- the type of the tree
public CmsUser getUser()
public CmsUserSettings getUserSettings()
public java.lang.String getViewStartup()
The view startup page can be used to directly load a specific workplace dialog or other workplace resource in the OpenCms workplace base frameset after the user logs in.
public java.lang.String getViewUri()
public boolean isViewExplorer()
public void setCollector(I_CmsResourceCollector collector)
Use this mechanism for transferring a resource collector between several page instances of an interactive dialog.
collector
- the dialog object to setpublic void setDialogObject(java.lang.Object dialogObject)
Use this mechanism for transferring a complex object between several page instances of an interactive dialog. This is usually required when editing a complex object in a dialog of the "Administration" view.
dialogObject
- the dialog object to setpublic void setErrorMessage(CmsMessageContainer errorMessage)
errorMessage
- the error message to display in the workplacepublic void setExplorerFlaturl(java.lang.String value)
value
- the explorer flat urlpublic void setExplorerMode(java.lang.String value)
value
- the current explorer modepublic void setExplorerPage(int page)
page
- the currently selected page in the explorer viewpublic void setExplorerProjectFilter(java.lang.String value)
value
- the explorer project filterpublic void setExplorerProjectId(CmsUUID value)
value
- the explorer project idpublic void setExplorerResource(java.lang.String value)
setExplorerResource(String, CmsObject)
instead
value
- the current resource to be displayed in the explorerpublic void setExplorerResource(java.lang.String value, CmsObject cms)
value
- the current resource to be displayed in the explorercms
- needed for validation / normalization of the given pathpublic void setGalleryType(java.lang.String currentGallery)
currentGallery
- the current gallery type name to setpublic void setLastUsedGallery(int galleryTypeId, java.lang.String gallerypath)
galleryTypeId
- the type id of the gallery as keygallerypath
- the resourcepath of the gallerypublic void setListObject(java.lang.Object listObject)
Use this mechanism for transfering a html list object between several page instances of an interactive dialog. This is usually required when having several lists in a tool or when a list action another list displays of the "Administration" view.
listObject
- the list object to setA_CmsListDialog.setListObject(Class, org.opencms.workplace.list.CmsHtmlList)
public void setPermissionDetailView(java.lang.String value)
value
- the current details.public void setProject(CmsUUID project)
project
- the currently selected project of thw workplace userpublic void setPublishList(CmsPublishList publishList)
publishList
- the publishList to setpublic void setSite(java.lang.String value)
value
- the current site for the userpublic void setToolUserData(CmsToolUserData toolUserData)
toolUserData
- the tool User Data to setpublic void setTreeResource(java.lang.String type, java.lang.String value)
type
- the type of the treevalue
- the resource uri to set for the typepublic void setTreeSite(java.lang.String type, java.lang.String value)
type
- the type of the treevalue
- the resource uri to set for the typepublic void setUser(CmsUser user)
user
- the current workplace userpublic void setUserSettings(CmsUserSettings userSettings)
userSettings
- the current workplace user settings objectpublic void setViewStartup(java.lang.String viewStartup)
The view startup page can be used to directly load a specific workplace dialog or other workplace resource in the OpenCms workplace base frameset after the user logs in.
viewStartup
- the view startup page to setpublic void setViewUri(java.lang.String string)
string
- the view Uri for the workplace
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |