Package com.soffid.iam.model
Interface UserAccountEntityDao
-
- All Known Implementing Classes:
UserAccountEntityDaoBase,UserAccountEntityDaoImpl
public interface UserAccountEntityDaoDAO for Entity UserAccountEntity- See Also:
es.caib.seycon.ng.model.UserAccountEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreate(UserAccountEntity entity)Adds an instance ofUserAccountEntityto the persistent store.voidcreate(Collection<? extends UserAccountEntity> entities)Creates a collection ofUserAccountEntityand adds it to the persistent store.UserAccountEntityfindByAccountSystemAndName(CriteriaSearchConfiguration criteria, String account, String systemName, String user)CriteriaSearchConfiguration finderUserAccountEntityfindByAccountSystemAndName(String account, String systemName, String user)Operation findByAccountSystemAndNameList<UserAccountEntity>findByUserAndDispatcher(CriteriaSearchConfiguration criteria, String user, String dispatcher)CriteriaSearchConfiguration finderList<UserAccountEntity>findByUserAndDispatcher(String user, String dispatcher)Operation findByUserAndDispatcherUserAccountEntityload(Long id)Loads an instance ofUserAccountEntityfrom the persistent store.List<UserAccountEntity>loadAll()Loads all instances ofUserAccountEntityfrom the persistent store.UserAccountEntitynewUserAccountEntity()Creates an instance ofUserAccountEntity.voidpropagateChanges(UserAccountEntity account)Operation propagateChangesList<UserAccountEntity>query(String query, Parameter[] parameters)Query ofUserAccountEntityfrom the persistent store.List<UserAccountEntity>query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofUserAccountEntityfrom the persistent store.voidremove(UserAccountEntity entity)Removes an instance ofUserAccountEntityfrom the persistent store.voidremove(Long id)Removes an instance ofUserAccountEntityfrom the persistent store.voidremove(Collection<? extends UserAccountEntity> entities)Removes a collection ofUserAccountEntityfrom the persistent store.com.soffid.iam.api.UserAccounttoUserAccount(UserAccountEntity entity)Transforms toUserAccountobjectvoidtoUserAccount(UserAccountEntity source, com.soffid.iam.api.UserAccount target)Copy data toUserAccountobjectList<com.soffid.iam.api.UserAccount>toUserAccountList(Collection<UserAccountEntity> entities)Transforms toUserAccountlistvoidupdate(UserAccountEntity entity)Updates an instance ofUserAccountEntityat the persistent store.voidupdate(Collection<? extends UserAccountEntity> entities)Updates a collection ofUserAccountEntityin the persistent store.UserAccountEntityuserAccountToEntity(com.soffid.iam.api.UserAccount instance)Transforms fromUserAccountobjectvoiduserAccountToEntity(com.soffid.iam.api.UserAccount source, UserAccountEntity target, boolean copyIfNull)Copy data fromUserAccountobjectList<UserAccountEntity>userAccountToEntityList(Collection<com.soffid.iam.api.UserAccount> instances)Transforms fromUserAccountlist
-
-
-
Method Detail
-
findByAccountSystemAndName
UserAccountEntity findByAccountSystemAndName(String account, String systemName, String user)
Operation findByAccountSystemAndName- Parameters:
account-systemName-user-- Returns:
-
findByAccountSystemAndName
UserAccountEntity findByAccountSystemAndName(CriteriaSearchConfiguration criteria, String account, String systemName, String user)
CriteriaSearchConfiguration finder
-
findByUserAndDispatcher
List<UserAccountEntity> findByUserAndDispatcher(String user, String dispatcher)
Operation findByUserAndDispatcher- Parameters:
user-dispatcher-- Returns:
-
findByUserAndDispatcher
List<UserAccountEntity> findByUserAndDispatcher(CriteriaSearchConfiguration criteria, String user, String dispatcher)
CriteriaSearchConfiguration finder
-
propagateChanges
void propagateChanges(UserAccountEntity account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
Operation propagateChanges- Parameters:
account-- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
toUserAccount
void toUserAccount(UserAccountEntity source, com.soffid.iam.api.UserAccount target)
Copy data toUserAccountobject
-
toUserAccount
com.soffid.iam.api.UserAccount toUserAccount(UserAccountEntity entity)
Transforms toUserAccountobject
-
toUserAccountList
List<com.soffid.iam.api.UserAccount> toUserAccountList(Collection<UserAccountEntity> entities)
Transforms toUserAccountlist
-
userAccountToEntity
void userAccountToEntity(com.soffid.iam.api.UserAccount source, UserAccountEntity target, boolean copyIfNull)Copy data fromUserAccountobject
-
userAccountToEntity
UserAccountEntity userAccountToEntity(com.soffid.iam.api.UserAccount instance)
Transforms fromUserAccountobject
-
userAccountToEntityList
List<UserAccountEntity> userAccountToEntityList(Collection<com.soffid.iam.api.UserAccount> instances)
Transforms fromUserAccountlist
-
newUserAccountEntity
UserAccountEntity newUserAccountEntity()
Creates an instance ofUserAccountEntity.
-
create
void create(UserAccountEntity entity)
Adds an instance ofUserAccountEntityto the persistent store.
-
update
void update(UserAccountEntity entity)
Updates an instance ofUserAccountEntityat the persistent store.
-
remove
void remove(UserAccountEntity entity)
Removes an instance ofUserAccountEntityfrom the persistent store.
-
load
UserAccountEntity load(Long id)
Loads an instance ofUserAccountEntityfrom the persistent store.
-
loadAll
List<UserAccountEntity> loadAll()
Loads all instances ofUserAccountEntityfrom the persistent store.
-
create
void create(Collection<? extends UserAccountEntity> entities)
Creates a collection ofUserAccountEntityand adds it to the persistent store.
-
update
void update(Collection<? extends UserAccountEntity> entities)
Updates a collection ofUserAccountEntityin the persistent store.
-
remove
void remove(Collection<? extends UserAccountEntity> entities)
Removes a collection ofUserAccountEntityfrom the persistent store.
-
remove
void remove(Long id)
Removes an instance ofUserAccountEntityfrom the persistent store.
-
query
List<UserAccountEntity> query(String query, Parameter[] parameters)
Query ofUserAccountEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<UserAccountEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofUserAccountEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-