Package com.logicaldoc.core.folder
Enum FolderEvent
- java.lang.Object
-
- java.lang.Enum<FolderEvent>
-
- com.logicaldoc.core.folder.FolderEvent
-
- All Implemented Interfaces:
Serializable
,Comparable<FolderEvent>
public enum FolderEvent extends Enum<FolderEvent>
Possible events in the folder's history- Since:
- 6.6
- Author:
- Marco Meschieri - LogicalDOC
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGED
CREATED
DELETED
EXPORTED
MOVED
PERMISSION
QUOTA_OVERTHRESHOLD
RENAMED
RESTORED
SUBFOLDER_CHANGED
SUBFOLDER_CREATED
SUBFOLDER_DELETED
SUBFOLDER_MOVED
SUBFOLDER_PERMISSION
SUBFOLDER_RENAMED
SUBFOLDER_RESTORED
SUBSCRIBED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FolderEvent
fromString(String event)
String
toString()
static FolderEvent
valueOf(String name)
Returns the enum constant of this type with the specified name.static FolderEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATED
public static final FolderEvent CREATED
-
RENAMED
public static final FolderEvent RENAMED
-
PERMISSION
public static final FolderEvent PERMISSION
-
DELETED
public static final FolderEvent DELETED
-
MOVED
public static final FolderEvent MOVED
-
CHANGED
public static final FolderEvent CHANGED
-
SUBFOLDER_CREATED
public static final FolderEvent SUBFOLDER_CREATED
-
SUBFOLDER_RENAMED
public static final FolderEvent SUBFOLDER_RENAMED
-
SUBFOLDER_PERMISSION
public static final FolderEvent SUBFOLDER_PERMISSION
-
SUBFOLDER_DELETED
public static final FolderEvent SUBFOLDER_DELETED
-
SUBFOLDER_CHANGED
public static final FolderEvent SUBFOLDER_CHANGED
-
SUBFOLDER_MOVED
public static final FolderEvent SUBFOLDER_MOVED
-
SUBFOLDER_RESTORED
public static final FolderEvent SUBFOLDER_RESTORED
-
RESTORED
public static final FolderEvent RESTORED
-
EXPORTED
public static final FolderEvent EXPORTED
-
SUBSCRIBED
public static final FolderEvent SUBSCRIBED
-
QUOTA_OVERTHRESHOLD
public static final FolderEvent QUOTA_OVERTHRESHOLD
-
-
Method Detail
-
values
public static FolderEvent[] 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 (FolderEvent c : FolderEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FolderEvent valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<FolderEvent>
-
fromString
public static FolderEvent fromString(String event)
-
-