|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ao.OwAttributeBagsManager
public class OwAttributeBagsManager
Manager for OwAttributeBag application objects.
Returns OwAttributeBag objects.
Retrieves only single objects.
Supports parameterized retrieval through
getApplicationObject(String, Object, boolean, boolean)- parameter must be
the String user ID.
Only user specific retrievals are supported.
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 | |
|---|---|
OwAttributeBagsManager(OwNetworkContext networkContext_p,
int type_p,
boolean nameKey_p,
OwAttributeBagsSupport attributeBagsSupport_p)
Constructor |
|
| Method Summary | |
|---|---|
Object |
getApplicationObject(String strName_p,
boolean forceUserSpecificObject_p,
boolean createIfNotExist_p)
Returns the application object that is matched by the given name. |
Object |
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<?> |
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OwAttributeBagsManager(OwNetworkContext networkContext_p,
int type_p,
boolean nameKey_p,
OwAttributeBagsSupport attributeBagsSupport_p)
type_p - integer application objects code (usually one
of OwNetwork.APPLICATION_OBJECT_TYPE_ATTRIBUTE_BAG_WRITABLE or OwNetwork.APPLICATION_OBJECT_TYPE_INVERTED_ATTRIBUTE_BAG).nameKey_p - if true retrieve inverted writable attribute bags based an a attribute name keyfalse retrieve writable attribute bags based an a user keyattributeBagsSupport_p - the attribute bag persistence support to be used| Method Detail |
|---|
public Object getApplicationObject(String strName_p,
Object param_p,
boolean forceUserSpecificObject_p,
boolean createIfNotExist_p)
throws OwException
OwAOManager
getApplicationObject in interface OwAOManagerstrName_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 retrieved
public Object getApplicationObject(String strName_p,
boolean forceUserSpecificObject_p,
boolean createIfNotExist_p)
throws OwException
OwAOManager
getApplicationObject in interface OwAOManagerstrName_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 retrieved
public Collection<?> getApplicationObjects(String strName_p,
boolean forceUserSpecificObject_p)
throws OwException
OwAOManager
getApplicationObjects in interface OwAOManagerstrName_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.
OwExceptionpublic final int getManagedType()
getManagedType in interface OwAOManagerpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||