com.filenet.rm.api

Class ValidationError

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


  • public class ValidationError
    extends java.lang.Object
    Represents an error that is found when the business rules are verified during a DoD Chapter 4 security classification action.
    • Field Detail

      • NO_UPGRADE_CLASSIFICATION

        public static final int NO_UPGRADE_CLASSIFICATION
        The upgrade action lacks a new current classification.
        See Also:
        Constant Field Values
      • NO_UPGRADE_REASONS

        public static final int NO_UPGRADE_REASONS
        The upgrade action lacks reasons for upgrade.
        See Also:
        Constant Field Values
      • NO_UPGRADED_BY

        public static final int NO_UPGRADED_BY
        The upgrade action lacks an "upgraded by".
        See Also:
        Constant Field Values
      • NO_UPGRADED_ON

        public static final int NO_UPGRADED_ON
        The upgrade action lacks an upgrade date.
        See Also:
        Constant Field Values
      • NO_DOWNGRADE_CLASSIFICATION

        public static final int NO_DOWNGRADE_CLASSIFICATION
        The downgrade action lacks a new current classification.
        See Also:
        Constant Field Values
      • NO_DOWNGRADED_BY

        public static final int NO_DOWNGRADED_BY
        The downgrade action lacks a "downgraded by".
        See Also:
        Constant Field Values
      • NO_DOWNGRADED_ON

        public static final int NO_DOWNGRADED_ON
        The downgrade action lacks a downgrade date.
        See Also:
        Constant Field Values
      • NO_DECLASSIFIED_BY

        public static final int NO_DECLASSIFIED_BY
        The declassify action lacks a "declassified by".
        See Also:
        Constant Field Values
      • NO_DECLASSIFIED_ON

        public static final int NO_DECLASSIFIED_ON
        The declassify action lacks a declassification date.
        See Also:
        Constant Field Values
      • INVALID_INITIAL_CLASSIFICATION

        public static final int INVALID_INITIAL_CLASSIFICATION
        The security classification action lacks an initial classification.
        See Also:
        Constant Field Values
      • INVALID_CURRENT_CLASSIFICATION

        public static final int INVALID_CURRENT_CLASSIFICATION
        The security classification action lacks an current classification.
        See Also:
        Constant Field Values
      • INVALID_CLASSIFICATION_AUTHORITY

        public static final int INVALID_CLASSIFICATION_AUTHORITY
        The security classification action lacks a classification authority.
        See Also:
        Constant Field Values
      • INVALID_CLASSIFICATION_AGENCY

        public static final int INVALID_CLASSIFICATION_AGENCY
        The security classification action lacks a classification agency.
        See Also:
        Constant Field Values
      • INVALID_DECLASSIFY_DATA

        public static final int INVALID_DECLASSIFY_DATA
        There is no valid declassify on date.
        See Also:
        Constant Field Values
      • INVALID_DECLASSIFY_DATA_RESTRICTED

        public static final int INVALID_DECLASSIFY_DATA_RESTRICTED
        There is a "declassify on", but the record is restricted.
        See Also:
        Constant Field Values
      • INVALID_DOWNGRADE_DATA_RESTRICTED

        public static final int INVALID_DOWNGRADE_DATA_RESTRICTED
        There is a "downgrade on", but the record is restricted.
        See Also:
        Constant Field Values
      • INVALID_EXEMPTION_DATA_RESTRICTED

        public static final int INVALID_EXEMPTION_DATA_RESTRICTED
        There is an "exemption", but the record is restricted.
        See Also:
        Constant Field Values
      • NO_DOWNGRADE_INSTRUCTIONS

        public static final int NO_DOWNGRADE_INSTRUCTIONS
        There are no downgrade instructions provided when "downgrade on" is set.
        See Also:
        Constant Field Values
      • NO_REVIEWED_BY

        public static final int NO_REVIEWED_BY
        There is a review date, but no reviewer.
        See Also:
        Constant Field Values
      • DECLASSIFY_DATE_NOT_WITHIN_TIME_LIMIT

        public static final int DECLASSIFY_DATE_NOT_WITHIN_TIME_LIMIT
        The declassification date exceeds the maximum allowed timeframe.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ValidationError

        public ValidationError()
        Creates a ValidationError object using the default values for the error code and message.
      • ValidationError

        public ValidationError(int code,
                       int message)
        Creates a ValidationError object with the specified error code and message.
        Parameters:
        code - An int value representing the error code.
        message - A String variable containing the message to be displayed for this object.
    • Method Detail

      • getCode

        public final int getCode()
        Returns the error code for this ValidationError object.
        Returns:
        int An int value representing the error code.
      • getMessage

        public final java.lang.String getMessage()
        Returns the message associated with this ValidationError object.
        Returns:
        A String containing the message associated with this object.

© Copyright IBM Corp. 2003, 2013. All Rights Reserved.