public interface OwVirtualFolderObjectFactory
Base Class for virtual folder object factories.
The factory is created and cached in the ECM-System. You retrieve objects with getInstance(String strDmsIDPart_p)
They are constructed using a XML root node given in the init method, which must be overridden in
the implementation of your virtual folder object factory.
With the getInstance(String strDmsIDPart_p)
you can retrieve instances of virtual folders which can be treated as any other OwObject.
To be implemented with the specific 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 | Field and Description |
---|---|
static String |
CLASSNAME_TAG_NAME
name of the classname node tag for the virtual folder class
|
static String |
ROOT_NODE_TAG_NAME
name of the root node tag
|
Modifier and Type | Method and Description |
---|---|
OwVirtualFolderObject |
getInstance(String strDmsIDPart_p)
get a folder instance from the factory with the given DMSID part.
|
void |
init(OwNetworkContext context_p,
OwRepository repository_p,
String strBaseDMSID_p,
String virtualFolderName_p,
Node rootNode_p)
init a virtual folder object
|
static final String ROOT_NODE_TAG_NAME
static final String CLASSNAME_TAG_NAME
void init(OwNetworkContext context_p, OwRepository repository_p, String strBaseDMSID_p, String virtualFolderName_p, Node rootNode_p) throws Exception
context_p
- OwNetworkContextrepository_p
- OwRepositorystrBaseDMSID_p
- String name to identify the virtual folder by the DMSID, to be extended by instance part (see getInstance)rootNode_p
- Node XML root node describing the virtual foldervirtualFolderName_p
- name of the virtual folderException
OwVirtualFolderObject getInstance(String strDmsIDPart_p) throws Exception
strDmsIDPart_p
- String DMSID part for the instance, or null to get a default virtual folderException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.