Package org.eclnt.ccaddons.dof.util
Class DOFObjectListPersistor
java.lang.Object
org.eclnt.ccaddons.dof.util.DOFObjectListPersistor
- All Implemented Interfaces:
IDOFObjectPersistor
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.eclnt.ccaddons.dof.IDOFObjectPersistor
IDOFObjectPersistor.QueryResult -
Constructor Summary
ConstructorsConstructorDescriptionDOFObjectListPersistor(DOFObjectList dofObjectList) DOFObjectListPersistor(DOFObjectList dofObjectList, boolean useInstancesList) Constructor iwth passing the list asDOFObjectList.DOFObjectListPersistor(DOFObjectType objectType) DOFObjectListPersistor(DOFObjectType objectType, List<DOFObject> instances) DOFObjectListPersistor(DOFObjectType objectType, List<DOFObject> instances, boolean useInstancesList) Constructor with directly passing a list of DOFObjects. -
Method Summary
Modifier and TypeMethodDescriptionexecuteQuery(DOFObjectType objectType, DOFObjectFilter filter) voidbooleanbooleanbooleanreadDistinctValues(DOFObjectType objectType, DOFPropertyType property) voidvoidvoidsetListener(DOFObjectListPersistor.IListener listener)
-
Constructor Details
-
DOFObjectListPersistor
-
DOFObjectListPersistor
public DOFObjectListPersistor(DOFObjectType objectType, List<DOFObject> instances, boolean useInstancesList) Constructor with directly passing a list of DOFObjects.- Parameters:
objectType-instances- List of instances.useInstancesList- If set to true then the list that is passed as instance-list in the instances-parameter is directly used by the persistor. Otherwise a parallel instances list is used.
-
DOFObjectListPersistor
-
DOFObjectListPersistor
Constructor iwth passing the list asDOFObjectList.- Parameters:
dofObjectList-useInstancesList- If set to true then the persistor directly used the list of the dofObjectList- parameter.
-
DOFObjectListPersistor
-
-
Method Details
-
setListener
-
init
- Specified by:
initin interfaceIDOFObjectPersistor
-
executeQuery
public IDOFObjectPersistor.QueryResult executeQuery(DOFObjectType objectType, DOFObjectFilter filter) - Specified by:
executeQueryin interfaceIDOFObjectPersistor
-
readDistinctValues
- Specified by:
readDistinctValuesin interfaceIDOFObjectPersistor
-
getObjects
-
getRemovedObjects
-
save
- Specified by:
savein interfaceIDOFObjectPersistor
-
remove
- Specified by:
removein interfaceIDOFObjectPersistor
-
isAbleToPersistInstances
public boolean isAbleToPersistInstances()- Specified by:
isAbleToPersistInstancesin interfaceIDOFObjectPersistor
-
isAbleToQuery
public boolean isAbleToQuery()- Specified by:
isAbleToQueryin interfaceIDOFObjectPersistor
-
isPermanent
public boolean isPermanent()- Specified by:
isPermanentin interfaceIDOFObjectPersistor
-