|
|||||||||
| 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.rules.RulesDialog
public class RulesDialog
Backing bean for the manage content rules dialog
| Nested Class Summary | |
|---|---|
static class |
RulesDialog.WrappedRule
Inner class to wrap the Rule objects so we can expose a flag to indicate whether the rule is a local or inherited rule |
| Field Summary |
|---|
| Fields inherited from class org.alfresco.web.bean.dialog.BaseDialogBean |
|---|
browseBean, isFinished, navigator, parameters |
| Constructor Summary | |
|---|---|
RulesDialog()
Default constructor |
|
| Method Summary | |
|---|---|
void |
areaChanged()
Method called by UIContextService.areaChanged() to inform all registered beans that the user has changed area i.e. |
void |
contextUpdated()
Method called by UIContextService.notifyBeans() to inform all registered beans that all UI Beans should refresh dump all cached data and settings. |
void |
filterModeChanged(javax.faces.event.ActionEvent event)
|
protected java.lang.String |
finishImpl(javax.faces.context.FacesContext context,
java.lang.String outcome)
Performs the actual processing for the wizard. |
java.lang.String |
getCancelButtonLabel()
Returns the label to use for the cancel button |
org.alfresco.service.cmr.rule.Rule |
getCurrentRule()
Returns the current rule |
java.util.List |
getFilterItems()
|
java.lang.String |
getFilterMode()
|
boolean |
getIgnoreInheritedRules()
|
java.lang.String |
getIgnoreInheritedRulesLabelId()
Gets the label id from the ignore inhertied action |
UIRichList |
getRichList()
Returns the UIRichList component being used by this backing bean |
java.util.List |
getRules()
Returns the list of rules to display |
protected org.alfresco.service.cmr.rule.RuleService |
getRuleService()
|
Node |
getSpace()
|
void |
ignoreInheritedRules(javax.faces.event.ActionEvent event)
Action listener to ignore (or include) inherited rules. |
void |
reapplyRules(javax.faces.event.ActionEvent event)
Reapply the currently defines rules to the |
void |
restored()
Called when the dialog is restored after a nested dialog is closed |
void |
setActionService(org.alfresco.service.cmr.action.ActionService actionService)
Set the action service to use |
void |
setFilterMode(java.lang.String filterMode)
|
void |
setRichList(UIRichList richList)
Sets the UIRichList component being used by this backing bean |
void |
setRuleService(org.alfresco.service.cmr.rule.RuleService ruleService)
|
void |
setupRuleAction(javax.faces.event.ActionEvent event)
Handles a rule being clicked ready for an action i.e. |
void |
spaceChanged()
Method called by UIContextService.spaceChanged() to inform all registered beans that the current space has changed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RulesDialog()
| Method Detail |
|---|
public Node getSpace()
public org.alfresco.service.cmr.rule.Rule getCurrentRule()
public java.util.List getRules()
public void setupRuleAction(javax.faces.event.ActionEvent event)
event - The event representing the clickpublic void reapplyRules(javax.faces.event.ActionEvent event)
event - public java.lang.String getIgnoreInheritedRulesLabelId()
public boolean getIgnoreInheritedRules()
public void ignoreInheritedRules(javax.faces.event.ActionEvent event)
event - the action event object
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 void restored()
IDialogBean
restored in interface IDialogBeanrestored in class BaseDialogBeanpublic java.lang.String getCancelButtonLabel()
IDialogBean
getCancelButtonLabel in interface IDialogBeangetCancelButtonLabel in class BaseDialogBeanpublic void setRichList(UIRichList richList)
richList - UIRichList componentpublic UIRichList getRichList()
public void setRuleService(org.alfresco.service.cmr.rule.RuleService ruleService)
ruleService - Sets the rule service to useprotected org.alfresco.service.cmr.rule.RuleService getRuleService()
public void setActionService(org.alfresco.service.cmr.action.ActionService actionService)
actionService - the action servicepublic void contextUpdated()
IContextListener
contextUpdated in interface IContextListenerIContextListener.contextUpdated()public void areaChanged()
IContextListener
areaChanged in interface IContextListenerIContextListener.areaChanged()public void spaceChanged()
IContextListener
spaceChanged in interface IContextListenerIContextListener.spaceChanged()public void filterModeChanged(javax.faces.event.ActionEvent event)
filterModeChanged in interface FilterViewSupportpublic java.util.List getFilterItems()
getFilterItems in interface FilterViewSupportpublic java.lang.String getFilterMode()
getFilterMode in interface FilterViewSupportpublic void setFilterMode(java.lang.String filterMode)
setFilterMode in interface FilterViewSupport
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||