|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentTypeSectionElement
Used to specify a Section of Elements in the Document creation process.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.jivesoftware.community.DocumentTypeElement |
|---|
DocumentTypeElement.Type |
| Method Summary | |
|---|---|
DocumentTypeElement |
addBuiltInElement(DocumentTypeElement.Type type)
Used to create and add a new built-in type element to this DocumentTypeSectionElement. |
void |
addDocumentFieldElement(DocumentField documentField)
Adds a DocumentField to this DocumentTypeSectionElement as an element. |
DocumentTypeLabelElement |
addLabelElement(String value)
Used to create and add a new Label Element to this DocumentTypeSectionElement |
void |
deleteDocumentElement(DocumentTypeElement element)
Removes the specified DocumentTypeElement from this DocumentType |
List<DocumentTypeElement> |
getDocumentElements()
Returns a list of all the Document Elements associated with this DocumentSection |
void |
setDocumentElementIndex(DocumentTypeElement element,
int index)
Sets the index where the specified DocumentTypeElement should appear |
| Methods inherited from interface com.jivesoftware.community.DocumentTypeElement |
|---|
getType |
| Methods inherited from interface com.jivesoftware.community.JiveObject |
|---|
getID, getObjectType |
| Method Detail |
|---|
List<DocumentTypeElement> getDocumentElements()
void setDocumentElementIndex(DocumentTypeElement element,
int index)
throws UnauthorizedException
element - DocumentTypeElement Element in the DocumentType to moveindex - index index to move the element too
UnauthorizedException - If the user is not an administrator
IllegalArgumentException - if the element is not part of this DocumentType
void deleteDocumentElement(DocumentTypeElement element)
throws UnauthorizedException
element - the DocumentTypeElement to remove
UnauthorizedException - if the user is not an Administrator
IllegalArgumentException - if the specified element does not belong to this document typeDocumentTypeLabelElement addLabelElement(String value)
value - string value for the label element
DocumentTypeElement addBuiltInElement(DocumentTypeElement.Type type)
type - built-in type (type.isBuiltIn() must return true)
void addDocumentFieldElement(DocumentField documentField)
documentField - the document field to add
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||