public abstract class OwSupportBasedManager extends Object implements OwAOManager, OwConfigurableManager
Base class for application object managers that relay on
OwAOSupport
s for persistence.
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 |
---|
OwSupportBasedManager() |
OwSupportBasedManager(OwAOSupport aoSupport_p,
String basePath_p) |
Modifier and Type | Method and Description |
---|---|
protected OwObject |
getAOSupportObject(String strName_p,
boolean forceUserspecificObject_p,
boolean createIfNotExist_p) |
protected OwObject[] |
getAOSupportObjects(String strName_p,
boolean forceUserspecificObject_p,
boolean createIfNotExist_p) |
void |
init(OwAOType<?> type,
OwManagerConfiguration configuration,
OwSupportsConfiguration supports,
OwAOContext context) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getApplicationObject, getApplicationObject, getApplicationObjects, getManagedType
public OwSupportBasedManager()
public OwSupportBasedManager(OwAOSupport aoSupport_p, String basePath_p)
aoSupport_p
- the underlying persistence supportbasePath_p
- path relative to the persistence support root of
the managed objects' containerprotected OwObject getAOSupportObject(String strName_p, boolean forceUserspecificObject_p, boolean createIfNotExist_p) throws OwException
strName_p
- forceUserspecificObject_p
- createIfNotExist_p
- OwObject
as provided by the current OwAOSupport
form a basePath
based locationOwException
protected OwObject[] getAOSupportObjects(String strName_p, boolean forceUserspecificObject_p, boolean createIfNotExist_p) throws OwException
strName_p
- forceUserspecificObject_p
- createIfNotExist_p
- OwObject
as provided by the current OwAOSupport
form a basePath
based locationOwException
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.