|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeOpsV2
Nested Class Summary | |
---|---|
static class |
NodeOpsV2.MethodName
|
Method Summary | |
---|---|
boolean |
canAccessNode(IContentContext context,
ID nodeId)
if the specified node exists, can the caller access it? this is used for checking access to cached content |
QueryResult<Node> |
getNodeChildrenWithRangeAndQueryCriteria(IContentContext context,
ID parentId,
int startPos,
int numItems,
QueryCriteria queryCriteria)
retrieve some or all the children of a parent node, referenced via ID, possibly sorting and/or filtering the results. |
Method Detail |
---|
QueryResult<Node> getNodeChildrenWithRangeAndQueryCriteria(IContentContext context, ID parentId, int startPos, int numItems, QueryCriteria queryCriteria) throws RepositoryException
context
- the ContentContext objectparentId
- the parent node IDstartPos
- the starting position (0=first item)numItems
- the number of items to fetch. Can be ContentListKeys.ALL_ITEMS (to fetch all items)queryCriteria
- sort/filter criteria requested by the client (the SPI is not required to sort/filter)
The SPI should report in the return value how the results were actually sorted and/or filtered.
RepositoryException
boolean canAccessNode(IContentContext context, ID nodeId) throws RepositoryException
context
- The ContentContext objectnodeId
- The node to check access for
RepositoryException
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |