public interface ActionStore
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the store and performs cleanup.
|
void |
deleteActionSet(java.lang.String actionSetId)
Deletes an action set from the store.
|
PropertyContainerSet |
getActionSet(HubContext ctx,
java.lang.String actionSetId)
Returns a particular action set from the store.
|
java.util.Collection<PropertyContainerSet> |
getAllActionSets(HubContext ctx)
Returns all action sets in the store.
|
void |
performHousekeeping()
Allows the action store to perform whatever implementation-specific housekeeping tasks are needed.
|
PropertyContainerSet |
saveActionSet(HubContext ctx,
java.lang.String name,
java.util.List<PropertyContainer> actions)
Adds an action set to the store.
|
void close()
void deleteActionSet(java.lang.String actionSetId)
actionSetId
- an action set IDPropertyContainerSet getActionSet(HubContext ctx, java.lang.String actionSetId)
ctx
- a hub contextactionSetId
- an action set IDjava.util.Collection<PropertyContainerSet> getAllActionSets(HubContext ctx)
ctx
- a hub contextvoid performHousekeeping()
PropertyContainerSet saveActionSet(HubContext ctx, java.lang.String name, java.util.List<PropertyContainer> actions)
ctx
- a hub contextname
- the name of the action setactions
- the actions that comprise the setCopyright © 2015 Whizzo Software LLC. All rights reserved.