com.wewebu.ow.server.ecm
Class OwStandardContentBasedRetrivalObject

java.lang.Object
  extended by com.wewebu.ow.server.ecm.OwStandardContentBasedRetrivalObject
All Implemented Interfaces:
OwField

public class OwStandardContentBasedRetrivalObject
extends Object
implements OwField

CBR value for search templates to perform cbr searches.

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


Nested Class Summary
static class OwStandardContentBasedRetrivalObject.OwStandardContentBasedRetrivalObjectClass
           Class description for on the fly created search fields.
 
Field Summary
static String CLASS_NAME
          class name for the folder property field
protected  String m_strSearchString
          search string to look for
protected  List m_zones
          zones
 
Constructor Summary
OwStandardContentBasedRetrivalObject(Node folderNode_p)
          construct a resource value
OwStandardContentBasedRetrivalObject(String strSearchString_p)
          string constructor
OwStandardContentBasedRetrivalObject(String strSearchString_p, List zones_p)
          string constructor with zones
 
Method Summary
static OwStandardContentBasedRetrivalObject.OwStandardContentBasedRetrivalObjectClass getClassDescription()
           
 OwFieldDefinition getFieldDefinition()
          get the corresponding field definition of the field
 String getSearchString()
          get the search string to look for
 Object getValue()
          get the value of the field.
 List getZones()
          get the zones as a list
 String getZonesString()
          get the zones as a string
 void setValue(Object oValue_p)
          set the value of the field.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final String CLASS_NAME
class name for the folder property field

See Also:
Constant Field Values

m_strSearchString

protected String m_strSearchString
search string to look for


m_zones

protected List m_zones
zones

Constructor Detail

OwStandardContentBasedRetrivalObject

public OwStandardContentBasedRetrivalObject(Node folderNode_p)
                                     throws Exception
construct a resource value

Throws:
Exception

OwStandardContentBasedRetrivalObject

public OwStandardContentBasedRetrivalObject(String strSearchString_p)
                                     throws Exception
string constructor

Throws:
Exception

OwStandardContentBasedRetrivalObject

public OwStandardContentBasedRetrivalObject(String strSearchString_p,
                                            List zones_p)
                                     throws Exception
string constructor with zones

Throws:
Exception
Method Detail

getClassDescription

public static OwStandardContentBasedRetrivalObject.OwStandardContentBasedRetrivalObjectClass getClassDescription()

getZonesString

public String getZonesString()
get the zones as a string


getZones

public List getZones()
get the zones as a list


getSearchString

public String getSearchString()
get the search string to look for


toString

public String toString()
Overrides:
toString in class Object

getValue

public Object getValue()
                throws Exception
get the value of the field. Can also be a list of values

Specified by:
getValue in interface OwField
Returns:
Object value of field if field is scalar, or a java.io.List of objects if field is an array
Throws:
Exception

setValue

public void setValue(Object oValue_p)
              throws Exception
set the value of the field. Can also be a list of values (see OwPropertyClass.isArray)

Specified by:
setValue in interface OwField
Parameters:
oValue_p - value of field if field is scalar, or a java.io.List of objects if field is an array
Throws:
Exception

getFieldDefinition

public OwFieldDefinition getFieldDefinition()
                                     throws Exception
get the corresponding field definition of the field

Specified by:
getFieldDefinition in interface OwField
Returns:
OwFieldDefinition
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.