Class 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 Detail

      • 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 type
        datePubScheduled - the publish scheduled date
        dateReleased - the release date
        dateExpired - the expiration date
        notificationInterval - the notification interval
        notificationEnabled - the notification flag
        hasSiblings - the sibling flag
        modifySiblings - the modify sibling flag
        responsibles - the responsible users map
        pageInfo - 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
      • 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