Package org.opencms.file
Enum I_CmsResource.CmsResourceAttribute
- java.lang.Object
-
- java.lang.Enum<I_CmsResource.CmsResourceAttribute>
-
- org.opencms.file.I_CmsResource.CmsResourceAttribute
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<I_CmsResource.CmsResourceAttribute>
- Enclosing interface:
- I_CmsResource
public static enum I_CmsResource.CmsResourceAttribute extends java.lang.Enum<I_CmsResource.CmsResourceAttribute>
Enumeration for all attributes of a resource.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description dateContent
The date of the last modification of the content of a resource.dateCreated
The date of the creation of a resource.dateExpired
The expiration date a resource.dateLastModified
The date of the last modification of a resource.dateReleased
The release date of a resource.flags
The flags of a resource.length
The content length of a resource.name
The file name of a resource without parent folders.projectLastModified
The id of theCmsProject
where a resource has been last modified.resourceId
The id of the database content record of a resource.rootPath
The name of a resource with it's full path from the top level root folder.siblingCount
The number of siblings of a resource, also counting the resource.state
The state of a resource.structureId
The id of the database structure record of a resource.typeId
The resource type id for a resource.userCreated
The id of theCmsUser
who created a resource.userLastModified
The id of the user who made the last modification on a resource.version
The current version number of a resource.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static I_CmsResource.CmsResourceAttribute
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static I_CmsResource.CmsResourceAttribute[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
dateContent
public static final I_CmsResource.CmsResourceAttribute dateContent
The date of the last modification of the content of a resource.
-
dateCreated
public static final I_CmsResource.CmsResourceAttribute dateCreated
The date of the creation of a resource.
-
dateExpired
public static final I_CmsResource.CmsResourceAttribute dateExpired
The expiration date a resource.
-
dateLastModified
public static final I_CmsResource.CmsResourceAttribute dateLastModified
The date of the last modification of a resource.
-
dateReleased
public static final I_CmsResource.CmsResourceAttribute dateReleased
The release date of a resource.
-
flags
public static final I_CmsResource.CmsResourceAttribute flags
The flags of a resource.
-
length
public static final I_CmsResource.CmsResourceAttribute length
The content length of a resource.
-
name
public static final I_CmsResource.CmsResourceAttribute name
The file name of a resource without parent folders.
-
projectLastModified
public static final I_CmsResource.CmsResourceAttribute projectLastModified
The id of theCmsProject
where a resource has been last modified.
-
resourceId
public static final I_CmsResource.CmsResourceAttribute resourceId
The id of the database content record of a resource.
-
rootPath
public static final I_CmsResource.CmsResourceAttribute rootPath
The name of a resource with it's full path from the top level root folder.
-
siblingCount
public static final I_CmsResource.CmsResourceAttribute siblingCount
The number of siblings of a resource, also counting the resource.
-
state
public static final I_CmsResource.CmsResourceAttribute state
The state of a resource.
-
structureId
public static final I_CmsResource.CmsResourceAttribute structureId
The id of the database structure record of a resource.
-
typeId
public static final I_CmsResource.CmsResourceAttribute typeId
The resource type id for a resource.
-
userCreated
public static final I_CmsResource.CmsResourceAttribute userCreated
The id of theCmsUser
who created a resource.
-
userLastModified
public static final I_CmsResource.CmsResourceAttribute userLastModified
The id of the user who made the last modification on a resource.
-
version
public static final I_CmsResource.CmsResourceAttribute version
The current version number of a resource.
-
-
Method Detail
-
values
public static I_CmsResource.CmsResourceAttribute[] 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 (I_CmsResource.CmsResourceAttribute c : I_CmsResource.CmsResourceAttribute.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static I_CmsResource.CmsResourceAttribute 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
-
-