Package com.flower.docs.domain.exception
Enum FunctionalErrorCode
- java.lang.Object
-
- java.lang.Enum<FunctionalErrorCode>
-
- com.flower.docs.domain.exception.FunctionalErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FunctionalErrorCode>
public enum FunctionalErrorCode extends java.lang.Enum<FunctionalErrorCode>
Defines all error codes- Author:
- Christopher Laszczuk
-
-
Enum Constant Summary
Enum Constants Enum Constant Description F00000
Generic errorF00001
Empty list of componentF00002
Cannot delete a component which is attached to a folderF00005
Invalid component.F00008
ComponentClass
must be setF00009
ComponentClass
must existF00012
Component does not existF00013
Creation date provided is lesser than server oneF00016
Component and class must be of same categoryF00020
Document tag value is not in allowed valuesF00023
Criterion operator is not correctly setF00024
Criterion type is not correctly setF00026
Criterion name must not be emptyF00027
Criterion value must not be emptyF00029
Order name must not be emptyF00030
Order type must is not set correctlyF00031
Criteria item is not set correctlyF00032
Tag is not allowed for component classF00033
Mandatory tag is not presentF00034
Tag value does not match patternF00035
No id set for component to updateF00036
Tag value incorrect formatF00037
Tag is not referenced as multivaluedF00038
No matching conditional tag valueF00039
Business rule validation failsF00101
No folder to processF00102
FOLDER name must be uniqueF00104
FOLDER Scope must be set and non emptyF00105
Folders should have sameScope
F00106
Folders to process with same nameF00107
FOLDER data must be setF00108
Not valid folder dataF00109
FOLDER class must beF00110
FOLDER does not have a mandatory tagF00111
FOLDER name is not setF00112
FOLDER owner must be setF00113
FOLDER class must be setF00114
FOLDER has invalid pattern for tagF00115
FOLDER tag value is not in allowed valuesF00116
FOLDER is closed, it cannot be updated.F00117
FOLDER ChildComponent must be setF00118
FOLDER has not allowed child(ren)F00119
FOLDER can not be delete since it has child(ren)F00201
Empty list ofComponentClass
F00202
Component class with same id existsF00203
Component class has no data setF00204
Component class has noCategory
setF00205
Set tags does not existF00206
ComponentClass
does not existF00207
Component classCategory
must not be changedF00208
Component class does not have valid security object identifierF00301
Empty list of ACL to processF00302
Not allowed to create a scopeF00303
Not allowed to delete a scopeF00306
Not allowed to store a componentF00308
Not allowed to update a componentF00309
Not allowed to delete a componentF00314
Class has an invalid referenced ACLF00315
Invalid user in security contextF00316
User is not allowed in thisScope
F00317
User is not allowed to modify theScope
F00318
ACL has no ACEF00319
ACE's grant value not setF00320
ACE has no principalsF00321
ACE has no permissionsF00322
ACL does not existsF00323
Given password mismatchF00324
Invalid user credentialsF00325
Not allowed forPermission#UPDATE_CONTENT
on componentF00326
Can not change passwordF00327
Forbidden to create technical factF00328
ForbiddenF00331
Account temporary lockedF00332
Not allowed to reset accountF00412
Not allowed toPermission#APPLY_ANSWER
on taskF00413
At least one required attachment is missing on taskF00414
An attachment was found but this task does not accept attachmentsF00415
An attachment was found from a class not accepted as attachments on this taskF00416
A readOnly attachment was being updated on taskF00417
A monovalued attachment has more than one occurrence on taskF00418
The task is reserved by another userF00419
The applied answer does not existF00420
Not allowed toPermission#ASSIGN
a taskF00421
Not allowed toPermission#APPROPRIATE
a taskF00422
Not allowed toPermission#APPROPRIATE_ALREADY_ASSIGNED
a taskF00423
Task not assigned to current userF00433
The answer is invalid mandatory tag is not presentF00434
The answer is invalid tag is monovaluedF00601
Scope
link Id} must be uniqueF00602
Scope
must existF00603
TheScope
Id
must not be emptyF00604
AScope
with sameId
already existsF00605
ProvidedScope
list must not be emptyF00606
TheId
of aScope
cannot be changedF00701
DocumentFile
has no contentF00702
Not allowed to readDocumentFile
of documentF00703
DocumentFile id is empty for the documentDocumentFile
F00704
DocumentFile
cannot be foundF00801
The starting is after the ending dateF00802
The ending date is after the current dateF00803
The starting date must be setF00804
The ending date must be setF00898
ValidId
must be set onTagCategory
F00900
Tag category with same id already existsF00901
ValidId
must be set onTagClass
F00902
Valid tag value type must be set onTagClass
F00903
Tag with same id already existsF01002
Reservation cannot be created because there are existings reservations for supplied componentsF01003
Reservation cannot be released because there are existings reservations for supplied components and other user(s)F01101
The current user who wants to create a delegation must be a Delegation Manager or the Delegator himself.F01102
The current user who wants to update a delegation must be a Delegation Manager or the Delegator himself.F01103
Invalid delegation.F01104
Valid values must be set on the delegation.F01105
Delegation asked to be updated is not found in the database.F01301
Not allowed toPermission#OBFUSCATE
of a documentF01303
Cannot read annotations for documentF01304
Cannot create annotations for documentF01305
Cannot update annotations for documentF01306
Cannot delete annotations for documentF01401
process with same id already existsF01500
Not the current versionF01501
No version label setF01502
Version already existsF01504
Reverted target version does not existsF01505
Not allowed toPermission#READ
versionF01507
Not allowed toPermission#UPDATE
versionF01508
Not allowed toPermission#DELETE
versionF01509
Not allowed toPermission#UPDATE_CONTENT
versionF01601
Not allowed to update a CLOSED component of classF01602
Not allowed to answer a Draft task of classF01701
Favorites concurrent modification is not supportedF01801
Cannot index document content with invalid identifiersF01802
Cannot de-index document content with invalid identifiersF01803
Cannot get document content with invalid identifiers
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Integer
getHttpErrorCode(java.lang.String code)
int
httpCode()
static FunctionalErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FunctionalErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
F00000
public static final FunctionalErrorCode F00000
Generic error
-
F00001
public static final FunctionalErrorCode F00001
Empty list of component
-
F00002
public static final FunctionalErrorCode F00002
Cannot delete a component which is attached to a folder
-
F00005
public static final FunctionalErrorCode F00005
Invalid component. It must have data
-
F00008
public static final FunctionalErrorCode F00008
ComponentClass
must be set
-
F00009
public static final FunctionalErrorCode F00009
ComponentClass
must exist
-
F00012
public static final FunctionalErrorCode F00012
Component does not exist
-
F00013
public static final FunctionalErrorCode F00013
Creation date provided is lesser than server one
-
F00016
public static final FunctionalErrorCode F00016
Component and class must be of same category
-
F00020
public static final FunctionalErrorCode F00020
Document tag value is not in allowed values
-
F00023
public static final FunctionalErrorCode F00023
Criterion operator is not correctly set
-
F00024
public static final FunctionalErrorCode F00024
Criterion type is not correctly set
-
F00026
public static final FunctionalErrorCode F00026
Criterion name must not be empty
-
F00027
public static final FunctionalErrorCode F00027
Criterion value must not be empty
-
F00029
public static final FunctionalErrorCode F00029
Order name must not be empty
-
F00030
public static final FunctionalErrorCode F00030
Order type must is not set correctly
-
F00031
public static final FunctionalErrorCode F00031
Criteria item is not set correctly
-
F00032
public static final FunctionalErrorCode F00032
Tag is not allowed for component class
-
F00033
public static final FunctionalErrorCode F00033
Mandatory tag is not present
-
F00034
public static final FunctionalErrorCode F00034
Tag value does not match pattern
-
F00035
public static final FunctionalErrorCode F00035
No id set for component to update
-
F00036
public static final FunctionalErrorCode F00036
Tag value incorrect format
-
F00037
public static final FunctionalErrorCode F00037
Tag is not referenced as multivalued
-
F00038
public static final FunctionalErrorCode F00038
No matching conditional tag value
-
F00039
public static final FunctionalErrorCode F00039
Business rule validation fails
-
F00101
public static final FunctionalErrorCode F00101
No folder to process
-
F00102
public static final FunctionalErrorCode F00102
FOLDER name must be unique
-
F00104
public static final FunctionalErrorCode F00104
FOLDER Scope must be set and non empty
-
F00105
public static final FunctionalErrorCode F00105
Folders should have sameScope
-
F00106
public static final FunctionalErrorCode F00106
Folders to process with same name
-
F00107
public static final FunctionalErrorCode F00107
FOLDER data must be set
-
F00108
public static final FunctionalErrorCode F00108
Not valid folder data
-
F00109
public static final FunctionalErrorCode F00109
FOLDER class must be
-
F00110
public static final FunctionalErrorCode F00110
FOLDER does not have a mandatory tag
-
F00111
public static final FunctionalErrorCode F00111
FOLDER name is not set
-
F00112
public static final FunctionalErrorCode F00112
FOLDER owner must be set
-
F00113
public static final FunctionalErrorCode F00113
FOLDER class must be set
-
F00114
public static final FunctionalErrorCode F00114
FOLDER has invalid pattern for tag
-
F00115
public static final FunctionalErrorCode F00115
FOLDER tag value is not in allowed values
-
F00116
public static final FunctionalErrorCode F00116
FOLDER is closed, it cannot be updated.
-
F00117
public static final FunctionalErrorCode F00117
FOLDER ChildComponent must be set
-
F00118
public static final FunctionalErrorCode F00118
FOLDER has not allowed child(ren)
-
F00119
public static final FunctionalErrorCode F00119
FOLDER can not be delete since it has child(ren)
-
F00201
public static final FunctionalErrorCode F00201
Empty list ofComponentClass
-
F00202
public static final FunctionalErrorCode F00202
Component class with same id exists
-
F00203
public static final FunctionalErrorCode F00203
Component class has no data set
-
F00204
public static final FunctionalErrorCode F00204
Component class has noCategory
set
-
F00205
public static final FunctionalErrorCode F00205
Set tags does not exist
-
F00206
public static final FunctionalErrorCode F00206
ComponentClass
does not exist
-
F00207
public static final FunctionalErrorCode F00207
Component classCategory
must not be changed
-
F00208
public static final FunctionalErrorCode F00208
Component class does not have valid security object identifier
-
F00301
public static final FunctionalErrorCode F00301
Empty list of ACL to process
-
F00302
public static final FunctionalErrorCode F00302
Not allowed to create a scope
-
F00303
public static final FunctionalErrorCode F00303
Not allowed to delete a scope
-
F00306
public static final FunctionalErrorCode F00306
Not allowed to store a component
-
F00308
public static final FunctionalErrorCode F00308
Not allowed to update a component
-
F00309
public static final FunctionalErrorCode F00309
Not allowed to delete a component
-
F00314
public static final FunctionalErrorCode F00314
Class has an invalid referenced ACL
-
F00315
public static final FunctionalErrorCode F00315
Invalid user in security context
-
F00316
public static final FunctionalErrorCode F00316
User is not allowed in thisScope
-
F00317
public static final FunctionalErrorCode F00317
User is not allowed to modify theScope
-
F00318
public static final FunctionalErrorCode F00318
ACL has no ACE
-
F00319
public static final FunctionalErrorCode F00319
ACE's grant value not set
-
F00320
public static final FunctionalErrorCode F00320
ACE has no principals
-
F00321
public static final FunctionalErrorCode F00321
ACE has no permissions
-
F00322
public static final FunctionalErrorCode F00322
ACL does not exists
-
F00323
public static final FunctionalErrorCode F00323
Given password mismatch
-
F00324
public static final FunctionalErrorCode F00324
Invalid user credentials
-
F00325
public static final FunctionalErrorCode F00325
Not allowed forPermission#UPDATE_CONTENT
on component
-
F00326
public static final FunctionalErrorCode F00326
Can not change password
-
F00327
public static final FunctionalErrorCode F00327
Forbidden to create technical fact
-
F00328
public static final FunctionalErrorCode F00328
Forbidden
-
F00331
public static final FunctionalErrorCode F00331
Account temporary locked
-
F00332
public static final FunctionalErrorCode F00332
Not allowed to reset account
-
F00412
public static final FunctionalErrorCode F00412
Not allowed toPermission#APPLY_ANSWER
on task
-
F00413
public static final FunctionalErrorCode F00413
At least one required attachment is missing on task
-
F00414
public static final FunctionalErrorCode F00414
An attachment was found but this task does not accept attachments
-
F00415
public static final FunctionalErrorCode F00415
An attachment was found from a class not accepted as attachments on this task
-
F00416
public static final FunctionalErrorCode F00416
A readOnly attachment was being updated on task
-
F00417
public static final FunctionalErrorCode F00417
A monovalued attachment has more than one occurrence on task
-
F00418
public static final FunctionalErrorCode F00418
The task is reserved by another user
-
F00419
public static final FunctionalErrorCode F00419
The applied answer does not exist
-
F00420
public static final FunctionalErrorCode F00420
Not allowed toPermission#ASSIGN
a task
-
F00421
public static final FunctionalErrorCode F00421
Not allowed toPermission#APPROPRIATE
a task
-
F00422
public static final FunctionalErrorCode F00422
Not allowed toPermission#APPROPRIATE_ALREADY_ASSIGNED
a task
-
F00423
public static final FunctionalErrorCode F00423
Task not assigned to current user
-
F00433
public static final FunctionalErrorCode F00433
The answer is invalid mandatory tag is not present
-
F00434
public static final FunctionalErrorCode F00434
The answer is invalid tag is monovalued
-
F00601
public static final FunctionalErrorCode F00601
Scope
link Id} must be unique
-
F00602
public static final FunctionalErrorCode F00602
Scope
must exist
-
F00603
public static final FunctionalErrorCode F00603
TheScope
Id
must not be empty
-
F00604
public static final FunctionalErrorCode F00604
AScope
with sameId
already exists
-
F00605
public static final FunctionalErrorCode F00605
ProvidedScope
list must not be empty
-
F00606
public static final FunctionalErrorCode F00606
TheId
of aScope
cannot be changed
-
F00701
public static final FunctionalErrorCode F00701
DocumentFile
has no content
-
F00702
public static final FunctionalErrorCode F00702
Not allowed to readDocumentFile
of document
-
F00703
public static final FunctionalErrorCode F00703
DocumentFile id is empty for the documentDocumentFile
-
F00704
public static final FunctionalErrorCode F00704
DocumentFile
cannot be found
-
F00801
public static final FunctionalErrorCode F00801
The starting is after the ending date
-
F00802
public static final FunctionalErrorCode F00802
The ending date is after the current date
-
F00803
public static final FunctionalErrorCode F00803
The starting date must be set
-
F00804
public static final FunctionalErrorCode F00804
The ending date must be set
-
F00898
public static final FunctionalErrorCode F00898
ValidId
must be set onTagCategory
-
F00900
public static final FunctionalErrorCode F00900
Tag category with same id already exists
-
F00901
public static final FunctionalErrorCode F00901
ValidId
must be set onTagClass
-
F00902
public static final FunctionalErrorCode F00902
Valid tag value type must be set onTagClass
-
F00903
public static final FunctionalErrorCode F00903
Tag with same id already exists
-
F01002
public static final FunctionalErrorCode F01002
Reservation cannot be created because there are existings reservations for supplied components
-
F01003
public static final FunctionalErrorCode F01003
Reservation cannot be released because there are existings reservations for supplied components and other user(s)
-
F01101
public static final FunctionalErrorCode F01101
The current user who wants to create a delegation must be a Delegation Manager or the Delegator himself.
-
F01102
public static final FunctionalErrorCode F01102
The current user who wants to update a delegation must be a Delegation Manager or the Delegator himself.
-
F01103
public static final FunctionalErrorCode F01103
Invalid delegation.
-
F01104
public static final FunctionalErrorCode F01104
Valid values must be set on the delegation.
-
F01105
public static final FunctionalErrorCode F01105
Delegation asked to be updated is not found in the database.
-
F01301
public static final FunctionalErrorCode F01301
Not allowed toPermission#OBFUSCATE
of a document
-
F01303
public static final FunctionalErrorCode F01303
Cannot read annotations for document
-
F01304
public static final FunctionalErrorCode F01304
Cannot create annotations for document
-
F01305
public static final FunctionalErrorCode F01305
Cannot update annotations for document
-
F01306
public static final FunctionalErrorCode F01306
Cannot delete annotations for document
-
F01401
public static final FunctionalErrorCode F01401
process with same id already exists
-
F01500
public static final FunctionalErrorCode F01500
Not the current version
-
F01501
public static final FunctionalErrorCode F01501
No version label set
-
F01502
public static final FunctionalErrorCode F01502
Version already exists
-
F01504
public static final FunctionalErrorCode F01504
Reverted target version does not exists
-
F01505
public static final FunctionalErrorCode F01505
Not allowed toPermission#READ
version
-
F01507
public static final FunctionalErrorCode F01507
Not allowed toPermission#UPDATE
version
-
F01508
public static final FunctionalErrorCode F01508
Not allowed toPermission#DELETE
version
-
F01509
public static final FunctionalErrorCode F01509
Not allowed toPermission#UPDATE_CONTENT
version
-
F01601
public static final FunctionalErrorCode F01601
Not allowed to update a CLOSED component of class
-
F01602
public static final FunctionalErrorCode F01602
Not allowed to answer a Draft task of class
-
F01701
public static final FunctionalErrorCode F01701
Favorites concurrent modification is not supported
-
F01801
public static final FunctionalErrorCode F01801
Cannot index document content with invalid identifiers
-
F01802
public static final FunctionalErrorCode F01802
Cannot de-index document content with invalid identifiers
-
F01803
public static final FunctionalErrorCode F01803
Cannot get document content with invalid identifiers
-
-
Method Detail
-
values
public static FunctionalErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FunctionalErrorCode c : FunctionalErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FunctionalErrorCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
httpCode
public int httpCode()
-
getHttpErrorCode
public static java.lang.Integer getHttpErrorCode(java.lang.String code)
-
-