public interface OwFieldProvider
Interface for objects that provide fields, like search templates or OwObjects.
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
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_AJAX
type of the fieldprovider is a result list
|
static int |
TYPE_CHECKIN_OBJECT
type of the fieldprovider is a checkin object dialog or view
|
static int |
TYPE_CREATE_OBJECT
type of the fieldprovider is a create object dialog or view
|
static int |
TYPE_META_OBJECT
type of the fieldprovider is a object with metadata
|
static int |
TYPE_RESULT_LIST
type of the fieldprovider is a result list
|
static int |
TYPE_SEARCH
type of the fieldprovider is search object / template
|
static int |
TYPE_SMALL
type of the fieldprovider is small, fields must not use a lot of space
|
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, e.g.
|
Object |
getFieldProviderSource()
get the source object that originally provided the fields.
|
int |
getFieldProviderType()
get the type of field provider can be one or more of 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
|
static final int TYPE_META_OBJECT
static final int TYPE_SEARCH
static final int TYPE_CREATE_OBJECT
static final int TYPE_CHECKIN_OBJECT
static final int TYPE_SMALL
static final int TYPE_RESULT_LIST
static final int TYPE_AJAX
OwField getField(String strFieldClassName_p) throws Exception, OwObjectNotFoundException
strFieldClassName_p
- String class name of requested fieldsException
OwObjectNotFoundException
void setField(String sName_p, Object value_p) throws Exception, OwObjectNotFoundException
sName_p
- value_p
- Exception
OwObjectNotFoundException
Object getSafeFieldValue(String sName_p, Object defaultvalue_p)
sName_p
- defaultvalue_p
- Collection getFields() throws Exception
Exception
int getFieldProviderType()
Object getFieldProviderSource()
String getFieldProviderName()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.