Class CmsAvailabilityInfoBean
- java.lang.Object
-
- org.opencms.ui.dialogs.availability.CmsAvailabilityInfoBean
-
- All Implemented Interfaces:
java.io.Serializable
public class CmsAvailabilityInfoBean extends java.lang.Object implements java.io.Serializable
A bean that holds the informations of the availability dialog.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CmsAvailabilityInfoBean()
The default constructor.CmsAvailabilityInfoBean(java.lang.String resType, long datePubScheduled, long dateReleased, long dateExpired, int notificationInterval, boolean notificationEnabled, boolean hasSiblings, boolean modifySiblings, java.util.Map<CmsPrincipalBean,java.lang.String> responsibles, CmsListInfoBean pageInfo)
The public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDateExpired()
Returns the dateExpired.long
getDatePubScheduled()
Returns the datePubScheduled.long
getDateReleased()
Returns the dateReleased.int
getNotificationInterval()
Returns the notificationInterval.CmsListInfoBean
getPageInfo()
Returns the pageInfo.java.util.Map<CmsPrincipalBean,java.lang.String>
getResponsibles()
Returns the responsibles.java.lang.String
getResType()
Returns the resType.boolean
isHasSiblings()
Returns the hasSiblings.boolean
isModifySiblings()
Returns the modifySiblings.boolean
isNotificationEnabled()
Returns the notificationEnabled.void
setDateExpired(long dateExpired)
Sets the dateExpired.void
setDatePubScheduled(long datePubScheduled)
Sets the datePubScheduled.void
setDateReleased(long dateReleased)
Sets the dateReleased.void
setHasSiblings(boolean hasSiblings)
Sets the hasSiblings.void
setModifySiblings(boolean modifySiblings)
Sets the modifySiblings.void
setNotificationEnabled(boolean notificationEnabled)
Sets the notificationEnabled.void
setNotificationInterval(int notificationInterval)
Sets the notificationInterval.void
setPageInfo(CmsListInfoBean pageInfo)
Sets the pageInfo.void
setResponsibles(java.util.Map<CmsPrincipalBean,java.lang.String> responsibles)
Sets the responsibles.void
setResType(java.lang.String resType)
Sets the resType.
-
-
-
Constructor Detail
-
CmsAvailabilityInfoBean
public CmsAvailabilityInfoBean()
The default constructor.
-
CmsAvailabilityInfoBean
public CmsAvailabilityInfoBean(java.lang.String resType, long datePubScheduled, long dateReleased, long dateExpired, int notificationInterval, boolean notificationEnabled, boolean hasSiblings, boolean modifySiblings, java.util.Map<CmsPrincipalBean,java.lang.String> responsibles, CmsListInfoBean pageInfo)
The public constructor.- Parameters:
resType
- the resource typedatePubScheduled
- the publish scheduled datedateReleased
- the release datedateExpired
- the expiration datenotificationInterval
- the notification intervalnotificationEnabled
- the notification flaghasSiblings
- the sibling flagmodifySiblings
- the modify sibling flagresponsibles
- the responsible users mappageInfo
- the page info
-
-
Method Detail
-
getDateExpired
public long getDateExpired()
Returns the dateExpired.- Returns:
- the dateExpired
-
getDatePubScheduled
public long getDatePubScheduled()
Returns the datePubScheduled.- Returns:
- the datePubScheduled
-
getDateReleased
public long getDateReleased()
Returns the dateReleased.- Returns:
- the dateReleased
-
getNotificationInterval
public int getNotificationInterval()
Returns the notificationInterval.- Returns:
- the notificationInterval
-
getPageInfo
public CmsListInfoBean getPageInfo()
Returns the pageInfo.- Returns:
- the pageInfo
-
getResponsibles
public java.util.Map<CmsPrincipalBean,java.lang.String> getResponsibles()
Returns the responsibles.- Returns:
- the responsibles
-
getResType
public java.lang.String getResType()
Returns the resType.- Returns:
- the resType
-
isHasSiblings
public boolean isHasSiblings()
Returns the hasSiblings.- Returns:
- the hasSiblings
-
isModifySiblings
public boolean isModifySiblings()
Returns the modifySiblings.- Returns:
- the modifySiblings
-
isNotificationEnabled
public boolean isNotificationEnabled()
Returns the notificationEnabled.- Returns:
- the notificationEnabled
-
setDateExpired
public void setDateExpired(long dateExpired)
Sets the dateExpired.- Parameters:
dateExpired
- the dateExpired to set
-
setDatePubScheduled
public void setDatePubScheduled(long datePubScheduled)
Sets the datePubScheduled.- Parameters:
datePubScheduled
- the datePubScheduled to set
-
setDateReleased
public void setDateReleased(long dateReleased)
Sets the dateReleased.- Parameters:
dateReleased
- the dateReleased to set
-
setHasSiblings
public void setHasSiblings(boolean hasSiblings)
Sets the hasSiblings.- Parameters:
hasSiblings
- the hasSiblings to set
-
setModifySiblings
public void setModifySiblings(boolean modifySiblings)
Sets the modifySiblings.- Parameters:
modifySiblings
- the modifySiblings to set
-
setNotificationEnabled
public void setNotificationEnabled(boolean notificationEnabled)
Sets the notificationEnabled.- Parameters:
notificationEnabled
- the notificationEnabled to set
-
setNotificationInterval
public void setNotificationInterval(int notificationInterval)
Sets the notificationInterval.- Parameters:
notificationInterval
- the notificationInterval to set
-
setPageInfo
public void setPageInfo(CmsListInfoBean pageInfo)
Sets the pageInfo.- Parameters:
pageInfo
- the pageInfo to set
-
setResponsibles
public void setResponsibles(java.util.Map<CmsPrincipalBean,java.lang.String> responsibles)
Sets the responsibles.- Parameters:
responsibles
- the responsibles to set
-
setResType
public void setResType(java.lang.String resType)
Sets the resType.- Parameters:
resType
- the resType to set
-
-