Index
Object PCRE.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.
FILE_EXPIRES_IN_N_DAYS- expiration mode indicating the file expires in the specified number of days
FILE_EXPIRES_IN_N_MINUTES- expiration mode indicating the file expires in the specified number of minutes
FILE_NEVER_EXPIRES- expiration mode indicating the file never expires
USE_DEFAULTS- expiration mode indicating the folder defaults should be used
getExpirationModeString()
- Get expiration mode string
getExpirationPropertiesMode()
- Returns the ExpirationProperties mode for this ExpirationOptions
getExpirationTimestamp()
- Calculate expiration timestamp
getInterval()
- get the expiration interval
getMode()
- get the expiration mode
toString()
- Returns a String which describes this expiration setting
validate()
- Validate ExpirationOptions settings
USE_DEFAULTS
int USE_DEFAULTS
expiration mode indicating the folder defaults should be used
FILE_NEVER_EXPIRES
int FILE_NEVER_EXPIRES
expiration mode indicating the file never expires
FILE_EXPIRES_IN_N_MINUTES
int FILE_EXPIRES_IN_N_MINUTES
expiration mode indicating the file expires in the specified number of minutes
FILE_EXPIRES_IN_N_DAYS
int FILE_EXPIRES_IN_N_DAYS
expiration mode indicating the file expires in the specified number of days
getMode
int getMode()
get the expiration mode
- Returns:
- expiration mode integer value
getInterval
int getInterval()
get the expiration interval
- Returns:
- the expiration interval
toString
String toString()
Returns a String which describes this expiration setting
- Returns:
- a String which describes this expiration setting
getExpirationModeString
String getExpirationModeString()
Get expiration mode string
- Returns:
- String which describes this expiration
validate
void validate()
Validate ExpirationOptions settings
getExpirationTimestamp
Timestamp getExpirationTimestamp()
Calculate expiration timestamp
- Returns:
- the correct Timestamp value
getExpirationPropertiesMode
int getExpirationPropertiesMode()
Returns the ExpirationProperties mode for this ExpirationOptions
- Returns:
- the ExpirationProperties mode for this ExpirationOptions
Index