|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Resource
| Method Summary | |
|---|---|
Resource |
create(ResourceType type)
This method will create associate resource objects for the given resource type. |
List<Resource> |
get(ResourceType type)
This method will list all the child resources for the given resource type |
Resource |
get(ResourceType type,
Object name)
This method will return the given child resource from the database |
boolean |
isExists(ResourceType type,
Object name)
This method will check whether an entry from the given resource type and resource name exists in the database |
void |
remove(ResourceType type,
Object name)
This method will remove the given child resource from the database |
void |
save()
This method will save the resource to the database. |
| Method Detail |
|---|
Resource create(ResourceType type)
type - child resource type
void remove(ResourceType type,
Object name)
type - child resource typename - child resource name
Resource get(ResourceType type,
Object name)
type - child resource typename - child resource name
List<Resource> get(ResourceType type)
type - child resource type
void save()
boolean isExists(ResourceType type,
Object name)
type - child resource typename - child resource name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||