|
||||||||||
| 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(DocumentEvent event)
Execute the rule |
boolean |
equals(java.lang.Object obj)
|
java.lang.String[] |
getAttributesList()
Gets all attributes of the rule |
java.lang.String |
getCreateForm(fr.paris.lutece.portal.business.user.AdminUser user,
java.util.Locale locale)
Gets the Rule create form |
java.lang.String |
getNameKey()
Gets the Rule name key |
static java.lang.String |
getParameterKeyMailingListId()
Get the parameter key for the mailing list Id |
static java.lang.String |
getParameterKeySourceSpaceId()
Get the parameter key for the source space Id |
static java.lang.String |
getParameterKeyStateId()
Get the parameter key for the state Id |
java.lang.String |
getRule()
Gets the explicit text of the rule |
void |
init()
Initialize the rule |
java.lang.String |
validateRule()
Check 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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotifyUsersRule()
| Method Detail |
|---|
public void init()
public java.lang.String getNameKey()
public void apply(DocumentEvent event)
throws DocumentException
event - The document event
DocumentException - raise when error occurs in event or rule
public java.lang.String getCreateForm(fr.paris.lutece.portal.business.user.AdminUser user,
java.util.Locale locale)
user - The current user using the formlocale - The current locale
public java.lang.String validateRule()
public java.lang.String[] getAttributesList()
public java.lang.String getRule()
public static java.lang.String getParameterKeyMailingListId()
public static java.lang.String getParameterKeySourceSpaceId()
public static java.lang.String getParameterKeyStateId()
public boolean equals(java.lang.Object obj)
equals in class AbstractRule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||