public class OwXMLAOManager extends OwSupportBasedManager
Manager for virtual folder XML application objects.
Returns Document
objects.
Retrieves single objects and collection of objects.
Does not support parameterized retrieval through getApplicationObject(String, Object, boolean, boolean)
.
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
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_BASE_PATH |
Constructor and Description |
---|
OwXMLAOManager() |
OwXMLAOManager(OwAOSupport aoSupport_p)
Constructor -
DEFAULT_BASE_PATH will be used as base path |
OwXMLAOManager(OwAOSupport aoSupport_p,
String basePath_p)
Constructor - an empty string base path will be used
|
Modifier and Type | Method and Description |
---|---|
Document |
getApplicationObject(String strName_p,
boolean forceUserSpecificObject_p,
boolean createIfNotExist_p)
Returns the application object that is matched by the given name.
|
Document |
getApplicationObject(String strName_p,
Object param_p,
boolean forceUserSpecificObject_p,
boolean createIfNotExist_p)
Returns the application object that is matched by the given name.
|
List<Document> |
getApplicationObjects(String strName_p,
boolean forceUserSpecificObject_p)
Returns all application objects that are matched by the given name.
|
int |
getManagedType() |
OwAOType<?> |
getType() |
String |
toString() |
getAOSupportObject, getAOSupportObjects, init
public static final String DEFAULT_BASE_PATH
public OwXMLAOManager()
public OwXMLAOManager(OwAOSupport aoSupport_p)
DEFAULT_BASE_PATH
will be used as base pathaoSupport_p
- application OwObject
persistence supportpublic OwXMLAOManager(OwAOSupport aoSupport_p, String basePath_p)
aoSupport_p
- application OwObject
persistence supportbasePath_p
- path relative to the persistence support root of
the managed objects' containerpublic Document getApplicationObject(String strName_p, Object param_p, boolean forceUserSpecificObject_p, boolean createIfNotExist_p) throws OwException
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 Document getApplicationObject(String strName_p, boolean forceUserSpecificObject_p, boolean createIfNotExist_p) throws OwException
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 List<Document> getApplicationObjects(String strName_p, boolean forceUserSpecificObject_p) throws OwException
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 int getManagedType()
public final OwAOType<?> getType()
public String toString()
toString
in class OwSupportBasedManager
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.