com.filenet.rm.api

Class ValidationError

  1. java.lang.Object
  2. extended bycom.filenet.rm.api.ValidationError

  1. public class ValidationError
  2. 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 Summary

Modifier and Type Field and Description
  1. static
  2. int
DECLASSIFY_DATE_NOT_WITHIN_TIME_LIMIT
The declassification date exceeds the maximum allowed timeframe.
  1. static
  2. int
INVALID_CLASSIFICATION_AGENCY
The security classification action lacks a classification agency.
  1. static
  2. int
INVALID_CLASSIFICATION_AUTHORITY
The security classification action lacks a classification authority.
  1. static
  2. int
INVALID_CURRENT_CLASSIFICATION
The security classification action lacks an current classification.
  1. static
  2. int
INVALID_DECLASSIFY_DATA
There is no valid declassify on date.
  1. static
  2. int
INVALID_DECLASSIFY_DATA_RESTRICTED
There is a "declassify on", but the record is restricted.
  1. static
  2. int
INVALID_DOWNGRADE_DATA_RESTRICTED
There is a "downgrade on", but the record is restricted.
  1. static
  2. int
INVALID_EXEMPTION_DATA_RESTRICTED
There is an "exemption", but the record is restricted.
  1. static
  2. int
INVALID_INITIAL_CLASSIFICATION
The security classification action lacks an initial classification.
  1. static
  2. int
NO_DECLASSIFIED_BY
The declassify action lacks a "declassified by".
  1. static
  2. int
NO_DECLASSIFIED_ON
The declassify action lacks a declassification date.
  1. static
  2. int
NO_DOWNGRADE_CLASSIFICATION
The downgrade action lacks a new current classification.
  1. static
  2. int
NO_DOWNGRADE_INSTRUCTIONS
There are no downgrade instructions provided when "downgrade on" is set.
  1. static
  2. int
NO_DOWNGRADED_BY
The downgrade action lacks a "downgraded by".
  1. static
  2. int
NO_DOWNGRADED_ON
The downgrade action lacks a downgrade date.
  1. static
  2. int
NO_REVIEWED_BY
There is a review date, but no reviewer.
  1. static
  2. int
NO_UPGRADE_CLASSIFICATION
The upgrade action lacks a new current classification.
  1. static
  2. int
NO_UPGRADE_REASONS
The upgrade action lacks reasons for upgrade.
  1. static
  2. int
NO_UPGRADED_BY
The upgrade action lacks an "upgraded by".
  1. static
  2. int
NO_UPGRADED_ON
The upgrade action lacks an upgrade date.

Constructor Summary

Constructor and Description
ValidationError()
Creates a ValidationError object using the default values for the error code and message.
ValidationError(int code,int message)
Creates a ValidationError object with the specified error code and message.

Method Summary

Modifier and Type Method and Description
  1. int
getCode()
Returns the error code for this ValidationError object.
  1. java.lang.String
getMessage()
Returns the message associated with this ValidationError object.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

NO_UPGRADE_CLASSIFICATION

  1. public static final int NO_UPGRADE_CLASSIFICATION
The upgrade action lacks a new current classification.
See Also:

NO_UPGRADE_REASONS

  1. public static final int NO_UPGRADE_REASONS
The upgrade action lacks reasons for upgrade.
See Also:

NO_UPGRADED_BY

  1. public static final int NO_UPGRADED_BY
The upgrade action lacks an "upgraded by".
See Also:

NO_UPGRADED_ON

  1. public static final int NO_UPGRADED_ON
The upgrade action lacks an upgrade date.
See Also:

NO_DOWNGRADE_CLASSIFICATION

  1. public static final int NO_DOWNGRADE_CLASSIFICATION
The downgrade action lacks a new current classification.
See Also:

NO_DOWNGRADED_BY

  1. public static final int NO_DOWNGRADED_BY
The downgrade action lacks a "downgraded by".
See Also:

NO_DOWNGRADED_ON

  1. public static final int NO_DOWNGRADED_ON
The downgrade action lacks a downgrade date.
See Also:

NO_DECLASSIFIED_BY

  1. public static final int NO_DECLASSIFIED_BY
The declassify action lacks a "declassified by".
See Also:

NO_DECLASSIFIED_ON

  1. public static final int NO_DECLASSIFIED_ON
The declassify action lacks a declassification date.
See Also:

INVALID_INITIAL_CLASSIFICATION

  1. public static final int INVALID_INITIAL_CLASSIFICATION
The security classification action lacks an initial classification.
See Also:

INVALID_CURRENT_CLASSIFICATION

  1. public static final int INVALID_CURRENT_CLASSIFICATION
The security classification action lacks an current classification.
See Also:

INVALID_CLASSIFICATION_AUTHORITY

  1. public static final int INVALID_CLASSIFICATION_AUTHORITY
The security classification action lacks a classification authority.
See Also:

INVALID_CLASSIFICATION_AGENCY

  1. public static final int INVALID_CLASSIFICATION_AGENCY
The security classification action lacks a classification agency.
See Also:

INVALID_DECLASSIFY_DATA

  1. public static final int INVALID_DECLASSIFY_DATA
There is no valid declassify on date.
See Also:

INVALID_DECLASSIFY_DATA_RESTRICTED

  1. public static final int INVALID_DECLASSIFY_DATA_RESTRICTED
There is a "declassify on", but the record is restricted.
See Also:

INVALID_DOWNGRADE_DATA_RESTRICTED

  1. public static final int INVALID_DOWNGRADE_DATA_RESTRICTED
There is a "downgrade on", but the record is restricted.
See Also:

INVALID_EXEMPTION_DATA_RESTRICTED

  1. public static final int INVALID_EXEMPTION_DATA_RESTRICTED
There is an "exemption", but the record is restricted.
See Also:

NO_DOWNGRADE_INSTRUCTIONS

  1. public static final int NO_DOWNGRADE_INSTRUCTIONS
There are no downgrade instructions provided when "downgrade on" is set.
See Also:

NO_REVIEWED_BY

  1. public static final int NO_REVIEWED_BY
There is a review date, but no reviewer.
See Also:

DECLASSIFY_DATE_NOT_WITHIN_TIME_LIMIT

  1. public static final int DECLASSIFY_DATE_NOT_WITHIN_TIME_LIMIT
The declassification date exceeds the maximum allowed timeframe.
See Also:

Constructor Detail

ValidationError

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

ValidationError

  1. public ValidationError(int code,
  2. 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

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

getMessage

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