Package org.hcjf.layers.storage.actions
Class Update<S extends StorageSession,A>
- java.lang.Object
-
- org.hcjf.layers.storage.actions.StorageAction<S>
-
- org.hcjf.layers.storage.actions.ManipulationDataAction<S,A>
-
- org.hcjf.layers.storage.actions.Update<S,A>
-
public abstract class Update<S extends StorageSession,A> extends ManipulationDataAction<S,A>
Update storage action, this is a operation of data manipulating and supports manipulate many instance in the same time.- Author:
- javaito
-
-
Constructor Summary
Constructors Constructor Description Update(S session, java.lang.Class modelClass, java.lang.Object instance)Update(S session, java.lang.Class modelClass, java.lang.Object instance, Queryable queryable)Update(S session, java.lang.Object instance)Update(S session, java.lang.Object instance, Queryable queryable)
-
Method Summary
Modifier and Type Method Description protected java.util.Collection<java.lang.Object>getInstances()Returns the instance that contains the information to update the instances.QueryablegetQueryable()Returns the queryable that indicate the instance to update.-
Methods inherited from class org.hcjf.layers.storage.actions.ManipulationDataAction
adaptObject, execute, execute
-
Methods inherited from class org.hcjf.layers.storage.actions.StorageAction
getModelClass, getSession
-
-
-
-
Method Detail
-
getInstances
protected java.util.Collection<java.lang.Object> getInstances()
Returns the instance that contains the information to update the instances.- Specified by:
getInstancesin classManipulationDataAction<S extends StorageSession,A>- Returns:
- Object that contains the new values.
-
getQueryable
public Queryable getQueryable()
Returns the queryable that indicate the instance to update.- Returns:
- Queryable instance.
-
-