Class Notification
java.lang.Object
fr.paris.lutece.plugins.unittree.modules.notification.business.Notification
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()booleanintbooleanbooleanvoidvoidsetHasNotif(boolean bHasNotif) voidsetIdUnit(int nIdUnit) voidsetUseEmail(boolean bUseEmail) voidsetUseList(boolean bUseList)
-
Constructor Details
-
Notification
public Notification()
-
-
Method Details
-
getIdUnit
public int getIdUnit()- Returns:
- the id of the unit
-
setIdUnit
public void setIdUnit(int nIdUnit) - Parameters:
nIdUnit- the id of the unit
-
getEmail
- Returns:
- the set Email
-
setEmail
- 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
-