org.openwms.core.integration
Interface SecurityObjectDao

All Known Implementing Classes:
SecurityObjectDaoImpl

public interface SecurityObjectDao

A SecurityDao is used to find, modify and delete SecurityObjects, in particular Grants.

Since:
0.1
Version:
$Revision: 1540 $
Author:
Heiko Scherrer

Method Summary
 void delete(List<Grant> grants)
          Delete a list of Grants.
 List<SecurityObject> findAll()
          Find and retrieve all SecurityObjects.
 List<Grant> findAllOfModule(String moduleName)
          Find and retrieve all SecurityObjects that belong to a given Module.
 SecurityObject merge(SecurityObject entity)
          Save a SecurityObject and return the updated instance.
 

Method Detail

findAll

List<SecurityObject> findAll()
Find and retrieve all SecurityObjects.

Returns:
a list of SecurityObjects. null might be possible as well, see the particular implementation

findAllOfModule

List<Grant> findAllOfModule(String moduleName)
Find and retrieve all SecurityObjects that belong to a given Module.

Parameters:
moduleName - The name of the Module
Returns:
a list of SecurityObjects. null might be possible as well, see the particular implementation

merge

SecurityObject merge(SecurityObject entity)
Save a SecurityObject and return the updated instance.

Parameters:
entity - the SecurityObject to save
Returns:
the saved instance

delete

void delete(List<Grant> grants)
Delete a list of Grants.

Parameters:
grants - the Grants to delete


Copyright © 2005-2011 openwms.org. All Rights Reserved.