|
Oracle® Collaboration Suite Workspaces API Reference 10g (10.1.1.0.2) Part No. B16233-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.workspaces.resource.CwResource
Interface that represents a workspace resource. Each subsystem of CW (files, calendar, etc) will be represented by an instance of this class per workspace. Access control methods are included so that a given resource type can provide the actions necessary in its subsystem when a role is granted or revoked. They are not intended to be exposed to the API user; they will be called internally as needed by a higher-level class.
| Method Summary | |
abstract CwResourceItem |
getItemByUid(CwUid uid)Return the resource item for the given CwUid |
CwResourceProperties |
getProperties()Returns the resource properties |
CwResourceItem[] |
getRecentActivities()The default implementation here returns an empty array. |
CwResourceStatus |
getStatus()No Exception should be thrown from this method. |
CwUid |
getUid()Returns the UID of the resource. |
CwWorkspace |
getWorkspace()Returns the workspace this resource belongs to. |
abstract CwResourceBulkResponse |
listItemsByUids(CwUid[] uids)Return multiple resource items for the given CwUid array. |
void |
storeProperties()Set the properties for the resource. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public abstract CwResourceItem getItemByUid(CwUid uid)
throws CwException
CwExceptionpublic final CwResourceProperties getProperties()
public CwResourceItem[] getRecentActivities()
throws CwException
CwExceptionpublic CwResourceStatus getStatus()
public final CwUid getUid()
public final CwWorkspace getWorkspace()
public abstract CwResourceBulkResponse listItemsByUids(CwUid[] uids)
throws CwException
uids - UIDs of the resource items to be retrieved.CwException
public void storeProperties()
throws CwException
CwException
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||