Interface MarkActionService
- All Known Implementing Classes:
MarkActionServiceImpl
public interface MarkActionService
ActionService for marking entity
-
Method Summary
Modifier and TypeMethodDescriptionareAllMarked
(EntityExplorerActionSelection selection) Are all entities in selection markedboolean
isMarked
(EntityExplorerActionSelection selection) Is the selection marked or notvoid
Mark or unmark a single entity from actionvoid
markMultiple
(EntityExplorerActionSelection entities, String entityName, boolean mark) Mark or unmark multipe entities from actionboolean
toggleMark
(EntityExplorerActionSelection selection, String entityName) Mark an unmarked entity, unmark a marked entity
-
Method Details
-
mark
Mark or unmark a single entity from action- Parameters:
key
- the primary key of the entityentityName
- the name of the entity modelmark
- if the entity should be marked or unmarked- Throws:
InterruptedException
-
markMultiple
void markMultiple(EntityExplorerActionSelection entities, String entityName, boolean mark) throws InterruptedException, RpcExecutionException Mark or unmark multipe entities from action- Parameters:
entities
- the selection of entitiesentityName
- the name of the entity modelmark
- if the entities should be marked or unmarked- Throws:
InterruptedException
RpcExecutionException
-
toggleMark
boolean toggleMark(EntityExplorerActionSelection selection, String entityName) throws RpcExecutionException, InterruptedException Mark an unmarked entity, unmark a marked entity- Parameters:
selection
- the entity in questionentityName
- name of the entity- Returns:
- true when marked, false when unmarked
- Throws:
RpcExecutionException
InterruptedException
-
isMarked
Is the selection marked or not- Parameters:
selection
- the selection of entities- Returns:
- true when marked, false when unmarked
- Throws:
RpcExecutionException
-
areAllMarked
Are all entities in selection marked- Parameters:
selection
- the selection of entities- Returns:
- true when marked, false when unmarked
- Throws:
RpcExecutionException
-