|
Daisy Open Source CMS | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface VersionedData
Read-access to the versioned data of a Daisy document.
Implemented by both Document and Version.
| Method Summary | |
|---|---|
String |
getDocumentName()
Returns the name of the document as it was on the time this version was created. |
Field |
getField(long fieldTypeId)
Get a field by field type id. |
Field |
getField(String fieldTypeName)
Gets a field by field type name. |
Fields |
getFields()
Returns the fields, in unspecified order. |
Fields |
getFieldsInOrder()
Returns the fields, in the order as they are defined in the document type of the document. |
Links |
getLinks()
Get the out-of-line links. |
Part |
getPart(long typeId)
Get a part by id. |
Part |
getPart(String typeName)
Get a part by name. |
Parts |
getParts()
Returns the parts, in unspecified order. |
Parts |
getPartsInOrder()
Returns the parts, in the order as they are defined in the document type of the document. |
boolean |
hasField(long fieldTypeId)
Checks if the specified field is available. |
boolean |
hasField(String fieldTypeName)
Checks if the specified field is available. |
boolean |
hasPart(long typeId)
Checks if the specified part is available. |
boolean |
hasPart(String typeName)
Checks if the specified part is available. |
| Method Detail |
|---|
String getDocumentName()
Parts getParts()
Parts getPartsInOrder()
Part getPart(long typeId)
PartNotFoundException - when the part is not available.
Use hasPart(long) to check it is available.boolean hasPart(long typeId)
boolean hasPart(String typeName)
Part getPart(String typeName)
PartNotFoundException - when the part is not available.
Use hasPart(String) to check it is available.Fields getFields()
Fields getFieldsInOrder()
Field getField(long fieldTypeId)
throws FieldNotFoundException
FieldNotFoundException - when the field is not available.
Use hasField(long) to check if it is available.
Field getField(String fieldTypeName)
throws FieldNotFoundException
hasField(String) to check if the
document has the field.
This is a variant-level method.
FieldNotFoundException - when the field is not available.
Use hasField(String) to check if it is available.boolean hasField(long fieldTypeId)
boolean hasField(String fieldTypeName)
Links getLinks()
|
Daisy Open Source CMS | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||