|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecm.OwObjectCollectionDelegator
com.wewebu.ow.server.ecm.OwQueriedCollection
public class OwQueriedCollection
An OwObjectCollection
that relates on an OwObjectsQuery
for the
default object contents.
The contents is refreshed when the collection is sorted using the collection query.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Field Summary |
---|
Fields inherited from interface com.wewebu.ow.server.ecm.OwObjectCollection |
---|
ATTRIBUTE_IS_COMPLETE, ATTRIBUTE_SIZE, ATTRIBUTE_SQL |
Constructor Summary | |
---|---|
OwQueriedCollection(OwObjectCollection decoratedCollection_p,
OwObjectsQuery query_p)
|
|
OwQueriedCollection(OwObjectsQuery query_p,
OwSort sort_p)
Constructor Triggers a reload on this collection (see reload() using the given sort object. |
Method Summary | |
---|---|
void |
reload()
Reloads this collection with no sort object |
void |
reload(OwSort sort_p)
Executes the underlying query using the given sort criteria and replaces the delegate with the result. |
void |
sort(OwSort sortCriteria_p)
Executes the underlying query using the given sort criteria and replaces the delegate with the result. |
Methods inherited from class com.wewebu.ow.server.ecm.OwObjectCollectionDelegator |
---|
add, add, addAll, addAll, attributecount, clear, contains, containsAll, equals, get, getAttribute, getAttribute, getAttributeNames, getNext, getPrev, getSafeAttribute, hasAttribute, hashCode, hasNext, hasPrev, indexOf, isComplete, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceDelegatee, retainAll, set, size, subList, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OwQueriedCollection(OwObjectCollection decoratedCollection_p, OwObjectsQuery query_p)
decoratedCollection_p
- query_p
- public OwQueriedCollection(OwObjectsQuery query_p, OwSort sort_p) throws OwException
reload()
using the given sort object.
query_p
- sort_p
-
OwException
Method Detail |
---|
public void reload() throws OwException
OwException
public void reload(OwSort sort_p) throws OwException
sort_p
-
OwException
public void sort(OwSort sortCriteria_p) throws Exception
sort
in interface OwObjectCollection
sort
in class OwObjectCollectionDelegator
sortCriteria_p
-
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |