Package org.opencms.ui.apps.projects
Class CmsProjectManager
- java.lang.Object
-
- org.opencms.ui.apps.A_CmsWorkplaceApp
-
- org.opencms.ui.apps.projects.CmsProjectManager
-
- All Implemented Interfaces:
I_CmsWorkplaceApp
public class CmsProjectManager extends A_CmsWorkplaceApp
The project manager app.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opencms.ui.apps.A_CmsWorkplaceApp
A_CmsWorkplaceApp.NavEntry
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PATH_NAME_FILES
The project files path name.static java.lang.String
PATH_NAME_HISTORY
The project history path name.-
Fields inherited from class org.opencms.ui.apps.A_CmsWorkplaceApp
m_infoLayout, m_rootLayout, m_uiContext, PARAM_ASSIGN, PARAM_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description CmsProjectManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CmsProjectsTable
createProjectsTable()
Returns the projects table component.protected java.util.LinkedHashMap<java.lang.String,java.lang.String>
getBreadCrumbForState(java.lang.String state)
Returns the current bread crumb entries in an ordered map.protected com.vaadin.ui.Component
getComponentForState(java.lang.String state)
Returns the app component for the given state.protected CmsFileTable
getProjectFiles(CmsUUID projectId)
Returns the project files table.protected java.util.List<A_CmsWorkplaceApp.NavEntry>
getSubNavEntries(java.lang.String state)
Returns the sub navigation entries.-
Methods inherited from class org.opencms.ui.apps.A_CmsWorkplaceApp
addParamToState, addSubNavEntry, getLastPathLevel, getOfflineCmsObject, getParamFromState, getParamsFromState, initUI, onStateChange, openSubView, removeParamsFromState, setBreadCrumbEntries, updateBreadCrumb, updateSubNav
-
-
-
-
Field Detail
-
PATH_NAME_FILES
public static final java.lang.String PATH_NAME_FILES
The project files path name.- See Also:
- Constant Field Values
-
PATH_NAME_HISTORY
public static final java.lang.String PATH_NAME_HISTORY
The project history path name.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsProjectManager
public CmsProjectManager()
-
-
Method Detail
-
createProjectsTable
protected CmsProjectsTable createProjectsTable()
Returns the projects table component.- Returns:
- the projects table
-
getBreadCrumbForState
protected java.util.LinkedHashMap<java.lang.String,java.lang.String> getBreadCrumbForState(java.lang.String state)
Description copied from class:A_CmsWorkplaceApp
Returns the current bread crumb entries in an ordered map.- Specified by:
getBreadCrumbForState
in classA_CmsWorkplaceApp
- Parameters:
state
- the current state- Returns:
- bread crumb entry name by state, in case the state is empty, the entry will be disabled
- See Also:
A_CmsWorkplaceApp.getBreadCrumbForState(java.lang.String)
-
getComponentForState
protected com.vaadin.ui.Component getComponentForState(java.lang.String state)
Description copied from class:A_CmsWorkplaceApp
Returns the app component for the given state.- Specified by:
getComponentForState
in classA_CmsWorkplaceApp
- Parameters:
state
- the state to render- Returns:
- the app component
- See Also:
A_CmsWorkplaceApp.getComponentForState(java.lang.String)
-
getProjectFiles
protected CmsFileTable getProjectFiles(CmsUUID projectId)
Returns the project files table.- Parameters:
projectId
- the selected project id- Returns:
- the file table
-
getSubNavEntries
protected java.util.List<A_CmsWorkplaceApp.NavEntry> getSubNavEntries(java.lang.String state)
Description copied from class:A_CmsWorkplaceApp
Returns the sub navigation entries.- Specified by:
getSubNavEntries
in classA_CmsWorkplaceApp
- Parameters:
state
- the state- Returns:
- the sub navigation entries
- See Also:
A_CmsWorkplaceApp.getSubNavEntries(java.lang.String)
-
-