com.filenet.rm.api

Class BusinessRules

  • java.lang.Object
    • com.filenet.rm.api.BusinessRules


  • public class BusinessRules
    extends java.lang.Object
    Represents a set of business rules that are applied to security classification actions.
    • Constructor Summary

      Constructors 
      Constructor and Description
      BusinessRules() 
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BusinessRules

        public BusinessRules()
    • Method Detail

      • validateSecurityClassification

        public 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.
        Parameters:
        aoRecordProps - A Properties collection containing the properties for the security classification action.
        aoObjectStore - An ObjectStore object identifying the object store for the file plan.
        Returns:
        A ValidationErrors collection containing the errors for the business rules that failed validation. Returns an empty collection if there are no validation errors.
      • validateSecurityUpgrade

        public static ValidationErrors validateSecurityUpgrade(com.filenet.wcm.api.Properties aoRecordProps)
        Validates the specified properties to perform an upgrade action.
        Parameters:
        aoRecordProps - A Properties collection containing the properties for the upgrade action.
        Returns:
        A ValidationErrors collection containing the errors for the business rules that failed validation. Returns an empty collection if there are no validation errors.
      • validateSecurityDowngrade

        public static ValidationErrors validateSecurityDowngrade(com.filenet.wcm.api.Properties aoRecordProps)
        Validates the specified properties to perform a downgrade action.
        Parameters:
        aoRecordProps - A Properties collection containing the properties for the downgrade action.
        Returns:
        A ValidationErrors collection containing the errors for the business rules that failed validation. Returns an empty collection if there are no validation errors.
      • validateSecurityDeclassify

        public static ValidationErrors validateSecurityDeclassify(com.filenet.wcm.api.Properties aoRecordProps)
        Validates the specified properties to perform a declassify action.
        Parameters:
        aoRecordProps - A Properties collection containing the properties for the declassify action.
        Returns:
        A ValidationErrors collection containing the errors for the business rules that failed validation. Returns an empty collection if there are no validation errors.
      • getRMDeclassificationOffset

        public static int getRMDeclassificationOffset(com.filenet.wcm.api.ObjectStore aoObjectStore)
        Returns the declassification offset for this object.
        Parameters:
        aoObjectStore - An ObjectStore object identifying the object store for the FPOS data model.
        Returns:
        An int value representing the declassification offset for classification of a record.
        Throws:
        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.