com.wewebu.ow.server.ecm
Class OwStandardClassSelectObject

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

public class OwStandardClassSelectObject
extends Object
implements OwField

Class object value for search templates to filter for object classes and object types.

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 OwStandardClassSelectObject.OwStandardClassSelectObjectClass
           Class description for on the fly created search fields.
 
Field Summary
static OwStandardClassSelectObject.OwStandardClassSelectObjectClass CLASS_CLASS_NAME
          OwClass valued class for CLASS_NAME
static OwStandardClassSelectObject.OwStandardClassSelectObjectClass CLASS_FROM
          OwClass valued class for FROM_NAME
static String CLASS_NAME
          Class name for the folder property field that designates class selection considering from and subclasses template entries.
static OwStandardClassSelectObject.OwStandardClassSelectObjectClass CLASS_SUBCLASSES
          OwClass valued class for SUBCLASSES_NAME
static String FROM_NAME
          Class name for the folder property field that designates classes indicated by the from template entry.
protected  List m_Classes
          list of OwClass elements
static String SUBCLASSES_NAME
          Class name for the folder property field that designates classes indicated by the subclasses template entry.
 
Method Summary
 void addClass(int iObjectType_p, String strClassName_p, String strBaseClassName_p, String strResourceName_p, boolean fIncludeSubclasses_p)
          add a new class entry
 OwStandardClassSelectObject.OwStandardClassSelectObjectClass getClassDescription()
           
 OwFieldDefinition getFieldDefinition()
          get the corresponding field definition of the field
 Object getValue()
          get the value of the field.
 void setValue(Object oValue_p)
          set the value of the field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_Classes

protected List m_Classes
list of OwClass elements


CLASS_NAME

public static final String CLASS_NAME
Class name for the folder property field that designates class selection considering from and subclasses template entries.

See Also:
Constant Field Values

FROM_NAME

public static final String FROM_NAME
Class name for the folder property field that designates classes indicated by the from template entry.

Since:
3.2.0.3
See Also:
Constant Field Values

SUBCLASSES_NAME

public static final String SUBCLASSES_NAME
Class name for the folder property field that designates classes indicated by the subclasses template entry.

Since:
3.2.0.3
See Also:
Constant Field Values

CLASS_CLASS_NAME

public static final OwStandardClassSelectObject.OwStandardClassSelectObjectClass CLASS_CLASS_NAME
OwClass valued class for CLASS_NAME

Since:
3.2.0.3

CLASS_FROM

public static final OwStandardClassSelectObject.OwStandardClassSelectObjectClass CLASS_FROM
OwClass valued class for FROM_NAME

Since:
3.2.0.3

CLASS_SUBCLASSES

public static OwStandardClassSelectObject.OwStandardClassSelectObjectClass CLASS_SUBCLASSES
OwClass valued class for SUBCLASSES_NAME

Since:
3.2.0.3
Method Detail

getClassDescription

public OwStandardClassSelectObject.OwStandardClassSelectObjectClass getClassDescription()

addClass

public void addClass(int iObjectType_p,
                     String strClassName_p,
                     String strBaseClassName_p,
                     String strResourceName_p,
                     boolean fIncludeSubclasses_p)
add a new class entry


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.