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 OwFieldProviderpublic String getFieldProviderName()
getFieldProviderName in interface OwFieldProviderpublic OwField getField(String strFieldClassName_p) throws Exception, OwObjectNotFoundException
getField in interface OwFieldProviderstrFieldClassName_p - String class name of requested fieldsExceptionOwObjectNotFoundExceptionpublic int getFieldProviderType()
getFieldProviderType in interface OwFieldProviderpublic void setField(String sName_p, Object value_p) throws Exception, OwObjectNotFoundException
setField in interface OwFieldProvidersName_p - value_p - ExceptionOwObjectNotFoundExceptionpublic Object getSafeFieldValue(String sName_p, Object defaultvalue_p)
getSafeFieldValue in interface OwFieldProvidersName_p - defaultvalue_p - public Collection getFields() throws Exception
getFields in interface OwFieldProviderExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.