|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ao.OwSupportBasedManager
com.wewebu.ow.server.ao.OwDefaultAOManager
public class OwDefaultAOManager
Manager for plain OwObject
application objects.
Returns OwObject
objects.
Retrieves only single objects and collection of objects.
Does not support parameterized retrieval through getApplicationObject(String, Object, boolean, boolean)
.
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 | |
---|---|
OwDefaultAOManager(int type_p,
OwAOSupport aoSupport_p,
String basePath_p)
Constructor |
Method Summary | |
---|---|
OwObject |
getApplicationObject(String strName_p,
boolean forceUserSpecificObject_p,
boolean createIfNotExist_p)
Returns the application object that is matched by the given name. |
OwObject |
getApplicationObject(String strName_p,
Object param_p,
boolean forceUserSpecificObject_p,
boolean createIfNotExist_p)
Returns the application object that is matched by the given name. |
Collection<OwObject> |
getApplicationObjects(String strName_p,
boolean forceUserSpecificObject_p)
Returns all application objects that are matched by the given name. |
int |
getManagedType()
|
String |
toString()
|
Methods inherited from class com.wewebu.ow.server.ao.OwSupportBasedManager |
---|
getAOSupportObject, getAOSupportObjects |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OwDefaultAOManager(int type_p, OwAOSupport aoSupport_p, String basePath_p)
type_p
- integer application objects codeaoSupport_p
- application OwObject
persistence supportbasePath_p
- path relative to the persistence support root of
the managed objects' containerMethod Detail |
---|
public OwObject getApplicationObject(String strName_p, Object param_p, boolean forceUserSpecificObject_p, boolean createIfNotExist_p) throws OwException
OwAOManager
strName_p
- name of the object to retrieve e.g. "userprefs"param_p
- optional Object, can be nullforceUserSpecificObject_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.
OwException
- if the given object could not be retrievedpublic OwObject getApplicationObject(String strName_p, boolean forceUserSpecificObject_p, boolean createIfNotExist_p) throws OwException
OwAOManager
strName_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.
OwException
- if the given object could not be retrievedpublic Collection<OwObject> getApplicationObjects(String strName_p, boolean forceUserSpecificObject_p) throws OwException
OwAOManager
strName_p
- theforceUserSpecificObject_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.
OwException
public final int getManagedType()
public String toString()
toString
in class OwSupportBasedManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |