public enum EntityValidity extends Enum<EntityValidity>
Enum Constant and Description |
---|
DETAIL_FIELD_VALUE_IS_TOO_LONG
The value of the details field in the membership is too long, max allowed is 100.
|
DOCUMENT_DOCID_IS_TOO_LONG
The document ID is too long, max allowed is 100.
|
DOCUMENT_IS_A_FOLDER
The URI is folder not a document and therefore cannot be represented as a
PSDocument instance. |
DOCUMENT_LABELS_ARE_TOO_LONG
The document labels are too long.
|
DOCUMENT_TITLE_IS_TOO_LONG
The document title is too long, max allowed is 250.
|
FOLDER_IS_NOT_A_FOLDER
The URI is a document not a folder and therefore cannot be represented as a
PSFolder instance. |
GROUP_DESCRIPTION_IS_TOO_LONG
The description of the group is too long, max allowed is 250.
|
GROUP_DETAILTYPE_IS_TOO_LONG
The detail type of the group is too long, max allowed is 150.
|
GROUP_NAME_IS_INVALID
The name of the group is either reserved or uses and invalid character.
|
GROUP_NAME_IS_TOO_LONG
The full name of the group is too long, max allowed is 60.
|
GROUP_OWNER_IS_TOO_LONG
The full name of the group is too long, max allowed is 100.
|
GROUP_TEMPLATE_IS_TOO_LONG
The template of the group is too long, max allowed is 60.
|
IMAGE_XREF_TARGET_NOT_IMAGE
The XRef of type IMAGE must target an image.
|
MEMBER_EMAIL_IS_TOO_LONG
The email address of the member is too long, max allowed is 100.
|
MEMBER_FIRSTNAME_IS_TOO_LONG
The first name of the member is too long, max allowed is 20.
|
MEMBER_SURNAME_IS_TOO_LONG
The last name of the member is too long, max allowed is 20.
|
MEMBER_USERNAME_IS_TOO_LONG
The username of the member is too long, max allowed is 100.
|
OK
The entity appears valid.
|
Modifier and Type | Method and Description |
---|---|
static EntityValidity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityValidity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityValidity OK
public static final EntityValidity DOCUMENT_DOCID_IS_TOO_LONG
public static final EntityValidity DOCUMENT_TITLE_IS_TOO_LONG
public static final EntityValidity DOCUMENT_LABELS_ARE_TOO_LONG
public static final EntityValidity DOCUMENT_IS_A_FOLDER
PSDocument
instance.public static final EntityValidity FOLDER_IS_NOT_A_FOLDER
PSFolder
instance.public static final EntityValidity GROUP_NAME_IS_TOO_LONG
public static final EntityValidity GROUP_OWNER_IS_TOO_LONG
public static final EntityValidity GROUP_DESCRIPTION_IS_TOO_LONG
public static final EntityValidity GROUP_DETAILTYPE_IS_TOO_LONG
public static final EntityValidity GROUP_TEMPLATE_IS_TOO_LONG
public static final EntityValidity GROUP_NAME_IS_INVALID
public static final EntityValidity MEMBER_FIRSTNAME_IS_TOO_LONG
public static final EntityValidity MEMBER_SURNAME_IS_TOO_LONG
public static final EntityValidity MEMBER_USERNAME_IS_TOO_LONG
public static final EntityValidity MEMBER_EMAIL_IS_TOO_LONG
public static final EntityValidity DETAIL_FIELD_VALUE_IS_TOO_LONG
public static final EntityValidity IMAGE_XREF_TARGET_NOT_IMAGE
public static EntityValidity[] values()
for (EntityValidity c : EntityValidity.values()) System.out.println(c);
public static EntityValidity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 Allette Systems. All rights reserved.