public interface FrontendObjectManager
Modifier and Type | Method and Description |
---|---|
long |
count(String query)
Returns the result count for the given search query.
|
FrontendObject |
create(FrontendObject frontendObject,
String comment)
Creates a new work item from the given frontend object.
|
FrontendObject |
get(com.edorasware.commons.core.entity.WorkObjectId id)
Returns the current work item state.
|
void |
move(com.edorasware.commons.core.entity.WorkObjectId id,
com.edorasware.commons.core.entity.WorkObjectId newParentId,
String comment)
Moves a given work item to a new parent.
|
FrontendObject |
save(FrontendObject frontendObject,
String comment)
Saves changes to a work item from a given frontend object.
|
List<FrontendObject> |
search(String query,
int offset,
int limit)
Executes the given search query.
|
void |
signal(com.edorasware.gear.core.process.ProcessId processId)
Sends a signal to the given process.
|
FrontendObject create(FrontendObject frontendObject, String comment) throws Exception
frontendObject
- the frontend objectcomment
- the change commentException
- if the work item could not be createdFrontendObject get(com.edorasware.commons.core.entity.WorkObjectId id)
id
- the work object IDFrontendObject save(FrontendObject frontendObject, String comment) throws Exception
frontendObject
- the frontend objectcomment
- the change commentException
void move(com.edorasware.commons.core.entity.WorkObjectId id, com.edorasware.commons.core.entity.WorkObjectId newParentId, String comment) throws Exception
id
- the ID of the work object to be movednewParentId
- the new parent work object IDcomment
- the change commentException
- if the work object could not be movedList<FrontendObject> search(String query, int offset, int limit)
query
- the query to be executedlong count(String query)
query
- the query to be executedvoid signal(com.edorasware.gear.core.process.ProcessId processId)
processId
- the process IDCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.