|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.document.business.rules.AbstractRule
fr.paris.lutece.plugins.document.modules.rulemovespace.business.MoveSpaceRule
public class MoveSpaceRule
This rule lets move a document from a space to another when the document's state is changing
Constructor Summary | |
---|---|
MoveSpaceRule()
|
Method Summary | |
---|---|
void |
apply(Document document,
fr.paris.lutece.portal.business.user.AdminUser user)
Method invoked by the RuleEngine |
java.lang.String[] |
getAttributesList()
Gets all attributes of the rule |
java.lang.String |
getCreateForm(java.util.Locale locale)
Gets a specific form to enter rule's attributes |
java.lang.String |
getNameKey()
Gets the Rule name key |
java.lang.String |
getRule()
Gets the explicit text of the rule |
Methods inherited from class fr.paris.lutece.plugins.document.business.rules.AbstractRule |
---|
getAttribute, getId, getLocale, getRuleTypeId, readAttributes, setAttribute, setId, setLocale, setRuleTypeId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoveSpaceRule()
Method Detail |
---|
public java.lang.String getNameKey()
public void apply(Document document, fr.paris.lutece.portal.business.user.AdminUser user)
document
- The document concerned by the ruleuser
- The user of the actionpublic java.lang.String getCreateForm(java.util.Locale locale)
locale
- The current Locale
public java.lang.String[] getAttributesList()
public java.lang.String getRule()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |