|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ao.OwRepositoryAOSupport
public class OwRepositoryAOSupport
Simple Repository based OwAOSupport. Will retrieve ApplicationObjects (Searchtemplates,...) from a repository, using the provided OwNetwork.
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
| Constructor Summary | |
|---|---|
OwRepositoryAOSupport(OwNetwork network_p,
String path_p,
int[] objectTypes_p,
int versionSelection_p,
String aoClassName_p)
Create an instance with a max size of Integer.MAX_VALUE for object retrieval. |
|
OwRepositoryAOSupport(OwNetwork network_p,
String path_p,
int[] objectTypes_p,
int versionSelection_p,
String aoClassName_p,
int maxSize_p)
Create an instance with a max size of Integer.MAX_VALUE, for object retrieval. |
|
| Method Summary | |
|---|---|
int |
getMaxSize()
Get maximum retrieval size. |
OwObject |
getSupportObject(String strName_p,
boolean forceUserspecificObject_p,
boolean createIfNotExist_p)
Returns the persistent application OwObject that is matched by the given name. |
OwObject[] |
getSupportObjects(String strName_p,
boolean forceUserspecificObject_p,
boolean createIfNotExist_p)
Returns a collection of persistent application OwObjects that are matched by the given name. |
void |
setMaxSize(int maxSize_p)
Set max size to be used during retrieval. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OwRepositoryAOSupport(OwNetwork network_p,
String path_p,
int[] objectTypes_p,
int versionSelection_p,
String aoClassName_p)
network_p - OwNetwork to usepath_p - String path where to searchobjectTypes_p - types to requestversionSelection_p - int version selection see OwSearchtTemplateaoClassName_p - String objectclass new to create new instances
public OwRepositoryAOSupport(OwNetwork network_p,
String path_p,
int[] objectTypes_p,
int versionSelection_p,
String aoClassName_p,
int maxSize_p)
network_p - OwNetwork to usepath_p - String path where to searchobjectTypes_p - types to requestversionSelection_p - int version selection see OwSearchtTemplateaoClassName_p - String objectclass new to create new instancesmaxSize_p - int number of maximum children to retrieve| Method Detail |
|---|
public OwObject getSupportObject(String strName_p,
boolean forceUserspecificObject_p,
boolean createIfNotExist_p)
throws OwException
OwAOSupportOwObject that is matched by the given name.
getSupportObject in interface OwAOSupportstrName_p - name of the object to retrieve e.g. "userprefs"forceUserspecificObject_p - if true, the object must be specific to the logged in user, otherwise the ECM Adapter determines if it is common to a site or specific to a group or a user.createIfNotExist_p - if true the object will be created if it does not exist
OwObject
OwException - if the given object could not be retrieved
public OwObject[] getSupportObjects(String strName_p,
boolean forceUserspecificObject_p,
boolean createIfNotExist_p)
throws OwException
OwAOSupportOwObjects that are matched by the given name.
getSupportObjects in interface OwAOSupportstrName_p - name of the objects to retrieve e.g. "userprefs"forceUserspecificObject_p - if true, the object must be specific to the logged in user, otherwise the ECM Adapter determines if it is common to a site or specific to a group or a user.createIfNotExist_p - if true the objects container will be created if it does not exist
OwObject. Some entries might be null if
the implementation of this support allows it (usually null entries signal objects that
could not be retrieved).
OwException - if the given object could not be retrievedpublic int getMaxSize()
public void setMaxSize(int maxSize_p)
maxSize_p - int amount
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||