|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ecm.OwStandardSemiVirtualFolderAdapter
public class OwStandardSemiVirtualFolderAdapter
Standard semi-virtual-folder adapter implementation.
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.OwSemiVirtualFolderAdapter |
|---|
VIRTUAL_FOLDER_SEARCH_PATH_PROPERTY |
| Constructor Summary | |
|---|---|
OwStandardSemiVirtualFolderAdapter(OwNetwork network_p)
Constructor |
|
| Method Summary | |
|---|---|
protected Object |
convertPropertyValue(OwSearchCriteria searchCriteria_p,
OwProperty folderProperty_p)
(overridable) Convert the given property value to a value compatible with given search criteria. |
OwObjectCollection |
getChildren(OwSemiVirtualFolder semiVirtualFolder_p,
int[] objectTypes_p,
Collection propertyNames_p,
OwSort sort_p,
int maxSize_p,
int versionSelection_p,
OwSearchNode filterCriteria_p)
Retrieves all children of the given semi-virtual-folder object. |
OwVirtualFolderObject |
getVirtualFolder(OwSemiVirtualFolder semiVirtualFolder_p)
Retrieve the virtual folder object corresponding to this semi-virtual-folder adapter. Clients of this interface should consider the possible caching of the virtual folder object instance by their adapter. |
protected Map |
propagateRootProperties(OwSemiVirtualFolder rootObj_p,
OwSearchNode search_p)
Called to propagate the defined set of properties from "physical" parent to it's virtual children. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OwStandardSemiVirtualFolderAdapter(OwNetwork network_p)
network_p - | Method Detail |
|---|
public OwObjectCollection getChildren(OwSemiVirtualFolder semiVirtualFolder_p,
int[] objectTypes_p,
Collection propertyNames_p,
OwSort sort_p,
int maxSize_p,
int versionSelection_p,
OwSearchNode filterCriteria_p)
throws OwException
OwSemiVirtualFolderAdapterOwObject.getChilds(int[], Collection, OwSort, int, int, OwSearchNode) method.
getChildren in interface OwSemiVirtualFolderAdaptersemiVirtualFolder_p - the semi-virtual-folder object whose children are to be retrievedobjectTypes_p - the requested object types (folder or document)propertyNames_p - properties to fetch from DMS system along with the children, can be null.sort_p - OwSort Sortcriteria list to sort return listmaxSize_p - int maximum number of objects to retrieveversionSelection_p - int Selects the versions as defined in OwSearchTemplate.VERSION_SELECT_...filterCriteria_p - optional OwSearchNode to filter the children, can be null
NOTE: This parameter is an additional filter to the internal SearchTemplate used in the getSearchTemplate(...) function
The internal SearchTemplate used in the getSearchTemplate(...) is used for virtual folders, the FilterCriteria_p is used to refine the result of a node
OwSemiVirtualFolder.includesPhysicalChildren())
OwException
public OwVirtualFolderObject getVirtualFolder(OwSemiVirtualFolder semiVirtualFolder_p)
throws OwException
OwSemiVirtualFolderAdapter
getVirtualFolder in interface OwSemiVirtualFolderAdapterOwException
protected Object convertPropertyValue(OwSearchCriteria searchCriteria_p,
OwProperty folderProperty_p)
throws Exception
OwSearchCriteria.getJavaClassName() and OwFieldDefinition.getJavaClassName()).
If the two classes don't match search a search-criteria based string conversion is performed
on the properties value string representation.
searchCriteria_p - folderProperty_p -
Exception
protected Map propagateRootProperties(OwSemiVirtualFolder rootObj_p,
OwSearchNode search_p)
throws Exception
rootObj_p - OwSemiVirtualFolder to use for propagationsearch_p - OwSearchNode where to map the properties
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||