Class NotificationFilter
java.lang.Object
fr.paris.lutece.plugins.grubusiness.business.notification.NotificationFilter
NotificationFilter for DAO A base notificationFilter return all notifications without details on sub object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if this filter contains a hasBackofficeNotificationbooleanCheck if this filter contains a hasBroadcastEmailNotificationbooleanCheck if this filter contains a hasCustomerEmailNotificationbooleanCheck if this filter contains a CustomerIdbooleanCheck if this filter contains a demandIdbooleanCheck if this filter contains a demandTypeIdbooleantest if filter contains end datebooleanCheck if this filter contains a idbooleanCheck if this filter contains a hasMyDashboardNotificationbooleanCheck if this filter contains a notification type filterbooleanCheck if this filter contains a hasSmsNotificationbooleantest if filter contains start datelongget end dateget event statusgetIds()Get the idlongget start datevoidsetCustomerId(String strCustomerId) voidsetDemandId(String strDemandId) voidsetDemandTypeId(String strDemandTypeId) voidsetEndDate(long _lEndDate) set end datevoidsetEventStatus(String strEventStatus) set event statusvoidThe idvoidsetListNotificationType(List<EnumNotificationType> listNotificationType) voidsetStartDate(long _lStartDate) set start date
-
Constructor Details
-
NotificationFilter
public NotificationFilter()
-
-
Method Details
-
containsId
public boolean containsId()Check if this filter contains a id- Returns:
- true if the filter contain an id
-
getIds
Get the id- Returns:
- the id
-
setIds
The id- Parameters:
strId- the id
-
containsDemandId
public boolean containsDemandId()Check if this filter contains a demandId- Returns:
- true if the filter contain an id of demand
-
getDemandId
- Returns:
- the demandId
-
setDemandId
- 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
- Returns:
- the demandTypeId
-
setDemandTypeId
- Parameters:
strDemandTypeId- the demandTypeId to set
-
containsCustomerId
public boolean containsCustomerId()Check if this filter contains a CustomerId- Returns:
- true if the filter contain an id of Customer
-
getCustomerId
- Returns:
- the CustomerId
-
setCustomerId
- Parameters:
strCustomerId- the CustomerId 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
get event status- Returns:
- the status filter
-
setEventStatus
set event status- Parameters:
strEventStatus-
-
getListNotificationType
- Returns:
- the _listNotificationType
-
setListNotificationType
- Parameters:
listNotificationType- the _listNotificationType to set
-