@Name(value="userWorkspaceManagerActions") @Scope(value=SESSION) @Install(precedence=10) @Startup public class UserWorkspaceManagerActionsBean extends Object implements UserWorkspaceManagerActions
Modifier and Type | Field and Description |
---|---|
static String |
DOCUMENT_MANAGEMENT_ACTION |
static String |
DOCUMENT_VIEW |
Constructor and Description |
---|
UserWorkspaceManagerActionsBean() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
DocumentModel |
getCurrentUserPersonalWorkspace()
Gets the current user personal workspace.
|
void |
initialize() |
boolean |
isInitialized() |
boolean |
isShowingPersonalWorkspace()
Checks wether a personal document is selected.
|
String |
navigateToCurrentUserPersonalWorkspace()
Navigates to the current user personal workspace.
|
String |
navigateToOverallWorkspace()
Navigates to the overall workspace.
|
void |
setInitialized(boolean initialized) |
void |
setShowingPersonalWorkspace(boolean showingPersonalWorkspace) |
public static final String DOCUMENT_VIEW
public static final String DOCUMENT_MANAGEMENT_ACTION
public void initialize()
@Destroy public void destroy()
public DocumentModel getCurrentUserPersonalWorkspace() throws ClientException
UserWorkspaceManagerActions
getCurrentUserPersonalWorkspace
in interface UserWorkspaceManagerActions
ClientException
public String navigateToCurrentUserPersonalWorkspace() throws ClientException
UserWorkspaceManagerActions
navigateToCurrentUserPersonalWorkspace
in interface UserWorkspaceManagerActions
ClientException
public String navigateToOverallWorkspace() throws ClientException
UserWorkspaceManagerActions
navigateToOverallWorkspace
in interface UserWorkspaceManagerActions
ClientException
@Factory(value="isInsidePersonalWorkspace", scope=EVENT) public boolean isShowingPersonalWorkspace()
UserWorkspaceManagerActions
isShowingPersonalWorkspace
in interface UserWorkspaceManagerActions
public void setShowingPersonalWorkspace(boolean showingPersonalWorkspace)
public boolean isInitialized()
public void setInitialized(boolean initialized)
Copyright © 2015 Nuxeo SA. All rights reserved.