public class SpaceDetailsDialog extends BaseDetailsBean implements NavigationSupport
imageResolver, panels, template, workflowPropertiesbrowseBean, 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(javax.faces.event.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(javax.faces.context.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(javax.faces.event.ActionEvent event)
Navigates to next item in the list of Spaces
|
void |
previousItem(javax.faces.event.ActionEvent event)
Navigates to the previous item in the list Spaces
|
void |
removeRSSTemplate(javax.faces.event.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, takeOwnershipdoPostCommitProcessing, 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, setSearchServicepublic Node getNode()
getNode in class BaseDetailsBeanpublic Node getSpace()
public String getBrowseUrl()
protected Node getLinkResolvedNode()
getLinkResolvedNode in class BaseDetailsBeanpublic Map getTemplateModel()
getTemplateModel in class BaseDetailsBeanprotected String getPropertiesPanelId()
getPropertiesPanelId in class BaseDetailsBeanBaseDetailsBean.getPropertiesPanelId()public void nextItem(javax.faces.event.ActionEvent event)
nextItem in interface NavigationSupportpublic void previousItem(javax.faces.event.ActionEvent event)
previousItem in interface NavigationSupportpublic String cancel()
cancel in interface IDialogBeancancel in class BaseDialogBeanpublic 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(javax.faces.event.ActionEvent event)
public void removeRSSTemplate(javax.faces.event.ActionEvent event)
protected String finishImpl(javax.faces.context.FacesContext context, String outcome) throws Exception
BaseDialogBeanfinishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcomeExceptionpublic String getCurrentItemId()
getCurrentItemId in interface NavigationSupportpublic String getCancelButtonLabel()
IDialogBeangetCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic String getContainerSubTitle()
IDialogBeanIf this returns null the DialogManager will lookup the subtitle via the dialog configuration
getContainerSubTitle in interface IDialogBeangetContainerSubTitle in class BaseDialogBeanpublic String getContainerTitle()
IDialogBeanIf this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle in interface IDialogBeangetContainerTitle in class BaseDialogBeanpublic String getOutcome()
getOutcome in interface NavigationSupportCopyright © 2005–2018 Alfresco Software. All rights reserved.