Class Notification
- java.lang.Object
-
- fr.paris.lutece.plugins.unittree.modules.notification.business.Notification
-
public class Notification extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Notification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEmail()booleangetHasNotif()intgetIdUnit()booleangetUseEmail()booleangetUseList()voidsetEmail(java.lang.String strEmail)voidsetHasNotif(boolean bHasNotif)voidsetIdUnit(int nIdUnit)voidsetUseEmail(boolean bUseEmail)voidsetUseList(boolean bUseList)
-
-
-
Method Detail
-
getIdUnit
public int getIdUnit()
- Returns:
- the id of the unit
-
setIdUnit
public void setIdUnit(int nIdUnit)
- Parameters:
nIdUnit- the id of the unit
-
getEmail
public java.lang.String getEmail()
- Returns:
- the set Email
-
setEmail
public void setEmail(java.lang.String strEmail)
- Parameters:
strEmail- the Email to set
-
getHasNotif
public boolean getHasNotif()
- Returns:
- true if the unit accept notification
-
setHasNotif
public void setHasNotif(boolean bHasNotif)
- Parameters:
bHasNotif- true if the unit accept notification
-
getUseEmail
public boolean getUseEmail()
- Returns:
- true if the unit has is own email and use it for notification (email should not be null)
-
setUseEmail
public void setUseEmail(boolean bUseEmail)
- Parameters:
bUseEmail- true if the unit has is own email and use it for notification (email should not be null)
-
getUseList
public boolean getUseList()
- Returns:
- true if the unit use all user email of the unit for notification
-
setUseList
public void setUseList(boolean bUseList)
- Parameters:
bUseList- true if the unit use all user email of the unit for notification
-
-