|
Clearspace API (1.7.0) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentFieldType
Type information that can be associated with a DocumentField. All DocumentFieldTypes
should be unique, and should be able to be easily acquired by their name. DocumentFieldTypes
specify validation information, formatting information, and the associated XMPP type.
| Nested Class Summary | |
|---|---|
static class |
DocumentFieldType.DataType
Represents the XMPP data form field type. |
| Method Summary | |
|---|---|
DocumentFieldType.DataType |
getDataType()
Returns the XMPP data form type that this object is. |
java.lang.String |
getDescription()
Returns the description of this document field type |
java.lang.String |
getDisplayName()
Returns a display friendly name that can be shown in the UI. |
DocumentFieldFormatter |
getFormatter()
Returns the formatter for this document field type. |
java.lang.String |
getName()
Returns unique name of this Document Field Type. |
DocumentFieldValidator |
getValidator()
Returns the validator for the document field. |
boolean |
isModifiable()
Whether or not the admin tool should allow this document field to be modified or deleted. |
void |
setDataType(DocumentFieldType.DataType dataType)
Sets the XMPP data form type for this document field type. |
void |
setDescription(java.lang.String description)
Sets the description for this document field type |
void |
setDisplayName(java.lang.String displayName)
Sets the display friend name for this document field type. |
void |
setFormatter(DocumentFieldFormatter documentFieldFormatter)
Sets the formatter for this document field type. |
void |
setName(java.lang.String name)
Sets the unique name of this document field type. |
void |
setValidator(DocumentFieldValidator validator)
Sets the validator for the document field type. |
| Methods inherited from interface com.jivesoftware.community.JiveObject |
|---|
getID, getObjectType |
| Method Detail |
|---|
java.lang.String getName()
void setName(java.lang.String name)
throws UnauthorizedException
name - name to change the document field type too.
UnauthorizedException - thrown if the user does not have proper permissions to modify
this document field type, or if this document field type is not modifiable.java.lang.String getDisplayName()
java.lang.String getDescription()
void setDescription(java.lang.String description)
throws UnauthorizedException
description - the description for this document field type
UnauthorizedException - thrown if the user does not have proper permissions to modify
this document field type, or if this document field type is not modifiable.
void setDisplayName(java.lang.String displayName)
throws UnauthorizedException
displayName - display friendly name
UnauthorizedException - thrown if the user does not have proper permissions to modify
this document field type, or if this document field type is not modifiable.DocumentFieldValidator getValidator()
void setValidator(DocumentFieldValidator validator)
throws UnauthorizedException
validator - the validator for the document field type.
UnauthorizedException - if not an administrator, or if this document field type is not
modifiable.DocumentFieldFormatter getFormatter()
void setFormatter(DocumentFieldFormatter documentFieldFormatter)
throws UnauthorizedException
documentFieldFormatter - formatter for this document field type
UnauthorizedException - if not an administrator, or if this document field type is not
modifiable.DocumentFieldType.DataType getDataType()
void setDataType(DocumentFieldType.DataType dataType)
throws UnauthorizedException
dataType - XMPP data form type
UnauthorizedException - thrown if the user does not have proper permissions to modify
this document field type, or if this document field type is not modifiable.boolean isModifiable()
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||