com.filenet.rm.api
Class ValidationError
- java.lang.Object
com.filenet.rm.api.ValidationError
- public class ValidationError
- extends java.lang.Object
Field Summary
Modifier and Type | Field and Description |
---|---|
|
DECLASSIFY_DATE_NOT_WITHIN_TIME_LIMIT
The declassification date exceeds the maximum allowed timeframe.
|
|
INVALID_CLASSIFICATION_AGENCY
The security classification action lacks a classification agency.
|
|
INVALID_CLASSIFICATION_AUTHORITY
The security classification action lacks a classification authority.
|
|
INVALID_CURRENT_CLASSIFICATION
The security classification action lacks an current classification.
|
|
INVALID_DECLASSIFY_DATA
There is no valid declassify on date.
|
|
INVALID_DECLASSIFY_DATA_RESTRICTED
There is a "declassify on", but the record is restricted.
|
|
INVALID_DOWNGRADE_DATA_RESTRICTED
There is a "downgrade on", but the record is restricted.
|
|
INVALID_EXEMPTION_DATA_RESTRICTED
There is an "exemption", but the record is restricted.
|
|
INVALID_INITIAL_CLASSIFICATION
The security classification action lacks an initial classification.
|
|
NO_DECLASSIFIED_BY
The declassify action lacks a "declassified by".
|
|
NO_DECLASSIFIED_ON
The declassify action lacks a declassification date.
|
|
NO_DOWNGRADE_CLASSIFICATION
The downgrade action lacks a new current classification.
|
|
NO_DOWNGRADE_INSTRUCTIONS
There are no downgrade instructions provided when "downgrade on" is set.
|
|
NO_DOWNGRADED_BY
The downgrade action lacks a "downgraded by".
|
|
NO_DOWNGRADED_ON
The downgrade action lacks a downgrade date.
|
|
NO_REVIEWED_BY
There is a review date, but no reviewer.
|
|
NO_UPGRADE_CLASSIFICATION
The upgrade action lacks a new current classification.
|
|
NO_UPGRADE_REASONS
The upgrade action lacks reasons for upgrade.
|
|
NO_UPGRADED_BY
The upgrade action lacks an "upgraded by".
|
|
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 |
---|---|
|
getCode()
Returns the error code for this
ValidationError object.
|
|
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
- public static final int NO_UPGRADE_CLASSIFICATION
The upgrade action lacks a new current classification.
See Also:
NO_UPGRADE_REASONS
- public static final int NO_UPGRADE_REASONS
The upgrade action lacks reasons for upgrade.
See Also:
NO_UPGRADED_BY
- public static final int NO_UPGRADED_BY
The upgrade action lacks an "upgraded by".
See Also:
NO_UPGRADED_ON
- public static final int NO_UPGRADED_ON
The upgrade action lacks an upgrade date.
See Also:
NO_DOWNGRADE_CLASSIFICATION
- public static final int NO_DOWNGRADE_CLASSIFICATION
The downgrade action lacks a new current classification.
See Also:
NO_DOWNGRADED_BY
- public static final int NO_DOWNGRADED_BY
The downgrade action lacks a "downgraded by".
See Also:
NO_DOWNGRADED_ON
- public static final int NO_DOWNGRADED_ON
The downgrade action lacks a downgrade date.
See Also:
NO_DECLASSIFIED_BY
- public static final int NO_DECLASSIFIED_BY
The declassify action lacks a "declassified by".
See Also:
NO_DECLASSIFIED_ON
- public static final int NO_DECLASSIFIED_ON
The declassify action lacks a declassification date.
See Also:
INVALID_INITIAL_CLASSIFICATION
- public static final int INVALID_INITIAL_CLASSIFICATION
The security classification action lacks an initial classification.
See Also:
INVALID_CURRENT_CLASSIFICATION
- public static final int INVALID_CURRENT_CLASSIFICATION
The security classification action lacks an current classification.
See Also:
INVALID_CLASSIFICATION_AUTHORITY
- public static final int INVALID_CLASSIFICATION_AUTHORITY
The security classification action lacks a classification authority.
See Also:
INVALID_CLASSIFICATION_AGENCY
- public static final int INVALID_CLASSIFICATION_AGENCY
The security classification action lacks a classification agency.
See Also:
INVALID_DECLASSIFY_DATA
- public static final int INVALID_DECLASSIFY_DATA
There is no valid declassify on date.
See Also:
INVALID_DECLASSIFY_DATA_RESTRICTED
- public static final int INVALID_DECLASSIFY_DATA_RESTRICTED
There is a "declassify on", but the record is restricted.
See Also:
INVALID_DOWNGRADE_DATA_RESTRICTED
- public static final int INVALID_DOWNGRADE_DATA_RESTRICTED
There is a "downgrade on", but the record is restricted.
See Also:
INVALID_EXEMPTION_DATA_RESTRICTED
- public static final int INVALID_EXEMPTION_DATA_RESTRICTED
There is an "exemption", but the record is restricted.
See Also:
NO_DOWNGRADE_INSTRUCTIONS
- public static final int NO_DOWNGRADE_INSTRUCTIONS
There are no downgrade instructions provided when "downgrade on" is set.
See Also:
NO_REVIEWED_BY
- public static final int NO_REVIEWED_BY
There is a review date, but no reviewer.
See Also:
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:
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.