|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.lang.String |
getDescription(java.util.Locale locale)
|
java.lang.String |
getDescriptionExact(java.util.Locale locale)
|
long |
getId()
|
java.lang.String |
getLabel(java.util.Locale locale)
Gets the label in the given locale, using the usual locale fallback mechanisms if not found in the exactly specified locale, and finally returning the parttype's name if no label is available. |
java.lang.String |
getLabelExact(java.util.Locale locale)
|
java.util.Date |
getLastModified()
When was this PartType last changed (persistently). |
long |
getLastModifier()
Who (which user) last changed this PartType (persistently). |
java.lang.String |
getMimeTypes()
Returns a string describing limitations on the allowed mime-types. |
java.lang.String |
getName()
|
long |
getUpdateCount()
|
org.outerx.daisy.x10.PartTypeDocument |
getXml()
|
boolean |
isDaisyHtml()
Indicates if the content of the part is Daisy HTML (well-formed XML using HTML elements). |
boolean |
isDeprecated()
|
boolean |
mimeTypeAllowed(java.lang.String mimeType)
|
void |
save()
|
void |
setAllFromXml(org.outerx.daisy.x10.PartTypeDocument.PartType partTypeXml)
Changes the state of this object to match the given XML. |
void |
setDaisyHtml(boolean daisyHtml)
|
void |
setDeprecated(boolean deprecated)
|
void |
setDescription(java.util.Locale locale,
java.lang.String description)
|
void |
setLabel(java.util.Locale locale,
java.lang.String label)
|
void |
setMimeTypes(java.lang.String mimeTypes)
Specify the type of data that is allowed in parts of this type based on the mime-type. |
void |
setName(java.lang.String name)
|
Method Detail |
public long getId()
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getLabel(java.util.Locale locale)
public java.lang.String getLabelExact(java.util.Locale locale)
public void setLabel(java.util.Locale locale, java.lang.String label)
public java.lang.String getDescription(java.util.Locale locale)
public java.lang.String getDescriptionExact(java.util.Locale locale)
public void setDescription(java.util.Locale locale, java.lang.String description)
public java.lang.String getMimeTypes()
public void setMimeTypes(java.lang.String mimeTypes)
mimeTypes
- A comma-separated list of mime-types. If empty, all mime-types are allowed.public boolean mimeTypeAllowed(java.lang.String mimeType)
public boolean isDaisyHtml()
public void setDaisyHtml(boolean daisyHtml)
public boolean isDeprecated()
public void setDeprecated(boolean deprecated)
public java.util.Date getLastModified()
public long getLastModifier()
public org.outerx.daisy.x10.PartTypeDocument getXml()
public void setAllFromXml(org.outerx.daisy.x10.PartTypeDocument.PartType partTypeXml)
public void save() throws RepositoryException
RepositoryException
public long getUpdateCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |