public class OwVirtualFoldersManager extends OwSupportBasedManager
Manager for virtual folder OwObject application objects.
Returns OwObject objects.
Retrieves only single 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 |
|---|
OwVirtualFoldersManager() |
OwVirtualFoldersManager(OwAOSupport aoSupport_p,
OwVirtualFolderFactory virtualFolderFactory_p)
Constructor -
DEFAULT_BASE_PATH path will be used |
OwVirtualFoldersManager(OwAOSupport aoSupport_p,
OwVirtualFolderFactory virtualFolderFactory_p,
OwRoleManager roleManager_p,
String basePath_p)
Constructor -
DEFAULT_BASE_PATH path will be used |
| Modifier and Type | Method and Description |
|---|---|
OwObject |
getApplicationObject(String strName_p,
boolean forceUserSpecificObject_p,
boolean createIfNotExist_p)
Returns the application object that is matched by the given name.
|
OwObject |
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<OwObject> |
getApplicationObjects(String strName_p,
boolean forceUserSpecificObject_p)
Returns all application objects that are matched by the given name.
|
int |
getManagedType() |
OwAOType<?> |
getType() |
void |
init(OwAOType<?> type,
OwManagerConfiguration configuration,
OwSupportsConfiguration supports,
OwAOContext context) |
String |
toString() |
getAOSupportObject, getAOSupportObjectspublic static final String DEFAULT_BASE_PATH
public OwVirtualFoldersManager()
public OwVirtualFoldersManager(OwAOSupport aoSupport_p, OwVirtualFolderFactory virtualFolderFactory_p)
DEFAULT_BASE_PATH path will be usedaoSupport_p - application OwObject persistence supportvirtualFolderFactory_p - virtual folder factory implementationpublic OwVirtualFoldersManager(OwAOSupport aoSupport_p, OwVirtualFolderFactory virtualFolderFactory_p, OwRoleManager roleManager_p, String basePath_p)
DEFAULT_BASE_PATH path will be usedaoSupport_p - application OwObject persistence supportvirtualFolderFactory_p - virtual folder factory implementationroleManager_p - role manager used for filtering allowed virtual folders (can be null if
no role based filtering is required)public OwObject getApplicationObject(String strName_p, Object param_p, boolean forceUserSpecificObject_p, boolean createIfNotExist_p) throws OwException
OwAOManagerstrName_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 final OwObject getApplicationObject(String strName_p, boolean forceUserSpecificObject_p, boolean createIfNotExist_p) throws OwException
OwAOManagerstrName_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<OwObject> getApplicationObjects(String strName_p, boolean forceUserSpecificObject_p) throws OwException
OwAOManagerstrName_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.OwExceptionpublic final int getManagedType()
public final OwAOType<?> getType()
public void init(OwAOType<?> type, OwManagerConfiguration configuration, OwSupportsConfiguration supports, OwAOContext context) throws OwConfigurationException
init in interface OwConfigurableManagerinit in class OwSupportBasedManagerOwConfigurationExceptionpublic String toString()
toString in class OwSupportBasedManagerCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.