Package com.soffid.iam.model
Class CustomObjectEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.CustomObjectEntityDaoBase
-
- All Implemented Interfaces:
CustomObjectEntityDao
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
CustomObjectEntityDaoImpl
public abstract class CustomObjectEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements CustomObjectEntityDao
DAO Base for Entity CustomObjectEntity
-
-
Constructor Summary
Constructors Constructor Description CustomObjectEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(CustomObjectEntity entity)
Adds an instance ofCustomObjectEntity
to the persistent store.void
create(Collection<? extends CustomObjectEntity> entities)
Creates a collection ofCustomObjectEntity
and adds it to the persistent store.CustomObjectEntity
customObjectToEntity(com.soffid.iam.api.CustomObject instance)
Transforms fromCustomObject
objectvoid
customObjectToEntity(com.soffid.iam.api.CustomObject source, CustomObjectEntity target, boolean copyIfNull)
Copy data fromCustomObject
objectList<CustomObjectEntity>
customObjectToEntityList(Collection<com.soffid.iam.api.CustomObject> instances)
Transforms fromCustomObject
listCollection<CustomObjectEntity>
findByText(CriteriaSearchConfiguration criteria, String objectType, String text)
CriteriaSearchConfiguration implementationCollection<CustomObjectEntity>
findByText(String queryString, CriteriaSearchConfiguration criteria, String objectType, String text)
Internal implementationCollection<CustomObjectEntity>
findByText(String objectType, String text)
Operation findByTextCustomObjectEntity
findByTypeAndName(CriteriaSearchConfiguration criteria, String objectType, String name)
CriteriaSearchConfiguration implementationCustomObjectEntity
findByTypeAndName(String queryString, CriteriaSearchConfiguration criteria, String objectType, String name)
Internal implementationCustomObjectEntity
findByTypeAndName(String objectType, String name)
Operation findByTypeAndNameList<String>
findCustomObjectNames(CriteriaSearchConfiguration criteria, String type)
CriteriaSearchConfiguration implementationList<String>
findCustomObjectNames(String type)
Operation findCustomObjectNamesList<String>
findCustomObjectNames(String queryString, CriteriaSearchConfiguration criteria, String type)
Internal implementationCustomObjectAttributeEntityDao
getCustomObjectAttributeEntityDao()
Gets reference tocustomObjectAttributeEntityDao
.CustomObjectTypeEntityDao
getCustomObjectTypeEntityDao()
Gets reference tocustomObjectTypeEntityDao
.CustomObjectEntity
load(Long id)
Loads an instance ofCustomObjectEntity
from the persistent store.List<CustomObjectEntity>
loadAll()
Loads all instances ofCustomObjectEntity
from the persistent store.CustomObjectEntity
newCustomObjectEntity()
Creates an instance ofCustomObjectEntity
.List<CustomObjectEntity>
query(String queryString, Parameter[] parameters)
Query ofCustomObjectEntity
from the persistent store.List<CustomObjectEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofCustomObjectEntity
from the persistent store.void
remove(CustomObjectEntity entity)
Removes an instance ofCustomObjectEntity
from the persistent store.void
remove(Long id)
Removes an instance ofCustomObjectEntity
from the persistent store.void
remove(Collection<? extends CustomObjectEntity> entities)
Removes a collection ofCustomObjectEntity
from the persistent store.void
setCustomObjectAttributeEntityDao(CustomObjectAttributeEntityDao customObjectAttributeEntityDao)
Sets reference tocustomObjectAttributeEntityDao
.void
setCustomObjectTypeEntityDao(CustomObjectTypeEntityDao customObjectTypeEntityDao)
Sets reference tocustomObjectTypeEntityDao
.com.soffid.iam.api.CustomObject
toCustomObject(CustomObjectEntity entity)
Transforms toCustomObject
objectvoid
toCustomObject(CustomObjectEntity source, com.soffid.iam.api.CustomObject target)
Copy data toCustomObject
objectList<com.soffid.iam.api.CustomObject>
toCustomObjectList(Collection<CustomObjectEntity> instances)
Transforms toCustomObject
listvoid
update(CustomObjectEntity entity)
Updates an instance ofCustomObjectEntity
at the persistent store.void
update(Collection<? extends CustomObjectEntity> entities)
Updates a collection ofCustomObjectEntity
in the persistent store.-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
setCustomObjectAttributeEntityDao
public void setCustomObjectAttributeEntityDao(CustomObjectAttributeEntityDao customObjectAttributeEntityDao)
Sets reference tocustomObjectAttributeEntityDao
.
-
getCustomObjectAttributeEntityDao
public CustomObjectAttributeEntityDao getCustomObjectAttributeEntityDao()
Gets reference tocustomObjectAttributeEntityDao
.
-
setCustomObjectTypeEntityDao
public void setCustomObjectTypeEntityDao(CustomObjectTypeEntityDao customObjectTypeEntityDao)
Sets reference tocustomObjectTypeEntityDao
.
-
getCustomObjectTypeEntityDao
public CustomObjectTypeEntityDao getCustomObjectTypeEntityDao()
Gets reference tocustomObjectTypeEntityDao
.
-
findByTypeAndName
public CustomObjectEntity findByTypeAndName(String objectType, String name)
Operation findByTypeAndName- Specified by:
findByTypeAndName
in interfaceCustomObjectEntityDao
- Parameters:
objectType
-name
-- Returns:
-
findByTypeAndName
public CustomObjectEntity findByTypeAndName(CriteriaSearchConfiguration criteria, String objectType, String name)
CriteriaSearchConfiguration implementation- Specified by:
findByTypeAndName
in interfaceCustomObjectEntityDao
-
findByTypeAndName
public CustomObjectEntity findByTypeAndName(String queryString, CriteriaSearchConfiguration criteria, String objectType, String name)
Internal implementation
-
findByText
public Collection<CustomObjectEntity> findByText(String objectType, String text)
Operation findByText- Specified by:
findByText
in interfaceCustomObjectEntityDao
- Parameters:
objectType
-text
-- Returns:
-
findByText
public Collection<CustomObjectEntity> findByText(CriteriaSearchConfiguration criteria, String objectType, String text)
CriteriaSearchConfiguration implementation- Specified by:
findByText
in interfaceCustomObjectEntityDao
-
findByText
public Collection<CustomObjectEntity> findByText(String queryString, CriteriaSearchConfiguration criteria, String objectType, String text)
Internal implementation
-
findCustomObjectNames
public List<String> findCustomObjectNames(String type)
Operation findCustomObjectNames- Specified by:
findCustomObjectNames
in interfaceCustomObjectEntityDao
- Parameters:
type
-- Returns:
-
findCustomObjectNames
public List<String> findCustomObjectNames(CriteriaSearchConfiguration criteria, String type)
CriteriaSearchConfiguration implementation- Specified by:
findCustomObjectNames
in interfaceCustomObjectEntityDao
-
findCustomObjectNames
public List<String> findCustomObjectNames(String queryString, CriteriaSearchConfiguration criteria, String type)
Internal implementation
-
toCustomObject
public void toCustomObject(CustomObjectEntity source, com.soffid.iam.api.CustomObject target)
Copy data toCustomObject
object- Specified by:
toCustomObject
in interfaceCustomObjectEntityDao
-
toCustomObject
public com.soffid.iam.api.CustomObject toCustomObject(CustomObjectEntity entity)
Transforms toCustomObject
object- Specified by:
toCustomObject
in interfaceCustomObjectEntityDao
-
toCustomObjectList
public List<com.soffid.iam.api.CustomObject> toCustomObjectList(Collection<CustomObjectEntity> instances)
Transforms toCustomObject
list- Specified by:
toCustomObjectList
in interfaceCustomObjectEntityDao
-
customObjectToEntity
public void customObjectToEntity(com.soffid.iam.api.CustomObject source, CustomObjectEntity target, boolean copyIfNull)
Copy data fromCustomObject
object- Specified by:
customObjectToEntity
in interfaceCustomObjectEntityDao
-
customObjectToEntity
public CustomObjectEntity customObjectToEntity(com.soffid.iam.api.CustomObject instance)
Transforms fromCustomObject
object- Specified by:
customObjectToEntity
in interfaceCustomObjectEntityDao
-
customObjectToEntityList
public List<CustomObjectEntity> customObjectToEntityList(Collection<com.soffid.iam.api.CustomObject> instances)
Transforms fromCustomObject
list- Specified by:
customObjectToEntityList
in interfaceCustomObjectEntityDao
-
newCustomObjectEntity
public CustomObjectEntity newCustomObjectEntity()
Creates an instance ofCustomObjectEntity
.- Specified by:
newCustomObjectEntity
in interfaceCustomObjectEntityDao
-
load
public CustomObjectEntity load(Long id)
Loads an instance ofCustomObjectEntity
from the persistent store.- Specified by:
load
in interfaceCustomObjectEntityDao
-
loadAll
public List<CustomObjectEntity> loadAll()
Loads all instances ofCustomObjectEntity
from the persistent store.- Specified by:
loadAll
in interfaceCustomObjectEntityDao
-
create
public void create(CustomObjectEntity entity)
Adds an instance ofCustomObjectEntity
to the persistent store.- Specified by:
create
in interfaceCustomObjectEntityDao
-
update
public void update(CustomObjectEntity entity)
Updates an instance ofCustomObjectEntity
at the persistent store.- Specified by:
update
in interfaceCustomObjectEntityDao
-
remove
public void remove(CustomObjectEntity entity)
Removes an instance ofCustomObjectEntity
from the persistent store.- Specified by:
remove
in interfaceCustomObjectEntityDao
-
create
public void create(Collection<? extends CustomObjectEntity> entities)
Creates a collection ofCustomObjectEntity
and adds it to the persistent store.- Specified by:
create
in interfaceCustomObjectEntityDao
-
update
public void update(Collection<? extends CustomObjectEntity> entities)
Updates a collection ofCustomObjectEntity
in the persistent store.- Specified by:
update
in interfaceCustomObjectEntityDao
-
remove
public void remove(Collection<? extends CustomObjectEntity> entities)
Removes a collection ofCustomObjectEntity
from the persistent store.- Specified by:
remove
in interfaceCustomObjectEntityDao
-
remove
public void remove(Long id)
Removes an instance ofCustomObjectEntity
from the persistent store.- Specified by:
remove
in interfaceCustomObjectEntityDao
-
query
public List<CustomObjectEntity> query(String queryString, Parameter[] parameters)
Query ofCustomObjectEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfaceCustomObjectEntityDao
-
query
public List<CustomObjectEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofCustomObjectEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
query
in interfaceCustomObjectEntityDao
-
-