|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.web.bean.dialog.BaseDialogBean
org.alfresco.web.bean.BaseDetailsBean
org.alfresco.web.bean.spaces.SpaceDetailsDialog
public class SpaceDetailsDialog
Backing bean provided access to the details of a Space
| Field Summary |
|---|
| Fields inherited from class org.alfresco.web.bean.BaseDetailsBean |
|---|
imageResolver, panels, template, workflowProperties |
| Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
|---|
browseBean, isFinished, navigator, parameters |
| Constructor Summary | |
|---|---|
SpaceDetailsDialog()
Default constructor |
|
| Method Summary | |
|---|---|
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 java.lang.String |
buildRSSFeedURL(Node space)
Build URL for an RSS space based on the 'feedsource' aspect property. |
java.lang.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 java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard. |
java.lang.String |
getBrowseUrl()
Returns the URL to access the browse page for the current node |
java.lang.String |
getCancelButtonLabel()
Returns the label to use for the cancel button |
java.lang.String |
getCategoriesOverviewHTML()
Returns a list of objects representing the categories applied to the current space |
java.lang.String |
getContainerSubTitle()
Returns the subtitle to be used for the dialog |
java.lang.String |
getContainerTitle()
Returns the title to be used for the dialog |
java.lang.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 |
java.lang.String |
getOutcome()
|
protected java.lang.String |
getPropertiesPanelId()
|
java.lang.String |
getRSSFeedURL()
|
java.lang.String |
getRSSTemplate()
|
Node |
getSpace()
Returns the Space this bean is currently representing |
java.util.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(java.lang.String rssTemplate)
|
| Methods inherited from class org.alfresco.web.bean.BaseDetailsBean |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpaceDetailsDialog()
| Method Detail |
|---|
public Node getNode()
getNode in class BaseDetailsBeanpublic Node getSpace()
public java.lang.String getBrowseUrl()
protected Node getLinkResolvedNode()
getLinkResolvedNode in class BaseDetailsBeanpublic java.util.Map getTemplateModel()
getTemplateModel in class BaseDetailsBeanprotected java.lang.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 java.lang.String cancel()
cancel in interface IDialogBeancancel in class BaseDialogBeanpublic boolean isCategorised()
public java.lang.String getCategoriesOverviewHTML()
public void applyClassifiable()
public boolean isLocked()
public boolean isRSSFeed()
public static boolean hasRSSFeed(Node space)
public java.lang.String getRSSFeedURL()
public static java.lang.String buildRSSFeedURL(Node space)
space - Node to build RSS template URL for
public java.lang.String getRSSTemplate()
public void setRSSTemplate(java.lang.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 java.lang.String finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
throws java.lang.Exception
BaseDialogBean
finishImpl in class BaseDialogBeancontext - FacesContextoutcome - The default outcome
java.lang.Exceptionpublic java.lang.String getCurrentItemId()
getCurrentItemId in interface NavigationSupportpublic java.lang.String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic java.lang.String getContainerSubTitle()
IDialogBeanIf this returns null the DialogManager will lookup the subtitle via the dialog configuration
getContainerSubTitle in interface IDialogBeangetContainerSubTitle in class BaseDialogBeanpublic java.lang.String getContainerTitle()
IDialogBeanIf this returns null the DialogManager will lookup the title via the dialog configuration
getContainerTitle in interface IDialogBeangetContainerTitle in class BaseDialogBeanpublic java.lang.String getOutcome()
getOutcome in interface NavigationSupport
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||