Package com.soffid.iam.model
Interface TenantEntityDao
-
- All Known Implementing Classes:
TenantEntityDaoBase
,TenantEntityDaoImpl
public interface TenantEntityDao
DAO for Entity TenantEntity- See Also:
TenantEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
create(TenantEntity entity)
Adds an instance ofTenantEntity
to the persistent store.void
create(Collection<? extends TenantEntity> entities)
Creates a collection ofTenantEntity
and adds it to the persistent store.List<TenantEntity>
findByCriteria(com.soffid.iam.api.TenantCriteria criteria)
Operation findByCriteriaTenantEntity
findByName(CriteriaSearchConfiguration criteria, String name)
CriteriaSearchConfiguration finderTenantEntity
findByName(String name)
Operation findByNameList<TenantEntity>
findByServer(CriteriaSearchConfiguration criteria, String server)
CriteriaSearchConfiguration finderList<TenantEntity>
findByServer(String server)
Operation findByServerTenantEntity
load(Long id)
Loads an instance ofTenantEntity
from the persistent store.List<TenantEntity>
loadAll()
Loads all instances ofTenantEntity
from the persistent store.TenantEntity
newTenantEntity()
Creates an instance ofTenantEntity
.List<TenantEntity>
query(String query, Parameter[] parameters)
Query ofTenantEntity
from the persistent store.List<TenantEntity>
query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofTenantEntity
from the persistent store.void
remove(TenantEntity entity)
Removes an instance ofTenantEntity
from the persistent store.void
remove(Long id)
Removes an instance ofTenantEntity
from the persistent store.void
remove(Collection<? extends TenantEntity> entities)
Removes a collection ofTenantEntity
from the persistent store.TenantEntity
tenantToEntity(com.soffid.iam.api.Tenant instance)
Transforms fromTenant
objectvoid
tenantToEntity(com.soffid.iam.api.Tenant source, TenantEntity target, boolean copyIfNull)
Copy data fromTenant
objectList<TenantEntity>
tenantToEntityList(Collection<com.soffid.iam.api.Tenant> instances)
Transforms fromTenant
listcom.soffid.iam.api.Tenant
toTenant(TenantEntity entity)
Transforms toTenant
objectvoid
toTenant(TenantEntity source, com.soffid.iam.api.Tenant target)
Copy data toTenant
objectList<com.soffid.iam.api.Tenant>
toTenantList(Collection<TenantEntity> entities)
Transforms toTenant
listvoid
update(TenantEntity entity)
Updates an instance ofTenantEntity
at the persistent store.void
update(Collection<? extends TenantEntity> entities)
Updates a collection ofTenantEntity
in 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 toTenant
object
-
toTenant
com.soffid.iam.api.Tenant toTenant(TenantEntity entity)
Transforms toTenant
object
-
toTenantList
List<com.soffid.iam.api.Tenant> toTenantList(Collection<TenantEntity> entities)
Transforms toTenant
list
-
tenantToEntity
void tenantToEntity(com.soffid.iam.api.Tenant source, TenantEntity target, boolean copyIfNull)
Copy data fromTenant
object
-
tenantToEntity
TenantEntity tenantToEntity(com.soffid.iam.api.Tenant instance)
Transforms fromTenant
object
-
tenantToEntityList
List<TenantEntity> tenantToEntityList(Collection<com.soffid.iam.api.Tenant> instances)
Transforms fromTenant
list
-
newTenantEntity
TenantEntity newTenantEntity()
Creates an instance ofTenantEntity
.
-
create
void create(TenantEntity entity)
Adds an instance ofTenantEntity
to the persistent store.
-
update
void update(TenantEntity entity)
Updates an instance ofTenantEntity
at the persistent store.
-
remove
void remove(TenantEntity entity)
Removes an instance ofTenantEntity
from the persistent store.
-
load
TenantEntity load(Long id)
Loads an instance ofTenantEntity
from the persistent store.
-
loadAll
List<TenantEntity> loadAll()
Loads all instances ofTenantEntity
from the persistent store.
-
create
void create(Collection<? extends TenantEntity> entities)
Creates a collection ofTenantEntity
and adds it to the persistent store.
-
update
void update(Collection<? extends TenantEntity> entities)
Updates a collection ofTenantEntity
in the persistent store.
-
remove
void remove(Collection<? extends TenantEntity> entities)
Removes a collection ofTenantEntity
from the persistent store.
-
remove
void remove(Long id)
Removes an instance ofTenantEntity
from the persistent store.
-
query
List<TenantEntity> query(String query, Parameter[] parameters)
Query ofTenantEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<TenantEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofTenantEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-