Class NotificationFilter
- java.lang.Object
-
- fr.paris.lutece.plugins.grubusiness.business.notification.NotificationFilter
-
public class NotificationFilter extends java.lang.ObjectNotificationFilter 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 hasCustomerEmailNotificationbooleancontainsCustomerId()Check if this filter contains a CustomerIdbooleancontainsDemandId()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 datejava.lang.StringgetCustomerId()java.lang.StringgetDemandId()java.lang.StringgetDemandTypeId()longgetEndDate()get end datejava.lang.StringgetEventStatus()get event statusjava.util.List<java.lang.Integer>getIds()Get the idjava.util.List<EnumNotificationType>getListNotificationType()longgetStartDate()get start datevoidsetCustomerId(java.lang.String strCustomerId)voidsetDemandId(java.lang.String strDemandId)voidsetDemandTypeId(java.lang.String strDemandTypeId)voidsetEndDate(long _lEndDate)set end datevoidsetEventStatus(java.lang.String strEventStatus)set event statusvoidsetIds(java.util.List<java.lang.Integer> listIds)The idvoidsetListNotificationType(java.util.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
-
getIds
public java.util.List<java.lang.Integer> getIds()
Get the id- Returns:
- the id
-
setIds
public void setIds(java.util.List<java.lang.Integer> listIds)
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
public java.lang.String getDemandId()
- Returns:
- the demandId
-
setDemandId
public void setDemandId(java.lang.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 java.lang.String getDemandTypeId()
- Returns:
- the demandTypeId
-
setDemandTypeId
public void setDemandTypeId(java.lang.String strDemandTypeId)
- 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
public java.lang.String getCustomerId()
- Returns:
- the CustomerId
-
setCustomerId
public void setCustomerId(java.lang.String strCustomerId)
- 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
public java.lang.String getEventStatus()
get event status- Returns:
- the status filter
-
setEventStatus
public void setEventStatus(java.lang.String strEventStatus)
set event status- Parameters:
strEventStatus-
-
getListNotificationType
public java.util.List<EnumNotificationType> getListNotificationType()
- Returns:
- the _listNotificationType
-
setListNotificationType
public void setListNotificationType(java.util.List<EnumNotificationType> listNotificationType)
- Parameters:
listNotificationType- the _listNotificationType to set
-
-