com.fatwire.services.authorization
Enum Function
java.lang.Object
java.lang.Enum<Function>
com.fatwire.services.authorization.Function
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Function>
public enum Function
- extends java.lang.Enum<Function>
This class enumerates all supported standard operations.
A user may be authorized to perform any of the following functions on a
specific asset within a publication instance. Authorization for these
operations are governed by roles assigned to the user.
Method Summary |
static Function |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Function[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
abstainfromvoting
public static final Function abstainfromvoting
accesscheck
public static final Function accesscheck
approve
public static final Function approve
checkin
public static final Function checkin
checkout
public static final Function checkout
copy
public static final Function copy
createnew
public static final Function createnew
delegate
public static final Function delegate
delete
public static final Function delete
edit
public static final Function edit
inspect
public static final Function inspect
makeroot
public static final Function makeroot
placepage
public static final Function placepage
preview
public static final Function preview
removefromworkflow
public static final Function removefromworkflow
rollback
public static final Function rollback
safe
public static final Function safe
setparticipants
public static final Function setparticipants
setprocessdeadline
public static final Function setprocessdeadline
setstepdeadline
public static final Function setstepdeadline
share
public static final Function share
showparticipants
public static final Function showparticipants
showstatus
public static final Function showstatus
showversion
public static final Function showversion
translate
public static final Function translate
undocheckout
public static final Function undocheckout
values
public static Function[] 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 (Function c : Function.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Function 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 name
java.lang.NullPointerException
- if the argument is null
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.