|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openwms.core.integration.jpa.SecurityObjectDaoImpl
@Transactional(propagation=MANDATORY) @Repository(value="securityObjectDao") public class SecurityObjectDaoImpl
A SecurityDaoImpl is a JPA implementation that is used as a repository to
find, delete and save SecurityObject
s. It can be injected by name
"securityObjectDao".
All methods have to be invoked within an active transaction context.
Field Summary | |
---|---|
static String |
COMPONENT_NAME
Springs component name. |
Constructor Summary | |
---|---|
SecurityObjectDaoImpl()
|
Method Summary | |
---|---|
void |
delete(List<Grant> grants)
Delete a list of Grant s. |
List<SecurityObject> |
findAll()
Find and retrieve all SecurityObject s. |
List<Grant> |
findAllOfModule(String moduleName)
Find and retrieve all SecurityObject s that belong to a given
Module . |
SecurityObject |
merge(SecurityObject entity)
Save a SecurityObject and return the updated instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPONENT_NAME
Constructor Detail |
---|
public SecurityObjectDaoImpl()
Method Detail |
---|
public void delete(List<Grant> grants)
Grant
s.
delete
in interface SecurityObjectDao
grants
- the Grant
s to deleteSecurityObjectDao.delete(java.util.List)
public List<SecurityObject> findAll()
SecurityObject
s.
findAll
in interface SecurityObjectDao
SecurityObject
s. null
might be
possible as well, see the particular implementationSecurityObjectDao.findAll()
public List<Grant> findAllOfModule(String moduleName)
SecurityObject
s that belong to a given
Module
.
findAllOfModule
in interface SecurityObjectDao
moduleName
- The name of the Module
SecurityObject
s. null
might be
possible as well, see the particular implementationSecurityObjectDao.findAllOfModule(java.lang.String)
public SecurityObject merge(SecurityObject entity)
SecurityObject
and return the updated instance.
merge
in interface SecurityObjectDao
entity
- the SecurityObject
to save
SecurityObjectDao.merge(org.openwms.core.domain.system.usermanagement.SecurityObject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |