|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceDao
Data Access interface for Resources business objects.
Method Summary | |
---|---|
Resource |
getResource(long id)
Retrieve a Resource using its identifier |
Resource |
getResource(java.lang.String name)
Retrieve a Resource using its name |
java.util.List |
getResourcesByCategory(java.lang.String category)
Retrieve all Resources corresponding to a specified category of resources |
java.util.List |
getResourcesByType(AbstractResourceType type)
Retrieve all Resource corresponding to a specified type of resources |
Methods inherited from interface org.figure8.join.core.persistence.ObjectDao |
---|
findAll, findAllSorted, getPersistentClass, initialize, initializeAssociation, isInitialized, refresh, remove, replicate, save |
Method Detail |
---|
Resource getResource(long id)
id
- The unique identifier of this resource
Resource getResource(java.lang.String name)
name
- The name of Resource to retrieve
java.util.List getResourcesByCategory(java.lang.String category)
category
- The string representing the category of resource (Service, Gwateway, ..)
Resource
corresponding to this categoryjava.util.List getResourcesByType(AbstractResourceType type)
type
- The resource type of Resources to retrieve (only persistent types are supported at that time)
Resource
corresponding to this type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |