|
||||||||||
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.rulenotifyusers.business.NotifyUsersRule
public class NotifyUsersRule
This class provides a rule to notify users on document events
Constructor Summary | |
---|---|
NotifyUsersRule()
|
Method Summary | |
---|---|
void |
apply(Document document,
fr.paris.lutece.portal.business.user.AdminUser user)
Apply the rule if conditions are met by the document and the user |
java.lang.String[] |
getAttributesList()
Gets all attributes of the rule |
java.lang.String |
getCreateForm(java.util.Locale locale)
Gets the Rule create form |
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 NotifyUsersRule()
Method Detail |
---|
public java.lang.String getNameKey()
public void apply(Document document, fr.paris.lutece.portal.business.user.AdminUser user)
document
- The documentuser
- The userpublic 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 |