Class NotificationFilter
- java.lang.Object
-
- fr.paris.lutece.plugins.grubusiness.business.notification.NotificationFilter
-
public class NotificationFilter extends Object
NotificationFilter for DAO A base notificationFilter return all notifications without details on sub object
-
-
Constructor Summary
Constructors Constructor Description NotificationFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsBackofficeNotificationType()Check if this filter contains a hasBackofficeNotificationbooleancontainsBroadcastEmailNotificationType()Check if this filter contains a hasBroadcastEmailNotificationbooleancontainsCustomerEmailNotificationType()Check if this filter contains a hasCustomerEmailNotificationbooleancontainsDemandId()Check if this filter contains a demandIdbooleancontainsDemandTypeId()Check if this filter contains a demandTypeIdbooleancontainsEndDate()test if filter contains end datebooleancontainsId()Check if this filter contains a idbooleancontainsMyDashboardNotificationType()Check if this filter contains a hasMyDashboardNotificationbooleancontainsNotificationTypeFilter()Check if this filter contains a notification type filterbooleancontainsSmsNotificationType()Check if this filter contains a hasSmsNotificationbooleancontainsStartDate()test if filter contains start dateStringgetDemandId()StringgetDemandTypeId()longgetEndDate()get end dateStringgetEventStatus()get event statusList<Integer>getIds()Get the idList<EnumNotificationType>getListNotificationType()longgetStartDate()get start datevoidsetDemandId(String strDemandId)voidsetDemandTypeId(String strDemandTypeId)voidsetEndDate(long _lEndDate)set end datevoidsetEventStatus(String strEventStatus)set event statusvoidsetIds(List<Integer> listIds)The idvoidsetListNotificationType(List<EnumNotificationType> listNotificationType)voidsetStartDate(long _lStartDate)set start date
-
-
-
Method Detail
-
containsId
public boolean containsId()
Check if this filter contains a id- Returns:
- true if the filter contain an id
-
containsDemandId
public boolean containsDemandId()
Check if this filter contains a demandId- Returns:
- true if the filter contain an id of demand
-
getDemandId
public String getDemandId()
- Returns:
- the demandId
-
setDemandId
public void setDemandId(String strDemandId)
- Parameters:
strDemandId- the demandId to set
-
containsDemandTypeId
public boolean containsDemandTypeId()
Check if this filter contains a demandTypeId- Returns:
- true if the filter contain an id of demandType
-
getDemandTypeId
public String getDemandTypeId()
- Returns:
- the demandTypeId
-
setDemandTypeId
public void setDemandTypeId(String strDemandTypeId)
- Parameters:
strDemandTypeId- the demandTypeId to set
-
containsCustomerEmailNotificationType
public boolean containsCustomerEmailNotificationType()
Check if this filter contains a hasCustomerEmailNotification- Returns:
- true if the filter contain a hasCustomerEmailNotification
-
containsSmsNotificationType
public boolean containsSmsNotificationType()
Check if this filter contains a hasSmsNotification- Returns:
- true if the filter contain a hasSmsNotification
-
containsBackofficeNotificationType
public boolean containsBackofficeNotificationType()
Check if this filter contains a hasBackofficeNotification- Returns:
- true if the filter contain a hasBackofficeNotification
-
containsMyDashboardNotificationType
public boolean containsMyDashboardNotificationType()
Check if this filter contains a hasMyDashboardNotification- Returns:
- true if the filter contain a hasMyDashboardNotification
-
containsBroadcastEmailNotificationType
public boolean containsBroadcastEmailNotificationType()
Check if this filter contains a hasBroadcastEmailNotification- Returns:
- true if the filter contain a hasBroadcastEmailNotification
-
containsNotificationTypeFilter
public boolean containsNotificationTypeFilter()
Check if this filter contains a notification type filter- Returns:
- true if the filter contain a notification type filter
-
containsStartDate
public boolean containsStartDate()
test if filter contains start date- Returns:
- true if starDate > 0
-
getStartDate
public long getStartDate()
get start date- Returns:
- the start date
-
setStartDate
public void setStartDate(long _lStartDate)
set start date- Parameters:
_lStartDate-
-
containsEndDate
public boolean containsEndDate()
test if filter contains end date- Returns:
- true if endDate > 0
-
getEndDate
public long getEndDate()
get end date- Returns:
- the end date
-
setEndDate
public void setEndDate(long _lEndDate)
set end date- Parameters:
_lEndDate-
-
getEventStatus
public String getEventStatus()
get event status- Returns:
- the status filter
-
setEventStatus
public void setEventStatus(String strEventStatus)
set event status- Parameters:
strEventStatus-
-
getListNotificationType
public List<EnumNotificationType> getListNotificationType()
- Returns:
- the _listNotificationType
-
setListNotificationType
public void setListNotificationType(List<EnumNotificationType> listNotificationType)
- Parameters:
listNotificationType- the _listNotificationType to set
-
-