public interface OwAOSupport
An application OwObject
provider. Implementors of this interface
provide application objects as OwObject
s from different persistence systems
(egg. file system , ECM system ).
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 | Method and Description |
---|---|
OwObject |
getSupportObject(String strName_p,
boolean forceUserspecificObject_p,
boolean createIfNotExist_p)
Returns the persistent application
OwObject that is matched by the given name. |
OwObject[] |
getSupportObjects(String strName_p,
boolean forceUserspecificObject_p,
boolean createIfNotExist_p)
Returns a collection of persistent application
OwObject s that are matched by the given name. |
OwObject getSupportObject(String strName_p, boolean forceUserspecificObject_p, boolean createIfNotExist_p) throws OwException
OwObject
that is matched by the given name.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.createIfNotExist_p
- if true
the object will be created if it does not existOwObject
OwException
- if the given object could not be retrievedOwObject[] getSupportObjects(String strName_p, boolean forceUserspecificObject_p, boolean createIfNotExist_p) throws OwException
OwObject
s that are matched by the given name.strName_p
- name of the objects 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.createIfNotExist_p
- if true
the objects container will be created if it does not existOwObject
. Some entries might be null if
the implementation of this support allows it (usually null entries signal objects that
could not be retrieved).OwException
- if the given object could not be retrievedCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.