Package com.soffid.iam.model
Interface TenantEntityDao
-
- All Known Implementing Classes:
TenantEntityDaoBase,TenantEntityDaoImpl
public interface TenantEntityDaoDAO for Entity TenantEntity- See Also:
TenantEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreate(TenantEntity entity)Adds an instance ofTenantEntityto the persistent store.voidcreate(Collection<? extends TenantEntity> entities)Creates a collection ofTenantEntityand adds it to the persistent store.List<TenantEntity>findByCriteria(com.soffid.iam.api.TenantCriteria criteria)Operation findByCriteriaTenantEntityfindByName(CriteriaSearchConfiguration criteria, String name)CriteriaSearchConfiguration finderTenantEntityfindByName(String name)Operation findByNameList<TenantEntity>findByServer(CriteriaSearchConfiguration criteria, String server)CriteriaSearchConfiguration finderList<TenantEntity>findByServer(String server)Operation findByServerTenantEntityload(Long id)Loads an instance ofTenantEntityfrom the persistent store.List<TenantEntity>loadAll()Loads all instances ofTenantEntityfrom the persistent store.TenantEntitynewTenantEntity()Creates an instance ofTenantEntity.List<TenantEntity>query(String query, Parameter[] parameters)Query ofTenantEntityfrom the persistent store.List<TenantEntity>query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofTenantEntityfrom the persistent store.voidremove(TenantEntity entity)Removes an instance ofTenantEntityfrom the persistent store.voidremove(Long id)Removes an instance ofTenantEntityfrom the persistent store.voidremove(Collection<? extends TenantEntity> entities)Removes a collection ofTenantEntityfrom the persistent store.TenantEntitytenantToEntity(com.soffid.iam.api.Tenant instance)Transforms fromTenantobjectvoidtenantToEntity(com.soffid.iam.api.Tenant source, TenantEntity target, boolean copyIfNull)Copy data fromTenantobjectList<TenantEntity>tenantToEntityList(Collection<com.soffid.iam.api.Tenant> instances)Transforms fromTenantlistcom.soffid.iam.api.TenanttoTenant(TenantEntity entity)Transforms toTenantobjectvoidtoTenant(TenantEntity source, com.soffid.iam.api.Tenant target)Copy data toTenantobjectList<com.soffid.iam.api.Tenant>toTenantList(Collection<TenantEntity> entities)Transforms toTenantlistvoidupdate(TenantEntity entity)Updates an instance ofTenantEntityat the persistent store.voidupdate(Collection<? extends TenantEntity> entities)Updates a collection ofTenantEntityin the persistent store.
-
-
-
Method Detail
-
findByName
TenantEntity findByName(String name)
Operation findByName- Parameters:
name-- Returns:
-
findByName
TenantEntity findByName(CriteriaSearchConfiguration criteria, String name)
CriteriaSearchConfiguration finder
-
findByCriteria
List<TenantEntity> findByCriteria(com.soffid.iam.api.TenantCriteria criteria)
Operation findByCriteria- Parameters:
criteria-- Returns:
-
findByServer
List<TenantEntity> findByServer(String server)
Operation findByServer- Parameters:
server-- Returns:
-
findByServer
List<TenantEntity> findByServer(CriteriaSearchConfiguration criteria, String server)
CriteriaSearchConfiguration finder
-
toTenant
void toTenant(TenantEntity source, com.soffid.iam.api.Tenant target)
Copy data toTenantobject
-
toTenant
com.soffid.iam.api.Tenant toTenant(TenantEntity entity)
Transforms toTenantobject
-
toTenantList
List<com.soffid.iam.api.Tenant> toTenantList(Collection<TenantEntity> entities)
Transforms toTenantlist
-
tenantToEntity
void tenantToEntity(com.soffid.iam.api.Tenant source, TenantEntity target, boolean copyIfNull)Copy data fromTenantobject
-
tenantToEntity
TenantEntity tenantToEntity(com.soffid.iam.api.Tenant instance)
Transforms fromTenantobject
-
tenantToEntityList
List<TenantEntity> tenantToEntityList(Collection<com.soffid.iam.api.Tenant> instances)
Transforms fromTenantlist
-
newTenantEntity
TenantEntity newTenantEntity()
Creates an instance ofTenantEntity.
-
create
void create(TenantEntity entity)
Adds an instance ofTenantEntityto the persistent store.
-
update
void update(TenantEntity entity)
Updates an instance ofTenantEntityat the persistent store.
-
remove
void remove(TenantEntity entity)
Removes an instance ofTenantEntityfrom the persistent store.
-
load
TenantEntity load(Long id)
Loads an instance ofTenantEntityfrom the persistent store.
-
loadAll
List<TenantEntity> loadAll()
Loads all instances ofTenantEntityfrom the persistent store.
-
create
void create(Collection<? extends TenantEntity> entities)
Creates a collection ofTenantEntityand adds it to the persistent store.
-
update
void update(Collection<? extends TenantEntity> entities)
Updates a collection ofTenantEntityin the persistent store.
-
remove
void remove(Collection<? extends TenantEntity> entities)
Removes a collection ofTenantEntityfrom the persistent store.
-
remove
void remove(Long id)
Removes an instance ofTenantEntityfrom the persistent store.
-
query
List<TenantEntity> query(String query, Parameter[] parameters)
Query ofTenantEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<TenantEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofTenantEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-