public class BusinessRules
extends java.lang.Object
Constructor and Description |
---|
BusinessRules() |
Modifier and Type | Method and Description |
---|---|
static int |
getRMDeclassificationOffset(com.filenet.wcm.api.ObjectStore aoObjectStore)
Returns the declassification offset for this object.
|
static ValidationErrors |
validateSecurityClassification(com.filenet.wcm.api.Properties aoRecordProps,
com.filenet.wcm.api.ObjectStore aoObjectStore)
Validates the specified properties to perform an initial security classification action.
|
static ValidationErrors |
validateSecurityDeclassify(com.filenet.wcm.api.Properties aoRecordProps)
Validates the specified properties to perform a declassify action.
|
static ValidationErrors |
validateSecurityDowngrade(com.filenet.wcm.api.Properties aoRecordProps)
Validates the specified properties to perform a downgrade action.
|
static ValidationErrors |
validateSecurityUpgrade(com.filenet.wcm.api.Properties aoRecordProps)
Validates the specified properties to perform an upgrade action.
|
public static ValidationErrors validateSecurityClassification(com.filenet.wcm.api.Properties aoRecordProps, com.filenet.wcm.api.ObjectStore aoObjectStore)
aoRecordProps
- A Properties
collection containing the properties for the
security classification action.aoObjectStore
- An ObjectStore
object identifying the object store
for the file plan.ValidationErrors
collection containing the errors for
the business rules that failed validation. Returns an empty collection if there are no
validation errors.public static ValidationErrors validateSecurityUpgrade(com.filenet.wcm.api.Properties aoRecordProps)
aoRecordProps
- A Properties
collection containing the properties for the
upgrade action.ValidationErrors
collection containing the errors for
the business rules that failed validation. Returns an empty collection if there are no
validation errors.public static ValidationErrors validateSecurityDowngrade(com.filenet.wcm.api.Properties aoRecordProps)
aoRecordProps
- A Properties
collection containing the properties for the
downgrade action.ValidationErrors
collection containing the errors for
the business rules that failed validation. Returns an empty collection if there are no
validation errors.public static ValidationErrors validateSecurityDeclassify(com.filenet.wcm.api.Properties aoRecordProps)
aoRecordProps
- A Properties
collection containing the properties for the
declassify action.ValidationErrors
collection containing the errors for
the business rules that failed validation. Returns an empty collection if there are no
validation errors.public static int getRMDeclassificationOffset(com.filenet.wcm.api.ObjectStore aoObjectStore)
aoObjectStore
- An ObjectStore
object identifying the object store
for the FPOS data model.int
value representing the declassification offset for classification
of a record.RMException
- If this method is not called in the context of a DoD Chapter 4 data model.© Copyright IBM Corp. 2003, 2013. All Rights Reserved.