Package com.day.cq.commons.servlets
Interface AbstractListServlet.ListItem
-
- All Known Subinterfaces:
AbstractReplicableListServlet.ListItem
- Enclosing class:
- AbstractListServlet
public static interface AbstractListServlet.ListItem
TheListItem
interface defines a sortable item of the list. Sortable fields must be public for comparison.- See Also:
AbstractListServlet.ListItemComparator
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DESCRIPTION
static java.lang.String
IN_WORKFLOW
static java.lang.String
INDEX
static java.lang.String
LABEL
static java.lang.String
LAST_MODIFIED
static java.lang.String
LAST_MODIFIED_BY
static java.lang.String
LOCKED_BY
static java.lang.String
MONTHLY_HITS
static java.lang.String
PATH
static java.lang.String
REPLICATION
static java.lang.String
REPLICATION_ACTION
static java.lang.String
REPLICATION_NUM_QUEUED
static java.lang.String
REPLICATION_PUBLISHED
static java.lang.String
REPLICATION_PUBLISHED_BY
static java.lang.String
SCHEDULED_ACTIVATION_WORKFLOW_ID
static java.lang.String
SCHEDULED_ACTIVATION_WORKFLOW_ID_VAR
static java.lang.String
SCHEDULED_DEACTIVATION_WORKFLOW_ID
static java.lang.String
SCHEDULED_DEACTIVATION_WORKFLOW_ID_VAR
static java.lang.String
SCHEDULED_TASK_SCHEDULED
static java.lang.String
SCHEDULED_TASK_SCHEDULED_BY
static java.lang.String
SCHEDULED_TASK_TYPE
static java.lang.String
SCHEDULED_TASK_VERSION
static java.lang.String
SCHEDULED_TASKS
static java.lang.String
TITLE
static java.lang.String
TYPE
static java.lang.String
WORKFLOW_MODEL
static java.lang.String
WORKFLOW_STARTED
static java.lang.String
WORKFLOW_STARTED_BY
static java.lang.String
WORKFLOW_SUSPENDED
static java.lang.String
WORKFLOW_WORK_ITEM_ASSIGNEE
static java.lang.String
WORKFLOW_WORK_ITEM_TITLE
static java.lang.String
WORKFLOW_WORK_ITEMS
static java.lang.String
WORKFLOWS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resource
getResource()
Get item resourcevoid
write(JSONWriter out, java.lang.String[] customProps)
Writes the list item to the specified JSON writer.
-
-
-
Field Detail
-
INDEX
static final java.lang.String INDEX
- See Also:
- Constant Field Values
-
PATH
static final java.lang.String PATH
- See Also:
- Constant Field Values
-
LABEL
static final java.lang.String LABEL
- See Also:
- Constant Field Values
-
TYPE
static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
TITLE
static final java.lang.String TITLE
- See Also:
- Constant Field Values
-
DESCRIPTION
static final java.lang.String DESCRIPTION
- See Also:
- Constant Field Values
-
LAST_MODIFIED
static final java.lang.String LAST_MODIFIED
- See Also:
- Constant Field Values
-
LAST_MODIFIED_BY
static final java.lang.String LAST_MODIFIED_BY
- See Also:
- Constant Field Values
-
LOCKED_BY
static final java.lang.String LOCKED_BY
- See Also:
- Constant Field Values
-
MONTHLY_HITS
static final java.lang.String MONTHLY_HITS
- See Also:
- Constant Field Values
-
REPLICATION
static final java.lang.String REPLICATION
- See Also:
- Constant Field Values
-
REPLICATION_NUM_QUEUED
static final java.lang.String REPLICATION_NUM_QUEUED
- See Also:
- Constant Field Values
-
REPLICATION_ACTION
static final java.lang.String REPLICATION_ACTION
- See Also:
- Constant Field Values
-
REPLICATION_PUBLISHED
static final java.lang.String REPLICATION_PUBLISHED
- See Also:
- Constant Field Values
-
REPLICATION_PUBLISHED_BY
static final java.lang.String REPLICATION_PUBLISHED_BY
- See Also:
- Constant Field Values
-
IN_WORKFLOW
static final java.lang.String IN_WORKFLOW
- See Also:
- Constant Field Values
-
WORKFLOWS
static final java.lang.String WORKFLOWS
- See Also:
- Constant Field Values
-
WORKFLOW_MODEL
static final java.lang.String WORKFLOW_MODEL
- See Also:
- Constant Field Values
-
WORKFLOW_STARTED
static final java.lang.String WORKFLOW_STARTED
- See Also:
- Constant Field Values
-
WORKFLOW_STARTED_BY
static final java.lang.String WORKFLOW_STARTED_BY
- See Also:
- Constant Field Values
-
WORKFLOW_SUSPENDED
static final java.lang.String WORKFLOW_SUSPENDED
- See Also:
- Constant Field Values
-
WORKFLOW_WORK_ITEMS
static final java.lang.String WORKFLOW_WORK_ITEMS
- See Also:
- Constant Field Values
-
WORKFLOW_WORK_ITEM_TITLE
static final java.lang.String WORKFLOW_WORK_ITEM_TITLE
- See Also:
- Constant Field Values
-
WORKFLOW_WORK_ITEM_ASSIGNEE
static final java.lang.String WORKFLOW_WORK_ITEM_ASSIGNEE
- See Also:
- Constant Field Values
-
SCHEDULED_TASKS
static final java.lang.String SCHEDULED_TASKS
- See Also:
- Constant Field Values
-
SCHEDULED_TASK_VERSION
static final java.lang.String SCHEDULED_TASK_VERSION
- See Also:
- Constant Field Values
-
SCHEDULED_TASK_SCHEDULED
static final java.lang.String SCHEDULED_TASK_SCHEDULED
- See Also:
- Constant Field Values
-
SCHEDULED_TASK_SCHEDULED_BY
static final java.lang.String SCHEDULED_TASK_SCHEDULED_BY
- See Also:
- Constant Field Values
-
SCHEDULED_TASK_TYPE
static final java.lang.String SCHEDULED_TASK_TYPE
- See Also:
- Constant Field Values
-
SCHEDULED_ACTIVATION_WORKFLOW_ID
static final java.lang.String SCHEDULED_ACTIVATION_WORKFLOW_ID
- See Also:
- Constant Field Values
-
SCHEDULED_DEACTIVATION_WORKFLOW_ID
static final java.lang.String SCHEDULED_DEACTIVATION_WORKFLOW_ID
- See Also:
- Constant Field Values
-
SCHEDULED_ACTIVATION_WORKFLOW_ID_VAR
static final java.lang.String SCHEDULED_ACTIVATION_WORKFLOW_ID_VAR
- See Also:
- Constant Field Values
-
SCHEDULED_DEACTIVATION_WORKFLOW_ID_VAR
static final java.lang.String SCHEDULED_DEACTIVATION_WORKFLOW_ID_VAR
- See Also:
- Constant Field Values
-
-
Method Detail
-
write
void write(JSONWriter out, java.lang.String[] customProps) throws java.lang.Exception
Writes the list item to the specified JSON writer.- Parameters:
out
- The writercustomProps
- The names of the custom properties to include- Throws:
java.lang.Exception
- unable to write list item
-
getResource
Resource getResource()
Get item resource- Returns:
- Item resource
-
-