public class SpaceDetailsDialog extends BaseDetailsBean implements NavigationSupport
imageResolver, panels, template, workflowProperties
browseBean, isFinished, navigator, parameters
Constructor and Description |
---|
SpaceDetailsDialog()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
applyClassifiable()
Applies the classifiable aspect to the current document
|
void |
applyRSSTemplate(ActionEvent event)
Action handler to apply the selected RSS Template and FeedSource aspect to the current Space
|
static String |
buildRSSFeedURL(Node space)
Build URL for an RSS space based on the 'feedsource' aspect property.
|
String |
cancel()
Action handler to clear the current Space properties before returning to the browse screen,
as the user may have modified the properties!
|
protected String |
finishImpl(FacesContext context,
String outcome)
Performs the actual processing for the wizard.
|
String |
getBrowseUrl()
Returns the URL to access the browse page for the current node
|
String |
getCancelButtonLabel()
Returns the label to use for the cancel button
|
String |
getCategoriesOverviewHTML()
Returns a list of objects representing the categories applied to the
current space
|
String |
getContainerSubTitle()
Returns the subtitle to be used for the dialog
|
String |
getContainerTitle()
Returns the title to be used for the dialog
|
String |
getCurrentItemId() |
protected Node |
getLinkResolvedNode()
Resolve the actual document Node from any Link object that may be proxying it
|
Node |
getNode()
Returns the Node this bean is currently representing
|
String |
getOutcome() |
protected String |
getPropertiesPanelId() |
String |
getRSSFeedURL() |
String |
getRSSTemplate() |
Node |
getSpace()
Returns the Space this bean is currently representing
|
Map |
getTemplateModel()
Returns a model for use by a template on the Space Details page.
|
static boolean |
hasRSSFeed(Node space) |
boolean |
isCategorised()
Determines whether the current space has any categories applied
|
boolean |
isLocked()
Returns whether the current sapce is locked
|
boolean |
isRSSFeed() |
void |
nextItem(ActionEvent event)
Navigates to next item in the list of Spaces
|
void |
previousItem(ActionEvent event)
Navigates to the previous item in the list Spaces
|
void |
removeRSSTemplate(ActionEvent event)
Action handler to remove a RSS template from the current Space
|
void |
setRSSTemplate(String rssTemplate) |
applyTemplate, approve, cancelWorkflowEdit, expandPanel, getApproveStepName, getBookmarkUrl, getCifsPath, getCopyService, getHasCustomView, getHasTemplateView, getHasWebscriptView, getId, getName, getNodeRefUrl, getOwnableService, getPanels, getPermissionService, getRejectStepName, getTemplate, getTemplateRef, getWebdavUrl, getWebscriptUrl, getWorkflowProperties, reject, removeTemplate, saveWorkflow, setCopyService, setOwnableService, setPanels, setPermissionService, setTemplate, takeOwnership
doPostCommitProcessing, finish, formatErrorMessage, getActionsConfigId, getActionsContext, getAdditionalButtons, getCheckOutCheckInService, getContainerDescription, getDefaultCancelOutcome, getDefaultFinishOutcome, getDictionaryService, getErrorMessageId, getErrorOutcome, getFileFolderService, getFinishButtonDisabled, getFinishButtonLabel, getMoreActionsConfigId, getNamespaceService, getNodeService, getRuleService, getSearchService, getTransactionService, init, isFinished, restored, setBrowseBean, setDictionaryService, setFileFolderService, setNamespaceService, setNavigator, setNodeService, setSearchService
public Node getNode()
getNode
in class BaseDetailsBean
public Node getSpace()
public String getBrowseUrl()
protected Node getLinkResolvedNode()
getLinkResolvedNode
in class BaseDetailsBean
public Map getTemplateModel()
getTemplateModel
in class BaseDetailsBean
protected String getPropertiesPanelId()
getPropertiesPanelId
in class BaseDetailsBean
BaseDetailsBean.getPropertiesPanelId()
public void nextItem(ActionEvent event)
nextItem
in interface NavigationSupport
public void previousItem(ActionEvent event)
previousItem
in interface NavigationSupport
public String cancel()
cancel
in interface IDialogBean
cancel
in class BaseDialogBean
public boolean isCategorised()
public String getCategoriesOverviewHTML()
public void applyClassifiable()
public boolean isLocked()
public boolean isRSSFeed()
public static boolean hasRSSFeed(Node space)
public String getRSSFeedURL()
public static String buildRSSFeedURL(Node space)
space
- Node to build RSS template URL forpublic String getRSSTemplate()
public void setRSSTemplate(String rssTemplate)
rssTemplate
- The RSS Template Id to set.public void applyRSSTemplate(ActionEvent event)
public void removeRSSTemplate(ActionEvent event)
protected String finishImpl(FacesContext context, String outcome) throws Exception
BaseDialogBean
finishImpl
in class BaseDialogBean
context
- FacesContextoutcome
- The default outcomeException
public String getCurrentItemId()
getCurrentItemId
in interface NavigationSupport
public String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel
in interface IDialogBean
getCancelButtonLabel
in class BaseDialogBean
public String getContainerSubTitle()
IDialogBean
If this returns null the DialogManager will lookup the subtitle via the dialog configuration
getContainerSubTitle
in interface IDialogBean
getContainerSubTitle
in class BaseDialogBean
public String getContainerTitle()
IDialogBean
If this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle
in interface IDialogBean
getContainerTitle
in class BaseDialogBean
public String getOutcome()
getOutcome
in interface NavigationSupport
Copyright © 2005–2017 Alfresco Software. All rights reserved.