Package org.opencastproject.workflow.api
Class WorkflowSetImpl
java.lang.Object
org.opencastproject.workflow.api.WorkflowSetImpl
- All Implemented Interfaces:
WorkflowSet
The search result represents a set of result items that has been compiled as a result for a search operation.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionA no-arg constructor needed by JAXBWorkflowSetImpl(List<WorkflowInstance> workflows) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItem(WorkflowInstance item) Adds an item to the result set.getItems()The search item listlongsize()Get the total number of items returned
-
Constructor Details
-
WorkflowSetImpl
public WorkflowSetImpl()A no-arg constructor needed by JAXB -
WorkflowSetImpl
-
-
Method Details
-
getItems
The search item list- Specified by:
getItemsin interfaceWorkflowSet- Returns:
- Item list.
- See Also:
-
addItem
Adds an item to the result set.- Parameters:
item- the item to add
-
size
public long size()Get the total number of items returned- Specified by:
sizein interfaceWorkflowSet- Returns:
- The number.
- See Also:
-