public class OwAutoAttributeBagSupport extends Object implements OwAttributeBagsSupport, OwConfigurableSupport
Attribute bag support with automatic DB connection detection.
If DB is supported in the current context it will delegate all
functionality to a OwDBAttributeBagsSupport instance.
If DB is not supported in the current context will delegate all
functionality to a OwTransientBagsSupport instance.
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 |
|---|
OwAutoAttributeBagSupport() |
| Modifier and Type | Method and Description |
|---|---|
OwAttributeBag |
getNameKeyAttributeBag(OwNetworkContext networkContext_p,
String name_p,
String userID_p)
get a inverted writable attribute bag based an a attribute name key
i.e.: the attributenames of the bag represent the users
|
OwAttributeBagWriteable |
getUserKeyAttributeBagWriteable(OwNetworkContext networkContext_p,
String name_p,
String userID_p)
get a writable attribute bag based an a user key
i.e.: the attributenames of the bag represent the attribute names
|
void |
init(OwSupportConfiguration configuration,
OwAOContext context) |
public OwAttributeBag getNameKeyAttributeBag(OwNetworkContext networkContext_p, String name_p, String userID_p) throws Exception
OwAttributeBagsSupportgetNameKeyAttributeBag in interface OwAttributeBagsSupportOwAttributeBagOwExceptionExceptionOwNetwork.APPLICATION_OBJECT_TYPE_INVERTED_ATTRIBUTE_BAGpublic OwAttributeBagWriteable getUserKeyAttributeBagWriteable(OwNetworkContext networkContext_p, String name_p, String userID_p) throws Exception
OwAttributeBagsSupportgetUserKeyAttributeBagWriteable in interface OwAttributeBagsSupportOwAttributeBagWriteableOwExceptionExceptionpublic void init(OwSupportConfiguration configuration, OwAOContext context) throws OwConfigurationException
init in interface OwConfigurableSupportOwConfigurationExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.