org.opencms.gwt.shared
Class CmsAvailabilityInfoBean

java.lang.Object
  extended by org.opencms.gwt.shared.CmsAvailabilityInfoBean
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsAvailabilityInfoBean
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable

A bean that holds the informations of the availability dialog.

Since:
8.0.0

Field Summary
static long DATE_EXPIRED_DEFAULT
          The default expiration date of a resource, which is: never expires.
static long DATE_PUBLISH_SCHEDULED_DEFAULT
          The default release date of a resource, which is: always released.
static long DATE_RELEASED_DEFAULT
          The default release date of a resource, which is: always released.
 
Constructor Summary
CmsAvailabilityInfoBean()
          The default constructor.
CmsAvailabilityInfoBean(String resType, long datePubScheduled, long dateReleased, long dateExpired, int notificationInterval, boolean notificationEnabled, boolean hasSiblings, boolean modifySiblings, Map<CmsPrincipalBean,String> responsibles, String vfsPath, CmsListInfoBean pageInfo)
          The public constructor.
 
Method Summary
 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.
 Map<CmsPrincipalBean,String> getResponsibles()
          Returns the responsibles.
 String getResType()
          Returns the resType.
 String getVfsPath()
          Returns the vfsPath.
 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(Map<CmsPrincipalBean,String> responsibles)
          Sets the responsibles.
 void setResType(String resType)
          Sets the resType.
 void setVfsPath(String vfsPath)
          Sets the vfsPath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_EXPIRED_DEFAULT

public static final long DATE_EXPIRED_DEFAULT
The default expiration date of a resource, which is: never expires.

See Also:
Constant Field Values

DATE_PUBLISH_SCHEDULED_DEFAULT

public static final long DATE_PUBLISH_SCHEDULED_DEFAULT
The default release date of a resource, which is: always released.

See Also:
Constant Field Values

DATE_RELEASED_DEFAULT

public static final long DATE_RELEASED_DEFAULT
The default release date of a resource, which is: always released.

See Also:
Constant Field Values
Constructor Detail

CmsAvailabilityInfoBean

public CmsAvailabilityInfoBean()
The default constructor.


CmsAvailabilityInfoBean

public CmsAvailabilityInfoBean(String resType,
                               long datePubScheduled,
                               long dateReleased,
                               long dateExpired,
                               int notificationInterval,
                               boolean notificationEnabled,
                               boolean hasSiblings,
                               boolean modifySiblings,
                               Map<CmsPrincipalBean,String> responsibles,
                               String vfsPath,
                               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
vfsPath - the vfsPath for the resource
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

getPageInfo

public CmsListInfoBean getPageInfo()
Returns the pageInfo.

Returns:
the pageInfo

getResponsibles

public Map<CmsPrincipalBean,String> getResponsibles()
Returns the responsibles.

Returns:
the responsibles

getResType

public String getResType()
Returns the resType.

Returns:
the resType

getVfsPath

public String getVfsPath()
Returns the vfsPath.

Returns:
the vfsPath

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(Map<CmsPrincipalBean,String> responsibles)
Sets the responsibles.

Parameters:
responsibles - the responsibles to set

setResType

public void setResType(String resType)
Sets the resType.

Parameters:
resType - the resType to set

setVfsPath

public void setVfsPath(String vfsPath)
Sets the vfsPath.

Parameters:
vfsPath - the vfsPath to set