Package com.soffid.iam.model
Interface CustomObjectEntityDao
-
- All Known Implementing Classes:
CustomObjectEntityDaoBase,CustomObjectEntityDaoImpl
public interface CustomObjectEntityDaoDAO for Entity CustomObjectEntity- See Also:
CustomObjectEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreate(CustomObjectEntity entity)Adds an instance ofCustomObjectEntityto the persistent store.voidcreate(Collection<? extends CustomObjectEntity> entities)Creates a collection ofCustomObjectEntityand adds it to the persistent store.CustomObjectEntitycustomObjectToEntity(com.soffid.iam.api.CustomObject instance)Transforms fromCustomObjectobjectvoidcustomObjectToEntity(com.soffid.iam.api.CustomObject source, CustomObjectEntity target, boolean copyIfNull)Copy data fromCustomObjectobjectList<CustomObjectEntity>customObjectToEntityList(Collection<com.soffid.iam.api.CustomObject> instances)Transforms fromCustomObjectlistCollection<CustomObjectEntity>findByText(CriteriaSearchConfiguration criteria, String objectType, String text)CriteriaSearchConfiguration finderCollection<CustomObjectEntity>findByText(String objectType, String text)Operation findByTextCustomObjectEntityfindByTypeAndName(CriteriaSearchConfiguration criteria, String objectType, String name)CriteriaSearchConfiguration finderCustomObjectEntityfindByTypeAndName(String objectType, String name)Operation findByTypeAndNameList<String>findCustomObjectNames(CriteriaSearchConfiguration criteria, String type)CriteriaSearchConfiguration finderList<String>findCustomObjectNames(String type)Operation findCustomObjectNamesCustomObjectEntityload(Long id)Loads an instance ofCustomObjectEntityfrom the persistent store.List<CustomObjectEntity>loadAll()Loads all instances ofCustomObjectEntityfrom the persistent store.CustomObjectEntitynewCustomObjectEntity()Creates an instance ofCustomObjectEntity.List<CustomObjectEntity>query(String query, Parameter[] parameters)Query ofCustomObjectEntityfrom the persistent store.List<CustomObjectEntity>query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofCustomObjectEntityfrom the persistent store.voidremove(CustomObjectEntity entity)Removes an instance ofCustomObjectEntityfrom the persistent store.voidremove(Long id)Removes an instance ofCustomObjectEntityfrom the persistent store.voidremove(Collection<? extends CustomObjectEntity> entities)Removes a collection ofCustomObjectEntityfrom the persistent store.com.soffid.iam.api.CustomObjecttoCustomObject(CustomObjectEntity entity)Transforms toCustomObjectobjectvoidtoCustomObject(CustomObjectEntity source, com.soffid.iam.api.CustomObject target)Copy data toCustomObjectobjectList<com.soffid.iam.api.CustomObject>toCustomObjectList(Collection<CustomObjectEntity> entities)Transforms toCustomObjectlistvoidupdate(CustomObjectEntity entity)Updates an instance ofCustomObjectEntityat the persistent store.voidupdate(Collection<? extends CustomObjectEntity> entities)Updates a collection ofCustomObjectEntityin the persistent store.
-
-
-
Method Detail
-
findByTypeAndName
CustomObjectEntity findByTypeAndName(String objectType, String name)
Operation findByTypeAndName- Parameters:
objectType-name-- Returns:
-
findByTypeAndName
CustomObjectEntity findByTypeAndName(CriteriaSearchConfiguration criteria, String objectType, String name)
CriteriaSearchConfiguration finder
-
findByText
Collection<CustomObjectEntity> findByText(String objectType, String text)
Operation findByText- Parameters:
objectType-text-- Returns:
-
findByText
Collection<CustomObjectEntity> findByText(CriteriaSearchConfiguration criteria, String objectType, String text)
CriteriaSearchConfiguration finder
-
findCustomObjectNames
List<String> findCustomObjectNames(String type)
Operation findCustomObjectNames- Parameters:
type-- Returns:
-
findCustomObjectNames
List<String> findCustomObjectNames(CriteriaSearchConfiguration criteria, String type)
CriteriaSearchConfiguration finder
-
toCustomObject
void toCustomObject(CustomObjectEntity source, com.soffid.iam.api.CustomObject target)
Copy data toCustomObjectobject
-
toCustomObject
com.soffid.iam.api.CustomObject toCustomObject(CustomObjectEntity entity)
Transforms toCustomObjectobject
-
toCustomObjectList
List<com.soffid.iam.api.CustomObject> toCustomObjectList(Collection<CustomObjectEntity> entities)
Transforms toCustomObjectlist
-
customObjectToEntity
void customObjectToEntity(com.soffid.iam.api.CustomObject source, CustomObjectEntity target, boolean copyIfNull)Copy data fromCustomObjectobject
-
customObjectToEntity
CustomObjectEntity customObjectToEntity(com.soffid.iam.api.CustomObject instance)
Transforms fromCustomObjectobject
-
customObjectToEntityList
List<CustomObjectEntity> customObjectToEntityList(Collection<com.soffid.iam.api.CustomObject> instances)
Transforms fromCustomObjectlist
-
newCustomObjectEntity
CustomObjectEntity newCustomObjectEntity()
Creates an instance ofCustomObjectEntity.
-
create
void create(CustomObjectEntity entity)
Adds an instance ofCustomObjectEntityto the persistent store.
-
update
void update(CustomObjectEntity entity)
Updates an instance ofCustomObjectEntityat the persistent store.
-
remove
void remove(CustomObjectEntity entity)
Removes an instance ofCustomObjectEntityfrom the persistent store.
-
load
CustomObjectEntity load(Long id)
Loads an instance ofCustomObjectEntityfrom the persistent store.
-
loadAll
List<CustomObjectEntity> loadAll()
Loads all instances ofCustomObjectEntityfrom the persistent store.
-
create
void create(Collection<? extends CustomObjectEntity> entities)
Creates a collection ofCustomObjectEntityand adds it to the persistent store.
-
update
void update(Collection<? extends CustomObjectEntity> entities)
Updates a collection ofCustomObjectEntityin the persistent store.
-
remove
void remove(Collection<? extends CustomObjectEntity> entities)
Removes a collection ofCustomObjectEntityfrom the persistent store.
-
remove
void remove(Long id)
Removes an instance ofCustomObjectEntityfrom the persistent store.
-
query
List<CustomObjectEntity> query(String query, Parameter[] parameters)
Query ofCustomObjectEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<CustomObjectEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofCustomObjectEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-