Package com.soffid.iam.model
Interface SecretEntityDao
-
- All Known Implementing Classes:
SecretEntityDaoBase,SecretEntityDaoImpl
public interface SecretEntityDaoDAO for Entity SecretEntity- See Also:
es.caib.seycon.ng.model.SecretEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreate(SecretEntity entity)Adds an instance ofSecretEntityto the persistent store.voidcreate(Collection<? extends SecretEntity> entities)Creates a collection ofSecretEntityand adds it to the persistent store.List<SecretEntity>findByServer(CriteriaSearchConfiguration criteria, ServerEntity server)CriteriaSearchConfiguration finderList<SecretEntity>findByServer(ServerEntity server)Operation findByServerSecretEntityfindByUserAndServer(long userId, long serverId)Operation findByUserAndServerSecretEntityfindByUserAndServer(CriteriaSearchConfiguration criteria, long userId, long serverId)CriteriaSearchConfiguration finderSecretEntityload(Long id)Loads an instance ofSecretEntityfrom the persistent store.List<SecretEntity>loadAll()Loads all instances ofSecretEntityfrom the persistent store.SecretEntitynewSecretEntity()Creates an instance ofSecretEntity.List<SecretEntity>query(String query, Parameter[] parameters)Query ofSecretEntityfrom the persistent store.List<SecretEntity>query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofSecretEntityfrom the persistent store.voidremove(SecretEntity entity)Removes an instance ofSecretEntityfrom the persistent store.voidremove(Long id)Removes an instance ofSecretEntityfrom the persistent store.voidremove(Collection<? extends SecretEntity> entities)Removes a collection ofSecretEntityfrom the persistent store.voidupdate(SecretEntity entity)Updates an instance ofSecretEntityat the persistent store.voidupdate(Collection<? extends SecretEntity> entities)Updates a collection ofSecretEntityin the persistent store.
-
-
-
Method Detail
-
findByUserAndServer
SecretEntity findByUserAndServer(long userId, long serverId)
Operation findByUserAndServer- Parameters:
userId-serverId-- Returns:
-
findByUserAndServer
SecretEntity findByUserAndServer(CriteriaSearchConfiguration criteria, long userId, long serverId)
CriteriaSearchConfiguration finder
-
findByServer
List<SecretEntity> findByServer(ServerEntity server)
Operation findByServer- Parameters:
server-- Returns:
-
findByServer
List<SecretEntity> findByServer(CriteriaSearchConfiguration criteria, ServerEntity server)
CriteriaSearchConfiguration finder
-
newSecretEntity
SecretEntity newSecretEntity()
Creates an instance ofSecretEntity.
-
create
void create(SecretEntity entity)
Adds an instance ofSecretEntityto the persistent store.
-
update
void update(SecretEntity entity)
Updates an instance ofSecretEntityat the persistent store.
-
remove
void remove(SecretEntity entity)
Removes an instance ofSecretEntityfrom the persistent store.
-
load
SecretEntity load(Long id)
Loads an instance ofSecretEntityfrom the persistent store.
-
loadAll
List<SecretEntity> loadAll()
Loads all instances ofSecretEntityfrom the persistent store.
-
create
void create(Collection<? extends SecretEntity> entities)
Creates a collection ofSecretEntityand adds it to the persistent store.
-
update
void update(Collection<? extends SecretEntity> entities)
Updates a collection ofSecretEntityin the persistent store.
-
remove
void remove(Collection<? extends SecretEntity> entities)
Removes a collection ofSecretEntityfrom the persistent store.
-
remove
void remove(Long id)
Removes an instance ofSecretEntityfrom the persistent store.
-
query
List<SecretEntity> query(String query, Parameter[] parameters)
Query ofSecretEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<SecretEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofSecretEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-