public interface IPortletPropertyInfo
Portlet property information defined in the portlet descriptor file as:
Modifier and Type | Field and Description |
---|---|
static int |
DBO_DATA_TYPE_BOOLEAN |
static int |
DBO_DATA_TYPE_CLOB |
static int |
DBO_DATA_TYPE_DATETIME |
static int |
DBO_DATA_TYPE_FLOAT |
static int |
DBO_DATA_TYPE_INTEGER |
static int |
DBO_DATA_TYPE_INVALID |
static int |
DBO_DATA_TYPE_LONG |
static int |
DBO_DATA_TYPE_STRING |
static int |
EDITOR_TYPE_DYNAMIC
Deprecated.
|
static int |
EDITOR_TYPE_INPUT
Deprecated.
|
static int |
EDITOR_TYPE_SELECT
Deprecated.
|
static int |
PROPERTY_TYPE_ALL |
static int |
PROPERTY_TYPE_ATTR
Property type - attribute.
|
static int |
PROPERTY_TYPE_CONFIG
Property type - config.
|
static int |
PROPERTY_TYPE_CONTENT
Property type - content.
|
static int |
PROPERTY_TYPE_RELATED_CHILDREN
Property type - related children.
|
static int |
PROPERTY_TYPE_RELATED_CONTAINERS
Property type - related children.
|
static int |
PROPERTY_TYPE_SESSION
Property type - user.
|
static int |
PROPERTY_TYPE_SYSTEM
This type is for system properties defined by the system at run-time.
|
static int |
PROPERTY_TYPE_USER
Property type - user.
|
static int |
SUBTYPE_SIMPLE
Deprecated.
|
static int |
SUBTYPE_THINGID
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getDBODataLength()
Valid only for DBO type portlets, otherwise return (-1).
|
int |
getDBODataType()
Valid only for DBO type portlets, otherwise returns (-1).
|
String |
getDBOFieldName()
Returns DBO table field name for this property.
|
String |
getDefaultValue()
Returns default value of the property.
|
Object |
getDefaultValues()
Returns default value of the property as either a String[] or String depending on what value it was set with.
|
String |
getEditorDescription()
Display description for property.
|
Object |
getEditorInfo()
Deprecated.
use getPropertyEditor method instead
|
String |
getEditorTitle()
Get the Display Name for the property
|
int |
getEditorType()
Deprecated.
use getPropertyEditorType method instead
|
String |
getGroupName()
Returns group name this property belongs to
|
String |
getName()
Returns the name of the property.
|
Map<String,Object> |
getPropertyEditorParams()
Returns a map of property editor parameters
|
String |
getPropertyEditorType()
Returns property editor type.
|
String |
getPropertyLineType()
Deprecated.
use getPropertyEditorType instead
|
int |
getSubtype()
Deprecated.
not used anymore
|
int |
getType()
Returns the type of the property
|
String |
getValidateErrorMessage()
Returns validation error message to be shown when property value
doesn't match validate regular expression
|
String |
getValidateExpression()
Returns property validate regular expression.
|
boolean |
hasDefaultValue()
Checks if the property has a default value
|
boolean |
isHidden()
Returns whether the propert is hidden in the property editor
|
boolean |
isReadOnly()
Returns whether the property is readonly in the property editor
|
boolean |
isRequired()
Is property required
|
void |
setDefaultValue(String value)
Sets default value of the property
|
void |
setEditorInfo(Object info)
Deprecated.
not used anymore
|
void |
setEditorType(int type)
Deprecated.
|
void |
setHidden(boolean value)
Sets hidden flag
|
void |
setReadOnly(boolean value)
Sets readonly flag
|
void |
setSubtype(int value)
Deprecated.
not used anymore
|
void |
setType(int value)
Sets a new property type.
|
static final int PROPERTY_TYPE_ATTR
static final int PROPERTY_TYPE_SYSTEM
static final int PROPERTY_TYPE_CONTENT
static final int PROPERTY_TYPE_CONFIG
static final int PROPERTY_TYPE_USER
static final int PROPERTY_TYPE_SESSION
static final int PROPERTY_TYPE_RELATED_CHILDREN
IRelationService.getRelatedIDs(com.webmethods.portal.service.meta2.thing.IThingID, int, int, int)
when a relation should be considered as propertystatic final int PROPERTY_TYPE_RELATED_CONTAINERS
IRelationService.getContainerIDs(com.webmethods.portal.service.meta2.thing.IThingID, int, int, int)
when a relation should be considered as propertystatic final int PROPERTY_TYPE_ALL
@Deprecated static final int EDITOR_TYPE_INPUT
@Deprecated static final int EDITOR_TYPE_SELECT
@Deprecated static final int EDITOR_TYPE_DYNAMIC
static final int DBO_DATA_TYPE_INVALID
static final int DBO_DATA_TYPE_STRING
static final int DBO_DATA_TYPE_BOOLEAN
static final int DBO_DATA_TYPE_INTEGER
static final int DBO_DATA_TYPE_LONG
static final int DBO_DATA_TYPE_FLOAT
static final int DBO_DATA_TYPE_DATETIME
static final int DBO_DATA_TYPE_CLOB
@Deprecated static final int SUBTYPE_SIMPLE
@Deprecated static final int SUBTYPE_THINGID
String getName()
null
or empty string. The name of
the property should be unique among all the properties of the portlet.int getType()
PROPERTY_TYPE_CONTENT
,
PROPERTY_TYPE_CONFIG
,
PROPERTY_TYPE_USER
,
PROPERTY_TYPE_SESSION
void setType(int value)
value
- the new property typegetType()
String getDefaultValue()
null
if there is no default value.setDefaultValue(java.lang.String)
,
hasDefaultValue()
Object getDefaultValues()
null
if there is no default value.setDefaultValue(java.lang.String)
,
hasDefaultValue()
boolean hasDefaultValue()
void setDefaultValue(String value)
value
- new default value of the propertygetDefaultValue()
boolean isRequired()
String getEditorTitle()
String getEditorDescription()
@Deprecated int getEditorType()
EDITOR_TYPE_INPUT
,
EDITOR_TYPE_SELECT
@Deprecated void setEditorType(int type)
type
- new property editor typenot used anymore
@Deprecated Object getEditorInfo()
getEditorType()
.
For EDITOR_TYPE_INPUT it is null
ArrayList
of String[]. String[0] is option
value. String[1] is option title.getEditorType()
@Deprecated void setEditorInfo(Object info)
info
- new info objectgetEditorInfo()
String getValidateExpression()
String getValidateErrorMessage()
boolean isReadOnly()
void setReadOnly(boolean value)
value
- new value for the flagboolean isHidden()
void setHidden(boolean value)
value
- new value for the flagString getGroupName()
@Deprecated int getSubtype()
@Deprecated void setSubtype(int value)
value
- new subtype value@Deprecated String getPropertyLineType()
PropertyLineTag
'property_line_type' property.PropertyLineTag
String getPropertyEditorType()
com.webmethods.portal.taglib.ui.component.PropertyEditorTag
Map<String,Object> getPropertyEditorParams()
int getDBODataType()
int getDBODataLength()
String getDBOFieldName()