Index

Object HARMONI.RepositoryExpirationOptions


This class describes the desired expiration options when checking in an output file, modifying an output file or creating/modifying a folder. It is a mirror class of the ExpirationOptions from the com.dynalivery.repository.util package.

Variable Index

 o FILE_EXPIRES_IN_N_DAYS
expiration mode indicating the file expires in the specified number of days
 o FILE_EXPIRES_IN_N_MINUTES
expiration mode indicating the file expires in the specified number of minutes
 o FILE_NEVER_EXPIRES
expiration mode indicating the file never expires
 o USE_DEFAULTS
expiration mode indicating the folder defaults should be used

Method Index

 o getExpirationModeString()
Get expiration mode string
 o getExpirationPropertiesMode()
Returns the ExpirationProperties mode for this ExpirationOptions
 o getExpirationTimestamp()
Calculate expiration timestamp
 o getInterval()
get the expiration interval
 o getMode()
get the expiration mode
 o toString()
Returns a String which describes this expiration setting
 o validate()
Validate ExpirationOptions settings

Field Detail

 o USE_DEFAULTS
int USE_DEFAULTS
          expiration mode indicating the folder defaults should be used
 o FILE_NEVER_EXPIRES
int FILE_NEVER_EXPIRES
          expiration mode indicating the file never expires
 o FILE_EXPIRES_IN_N_MINUTES
int FILE_EXPIRES_IN_N_MINUTES
          expiration mode indicating the file expires in the specified number of minutes
 o FILE_EXPIRES_IN_N_DAYS
int FILE_EXPIRES_IN_N_DAYS
          expiration mode indicating the file expires in the specified number of days

Method Detail

 o getMode
int getMode()
          get the expiration mode
Returns:
expiration mode integer value
 o getInterval
int getInterval()
          get the expiration interval
Returns:
the expiration interval
 o toString
String toString()
          Returns a String which describes this expiration setting
Returns:
a String which describes this expiration setting
 o getExpirationModeString
String getExpirationModeString()
          Get expiration mode string
Returns:
String which describes this expiration
 o validate
void validate()
          Validate ExpirationOptions settings
 o getExpirationTimestamp
Timestamp getExpirationTimestamp()
          Calculate expiration timestamp
Returns:
the correct Timestamp value
 o getExpirationPropertiesMode
int getExpirationPropertiesMode()
          Returns the ExpirationProperties mode for this ExpirationOptions
Returns:
the ExpirationProperties mode for this ExpirationOptions

Index