|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Allows management of the resources of an OpenGroupware.org installation.
Method Summary | |
boolean |
delete(Resource resource)
|
java.util.Iterator |
fetch(FetchSpecification spec)
|
Resource |
getById(java.lang.String id)
|
Resource |
getByName(java.lang.String name)
|
java.util.Iterator |
getCategories()
Returns the names of all categories. |
java.util.Iterator |
getResourcesByCategory(java.lang.String category_name)
Returns all Resources that are in the category with the name passed as argument. |
Resource |
insert(java.lang.String name,
java.lang.String category)
|
Methods inherited from interface java.util.Observer |
update |
Method Detail |
public Resource insert(java.lang.String name, java.lang.String category) throws OgoException, ConnectionException
OgoException
ConnectionException
public Resource getById(java.lang.String id) throws OgoException, ConnectionException
OgoException
ConnectionException
public Resource getByName(java.lang.String name) throws OgoException, ConnectionException
OgoException
ConnectionException
public boolean delete(Resource resource) throws OgoException, ConnectionException
OgoException
ConnectionException
public java.util.Iterator getCategories() throws OgoException, ConnectionException
OgoException
ConnectionException
public java.util.Iterator getResourcesByCategory(java.lang.String category_name) throws OgoException, ConnectionException
category_name
-
OgoException
ConnectionException
public java.util.Iterator fetch(FetchSpecification spec) throws OgoException, ConnectionException
OgoException
ConnectionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |