Package com.soffid.iam.model
Interface SecretEntityDao
-
- All Known Implementing Classes:
SecretEntityDaoBase
,SecretEntityDaoImpl
public interface SecretEntityDao
DAO for Entity SecretEntity- See Also:
es.caib.seycon.ng.model.SecretEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
create(SecretEntity entity)
Adds an instance ofSecretEntity
to the persistent store.void
create(Collection<? extends SecretEntity> entities)
Creates a collection ofSecretEntity
and adds it to the persistent store.List<SecretEntity>
findByServer(CriteriaSearchConfiguration criteria, ServerEntity server)
CriteriaSearchConfiguration finderList<SecretEntity>
findByServer(ServerEntity server)
Operation findByServerSecretEntity
findByUserAndServer(long userId, long serverId)
Operation findByUserAndServerSecretEntity
findByUserAndServer(CriteriaSearchConfiguration criteria, long userId, long serverId)
CriteriaSearchConfiguration finderSecretEntity
load(Long id)
Loads an instance ofSecretEntity
from the persistent store.List<SecretEntity>
loadAll()
Loads all instances ofSecretEntity
from the persistent store.SecretEntity
newSecretEntity()
Creates an instance ofSecretEntity
.List<SecretEntity>
query(String query, Parameter[] parameters)
Query ofSecretEntity
from the persistent store.List<SecretEntity>
query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofSecretEntity
from the persistent store.void
remove(SecretEntity entity)
Removes an instance ofSecretEntity
from the persistent store.void
remove(Long id)
Removes an instance ofSecretEntity
from the persistent store.void
remove(Collection<? extends SecretEntity> entities)
Removes a collection ofSecretEntity
from the persistent store.void
update(SecretEntity entity)
Updates an instance ofSecretEntity
at the persistent store.void
update(Collection<? extends SecretEntity> entities)
Updates a collection ofSecretEntity
in 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 ofSecretEntity
to the persistent store.
-
update
void update(SecretEntity entity)
Updates an instance ofSecretEntity
at the persistent store.
-
remove
void remove(SecretEntity entity)
Removes an instance ofSecretEntity
from the persistent store.
-
load
SecretEntity load(Long id)
Loads an instance ofSecretEntity
from the persistent store.
-
loadAll
List<SecretEntity> loadAll()
Loads all instances ofSecretEntity
from the persistent store.
-
create
void create(Collection<? extends SecretEntity> entities)
Creates a collection ofSecretEntity
and adds it to the persistent store.
-
update
void update(Collection<? extends SecretEntity> entities)
Updates a collection ofSecretEntity
in the persistent store.
-
remove
void remove(Collection<? extends SecretEntity> entities)
Removes a collection ofSecretEntity
from the persistent store.
-
remove
void remove(Long id)
Removes an instance ofSecretEntity
from the persistent store.
-
query
List<SecretEntity> query(String query, Parameter[] parameters)
Query ofSecretEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<SecretEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofSecretEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-