public static class OwSearchNode.OwSearchNodeFieldProvider extends Object implements OwFieldProvider
Field provider interface for 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
TYPE_AJAX, TYPE_CHECKIN_OBJECT, TYPE_CREATE_OBJECT, TYPE_META_OBJECT, TYPE_RESULT_LIST, TYPE_SEARCH, TYPE_SMALL
Constructor and Description |
---|
OwSearchNode.OwSearchNodeFieldProvider(OwSearchNode search_p)
create a field provider for the given search
|
Modifier and Type | Method and Description |
---|---|
OwField |
getField(String strFieldClassName_p)
get a field with the given field definition class name
|
String |
getFieldProviderName()
get a name that identifies the field provider, can be used to create IDs
|
Object |
getFieldProviderSource()
get the source object that originally provided the fields.
|
int |
getFieldProviderType()
get the type of field provider as defined with TYPE_...
|
Collection |
getFields()
get all the properties in the form
|
Object |
getSafeFieldValue(String sName_p,
Object defaultvalue_p)
retrieve the value of a Field
|
void |
setField(String sName_p,
Object value_p)
modify a Field value, but does not save the value right away
|
public OwSearchNode.OwSearchNodeFieldProvider(OwSearchNode search_p)
search_p
- OwSearchNodepublic Object getFieldProviderSource()
getFieldProviderSource
in interface OwFieldProvider
public String getFieldProviderName()
getFieldProviderName
in interface OwFieldProvider
public OwField getField(String strFieldClassName_p) throws Exception, OwObjectNotFoundException
getField
in interface OwFieldProvider
strFieldClassName_p
- String class name of requested fieldsException
OwObjectNotFoundException
public int getFieldProviderType()
getFieldProviderType
in interface OwFieldProvider
public void setField(String sName_p, Object value_p) throws Exception, OwObjectNotFoundException
setField
in interface OwFieldProvider
sName_p
- value_p
- Exception
OwObjectNotFoundException
public Object getSafeFieldValue(String sName_p, Object defaultvalue_p)
getSafeFieldValue
in interface OwFieldProvider
sName_p
- defaultvalue_p
- public Collection getFields() throws Exception
getFields
in interface OwFieldProvider
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.