com.wewebu.ow.server.ecm
Class OwSemiVirtualRecordClass

java.lang.Object
  extended by com.wewebu.ow.server.ecm.OwSemiVirtualRecordClass

public class OwSemiVirtualRecordClass
extends Object

Java model of the <SemiVirtualRecordClassName> XML configuration node in owbootstrap.xml.

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

Since:
4.0.0.0

Field Summary
static String FOLDERCLASSNAME_ATTRIBUTE
           
static String INCLUDEPHYSICALCHILDS_ATTRIBUTE
           
static String SEARCHSUBSTRUCTURE_ATTRIBUTE
           
static String SEMIVIRTUALRECORDCLASSES_ELEMENT
           
static String SEMIVIRTUALRECORDCLASSNAME_ELEMENT
           
static String VIRTUALFOLDER_ATTRIBUTE
           
 
Constructor Summary
OwSemiVirtualRecordClass(Node n_p)
           
 
Method Summary
static Map<String,OwSemiVirtualRecordClass> createVirtualRecordClasses(OwXMLUtil configuration_p, Collection<String> selectiveConfigurationIds_p)
           
 String getFolderClassName()
          Return the folder class value of semi-virtual structure definition.
 Map getPropertyMapping()
          Get property mapping which was configured for current semi-virtual structure.
 String getVirtualFolder()
          Return template name which is used for semi-virtual structure.
 boolean isIncludePhysicalChilds()
          Should physical children be returned also during folder retrieval.
 boolean isSearchSubstructure()
          Should search be extended to semi-virtual root.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEMIVIRTUALRECORDCLASSES_ELEMENT

public static final String SEMIVIRTUALRECORDCLASSES_ELEMENT
See Also:
Constant Field Values

SEMIVIRTUALRECORDCLASSNAME_ELEMENT

public static final String SEMIVIRTUALRECORDCLASSNAME_ELEMENT
See Also:
Constant Field Values

INCLUDEPHYSICALCHILDS_ATTRIBUTE

public static final String INCLUDEPHYSICALCHILDS_ATTRIBUTE
See Also:
Constant Field Values

FOLDERCLASSNAME_ATTRIBUTE

public static final String FOLDERCLASSNAME_ATTRIBUTE
See Also:
Constant Field Values

VIRTUALFOLDER_ATTRIBUTE

public static final String VIRTUALFOLDER_ATTRIBUTE
See Also:
Constant Field Values

SEARCHSUBSTRUCTURE_ATTRIBUTE

public static final String SEARCHSUBSTRUCTURE_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

OwSemiVirtualRecordClass

public OwSemiVirtualRecordClass(Node n_p)
                         throws OwConfigurationException
Throws:
OwConfigurationException
Method Detail

createVirtualRecordClasses

public static final Map<String,OwSemiVirtualRecordClass> createVirtualRecordClasses(OwXMLUtil configuration_p,
                                                                                    Collection<String> selectiveConfigurationIds_p)
                                                                             throws OwConfigurationException
Parameters:
configuration_p - bootstrap configuration node
Returns:
a Map of OwSemiVirtualRecordClass mapped by their folder class name as defined in SemiVirtualRecordClasses configuration node in bootstrap configuration
Throws:
OwConfigurationException

getFolderClassName

public String getFolderClassName()
Return the folder class value of semi-virtual structure definition. Definition of object-type which is used to map virtual structure.

Returns:
String

getVirtualFolder

public String getVirtualFolder()
Return template name which is used for semi-virtual structure.

Returns:
String

isIncludePhysicalChilds

public boolean isIncludePhysicalChilds()
Should physical children be returned also during folder retrieval.

Returns:
boolean, by default false

getPropertyMapping

public Map getPropertyMapping()
Get property mapping which was configured for current semi-virtual structure.

Returns:
Map

isSearchSubstructure

public boolean isSearchSubstructure()
Should search be extended to semi-virtual root.

Returns:
boolean, by default false


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.