public class NotifyUsersRule extends AbstractRule
Constructor and Description |
---|
NotifyUsersRule() |
Modifier and Type | Method and Description |
---|---|
void |
apply(DocumentEvent event)
Execute the rule
|
boolean |
equals(Object obj) |
String[] |
getAttributesList()
Gets all attributes of the rule
|
String |
getCreateForm(fr.paris.lutece.portal.business.user.AdminUser user,
Locale locale)
Gets the Rule create form
|
String |
getNameKey()
Gets the Rule name key
|
static String |
getParameterKeyMailingListId()
Get the parameter key for the mailing list Id
|
static String |
getParameterKeySourceSpaceId()
Get the parameter key for the source space Id
|
static String |
getParameterKeyStateId()
Get the parameter key for the state Id
|
String |
getRule()
Gets the explicit text of the rule
|
void |
init()
Initialize the rule
|
boolean |
isAuthorized(fr.paris.lutece.portal.business.user.AdminUser user)
true if the user is authorized to view the rule
|
String |
validateRule()
Check the rule
|
getAttribute, getId, getLocale, getRuleTypeId, getUser, readAttributes, setAttribute, setId, setLocale, setRuleTypeId, setUser
public void init()
public String getNameKey()
public void apply(DocumentEvent event) throws DocumentException
event
- The document eventDocumentException
- raise when error occurs in event or rulepublic String getCreateForm(fr.paris.lutece.portal.business.user.AdminUser user, Locale locale)
user
- The current user using the formlocale
- The current localepublic String validateRule()
public boolean isAuthorized(fr.paris.lutece.portal.business.user.AdminUser user)
user
- the current userpublic String[] getAttributesList()
public String getRule()
public static String getParameterKeyMailingListId()
public static String getParameterKeySourceSpaceId()
public static String getParameterKeyStateId()
public boolean equals(Object obj)
AbstractRule
equals
in class AbstractRule
Copyright © 2020 City of Paris. All rights reserved.