public class OwAttributeBagsManager extends Object implements OwAOManager, OwConfigurableManager
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 and Description |
---|
OwAttributeBagsManager() |
OwAttributeBagsManager(OwNetworkContext networkContext_p,
OwAOType<?> type_p,
boolean nameKey_p,
OwAttributeBagsSupport attributeBagsSupport_p)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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() |
OwAOType<?> |
getType() |
void |
init(OwAOType<?> type,
OwManagerConfiguration configuration,
OwSupportsConfiguration supports,
OwAOContext context) |
String |
toString() |
public OwAttributeBagsManager()
public OwAttributeBagsManager(OwNetworkContext networkContext_p, OwAOType<?> 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 usedpublic Object getApplicationObject(String strName_p, Object param_p, boolean forceUserSpecificObject_p, boolean createIfNotExist_p) throws OwException
OwAOManager
getApplicationObject
in interface 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 Object getApplicationObject(String strName_p, boolean forceUserSpecificObject_p, boolean createIfNotExist_p) throws OwException
OwAOManager
getApplicationObject
in interface 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<?> getApplicationObjects(String strName_p, boolean forceUserSpecificObject_p) throws OwException
OwAOManager
getApplicationObjects
in interface 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()
getManagedType
in interface OwAOManager
public final OwAOType<?> getType()
public void init(OwAOType<?> type, OwManagerConfiguration configuration, OwSupportsConfiguration supports, OwAOContext context) throws OwConfigurationException
init
in interface OwConfigurableManager
OwConfigurationException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.