com.wewebu.ow.server.ecm
Class OwTransientBagsSupport

java.lang.Object
  extended by com.wewebu.ow.server.ecm.OwTransientBagsSupport
All Implemented Interfaces:
OwAttributeBagsSupport

public class OwTransientBagsSupport
extends Object
implements OwAttributeBagsSupport

An application OwAttributeBag support to be used with OwTransientBagRepository. Should only be used for testing.

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

Since:
3.1.0.0

Constructor Summary
OwTransientBagsSupport()
           
 
Method Summary
 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
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OwTransientBagsSupport

public OwTransientBagsSupport()
Method Detail

getNameKeyAttributeBag

public OwAttributeBag getNameKeyAttributeBag(OwNetworkContext networkContext_p,
                                             String name_p,
                                             String userID_p)
                                      throws OwException
Description copied from interface: OwAttributeBagsSupport
get a inverted writable attribute bag based an a attribute name key i.e.: the attributenames of the bag represent the users

Specified by:
getNameKeyAttributeBag in interface OwAttributeBagsSupport
Returns:
an OwAttributeBag
Throws:
OwException
See Also:
OwNetwork.APPLICATION_OBJECT_TYPE_INVERTED_ATTRIBUTE_BAG

getUserKeyAttributeBagWriteable

public OwAttributeBagWriteable getUserKeyAttributeBagWriteable(OwNetworkContext networkContext_p,
                                                               String name_p,
                                                               String userID_p)
                                                        throws OwException
Description copied from interface: OwAttributeBagsSupport
get a writable attribute bag based an a user key i.e.: the attributenames of the bag represent the attribute names

Specified by:
getUserKeyAttributeBagWriteable in interface OwAttributeBagsSupport
Returns:
an OwAttributeBagWriteable
Throws:
OwException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.