Oracle® Collaboration Suite Workspaces API Reference
10g Release 1 (10.1.2)

B25479-01


oracle.workspaces.resource.views
Class CwViewResource

java.lang.Object
  extended byoracle.workspaces.resource.CwResource
      extended byoracle.workspaces.resource.views.CwViewResource


public class CwViewResource
extends CwResource

Resource for accessing views


Field Summary
static java.lang.String FAVORITES_VIEW_DESCRIPTION
static java.lang.String FAVORITES_VIEW_NAME

Method Summary
CwView createView(CwViewDefinition viewDef)
void deleteView(CwUid viewUid)
void deleteViews(CwUid[] viewUids)
CwResourceItem getItemByUid(CwUid uid)
Return the resource item for the given CwUid
CwResourceStatus getMemberStatus(CwMember member)
CwResourceBulkResponse listItemsByUids(CwUid[] uids)
Return multiple resource items for the given CwUid array.
CwView[] listParentViews(CwUid viewItemUid)
The result is sorted by view name.
CwView[] listViews()
The result is sorted by view name.

Methods inherited from class oracle.workspaces.resource.CwResource
getProperties, getRecentActivities, getStatus, getUid, getWorkspace, storeProperties

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

FAVORITES_VIEW_DESCRIPTION

public static final java.lang.String FAVORITES_VIEW_DESCRIPTION
See Also:
Constant Field Values

FAVORITES_VIEW_NAME

public static final java.lang.String FAVORITES_VIEW_NAME
See Also:
Constant Field Values

Method Detail

createView

public CwView createView(CwViewDefinition viewDef)
                  throws CwException
Throws:
CwException

deleteView

public void deleteView(CwUid viewUid)
                throws CwException
Throws:
CwException

deleteViews

public void deleteViews(CwUid[] viewUids)
                 throws CwException
Throws:
CwException

getItemByUid

public CwResourceItem getItemByUid(CwUid uid)
                            throws CwException
Description copied from class: CwResource
Return the resource item for the given CwUid
Specified by:
getItemByUid in class CwResource
Throws:
CwException

getMemberStatus

public CwResourceStatus getMemberStatus(CwMember member)

listItemsByUids

public CwResourceBulkResponse listItemsByUids(CwUid[] uids)
                                       throws CwException
Description copied from class: CwResource
Return multiple resource items for the given CwUid array. In the returned CwResourceBulkReponse: - getSuccessfulItems() returns an array of CwResourceItems that has been successful retrieved. - getFailedUids() returns an array of CwUid instances that failed to be used to retrieve data. - getFailedExceptions() returns the causes of failures.
Specified by:
listItemsByUids in class CwResource
Parameters:
uids - UIDs of the resource items to be retrieved.
Throws:
CwException

listParentViews

public CwView[] listParentViews(CwUid viewItemUid)
                         throws CwException
The result is sorted by view name.
Throws:
CwException

listViews

public CwView[] listViews()
                   throws CwException
The result is sorted by view name.
Throws:
CwException

Copyright © 2001, 2005, Oracle. All rights reserved.