|
Clearspace API (2.5.18) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentFieldManager
Manages the creation and deletion of document fields in Clearspace.
DocumentField| Method Summary | |
|---|---|
DocumentField |
createDocumentField(String name,
String displayName,
String description,
DocumentFieldType documentFieldType)
Creates a new document field. |
void |
deleteDocumentField(DocumentField field)
Deletes a document field. |
DocumentField |
getDocumentField(long id)
Returns the document field with the given id. |
DocumentField |
getDocumentField(String name)
Returns the document field with the given name. |
Collection<DocumentField> |
getDocumentFields()
Returns an collection of DocumentField objects that list all the current document fields. |
| Methods inherited from interface com.jivesoftware.community.JiveManager |
|---|
destroy |
| Method Detail |
|---|
Collection<DocumentField> getDocumentFields()
DocumentField getDocumentField(long id)
throws DocumentObjectNotFoundException
id - the id of the document field.
DocumentObjectNotFoundException - if the field with the specified ID cannot be found.
DocumentField getDocumentField(String name)
throws DocumentObjectNotFoundException
name - the name of the document field.
DocumentObjectNotFoundException - if the field with the specified name cannot be found
DocumentField createDocumentField(String name,
String displayName,
String description,
DocumentFieldType documentFieldType)
throws UnauthorizedException,
NotUniqueException
name - the unique name of the document field.displayName - the unique display name of the field.description - the description of the document field.documentFieldType - the type of the document field.
UnauthorizedException - if not an administrator.
NotUniqueException - if the name or display name is not unique.
void deleteDocumentField(DocumentField field)
throws UnauthorizedException
field - the DocumentField to delete.
UnauthorizedException - if not an administrator.
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||