com.filenet.api.constants
Class RetentionConstants
- java.lang.Object
-
- com.filenet.api.constants.RetentionConstants
-
public class RetentionConstants extends java.lang.ObjectProvides a set of constants for specifying special retention period values for a CmRetentionDate or DefaultRetentionPeriod property.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.util.DateINDEFINITESpecifies an indefinite retention period for a CmRetentionDate property.static java.lang.IntegerINDEFINITE_PERIODSpecifies an indefinite retention period for a DefaultRetentionPeriod property.static intINDEFINITE_PERIOD_AS_INTAnintvalue associated with the INDEFINITE_PERIOD instance of this class.static java.util.DatePERMANENTSpecifies a permanent retention period for a CmRetentionDate property.static java.lang.IntegerPERMANENT_PERIODSpecifies a permanent retention period for a DefaultRetentionPeriod property.static intPERMANENT_PERIOD_AS_INTAnintvalue associated with the PERMANENT_PERIOD instance of this class.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.lang.StringtoString(java.lang.Object val)Returns aStringrepresentation of this instance.
-
-
-
Field Detail
-
PERMANENT_PERIOD_AS_INT
public static final int PERMANENT_PERIOD_AS_INT
Anintvalue associated with the PERMANENT_PERIOD instance of this class. Consider using the static instances of this class instead of the associatedintvalues. Theintvalues risk binary incompatibility (but not source incompatibility from release to release.- See Also:
- Constant Field Values
-
PERMANENT_PERIOD
public static final java.lang.Integer PERMANENT_PERIOD
Specifies a permanent retention period for a DefaultRetentionPeriod property. An object with a permanent retention period can never be deleted.
-
PERMANENT
public static final java.util.Date PERMANENT
Specifies a permanent retention period for a CmRetentionDate property. An object with a permanent retention period can never be deleted.
-
INDEFINITE_PERIOD_AS_INT
public static final int INDEFINITE_PERIOD_AS_INT
Anintvalue associated with the INDEFINITE_PERIOD instance of this class. Consider using the static instances of this class instead of the associatedintvalues. Theintvalues risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
INDEFINITE_PERIOD
public static final java.lang.Integer INDEFINITE_PERIOD
Specifies an indefinite retention period for a DefaultRetentionPeriod property. An object with an indefinite retention period can be deleted only if its CmRetentionDate property is changed to an expiration date and time and that date and time is in the past.
-
INDEFINITE
public static final java.util.Date INDEFINITE
Specifies an indefinite retention period for a CmRetentionDate property. An object with an indefinite retention period can be deleted only if its CmRetentionDate property is changed to an expiration date and time and that date and time is in the past.
-
-