|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PageStatus>
com.gentics.contentnode.rest.model.PageStatus
public enum PageStatus
Stati of a page
Enum Constant Summary | |
---|---|
edited
Status of pages currently being edited |
|
offline
Status of offline pages |
|
publishat
Status of pages that are scheduled to be published at a future time |
|
published
Status of published pages |
|
queue
Status of pages in the queue (workflow) |
|
timeframe
Status of pages currently out of timeframe |
Method Summary | |
---|---|
java.util.List<java.lang.Integer> |
getCodes()
Get the status codes |
static java.util.List<java.lang.Integer> |
getCodes(java.util.List<PageStatus> stati)
Get the status codes for the given page stati |
static PageStatus |
getStatus(int code)
Get the status text for a given code value |
static PageStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PageStatus[] |
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 |
Enum Constant Detail |
---|
public static final PageStatus published
public static final PageStatus edited
public static final PageStatus offline
public static final PageStatus queue
public static final PageStatus timeframe
public static final PageStatus publishat
Method Detail |
---|
public static PageStatus[] values()
for (PageStatus c : PageStatus.values()) System.out.println(c);
public static PageStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.util.List<java.lang.Integer> getCodes()
public static java.util.List<java.lang.Integer> getCodes(java.util.List<PageStatus> stati)
stati
- list of page stati
public static PageStatus getStatus(int code)
code
- value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |