Daisy Open Source CMS

org.outerj.daisy.repository.schema
Interface LabelEnabled

All Known Subinterfaces:
DocumentType, FieldType, PartType, StaticListItem

public interface LabelEnabled


Method Summary
 void clearLabels()
           
 String getLabel(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 fieldtype's name if no label is available.
 String getLabelExact(Locale locale)
           
 Locale[] getLabelLocales()
           
 void setLabel(Locale locale, String label)
           
 

Method Detail

getLabel

String getLabel(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 fieldtype's name if no label is available.


getLabelExact

String getLabelExact(Locale locale)

setLabel

void setLabel(Locale locale,
              String label)
Parameters:
label - if null, the label for this locale will be removed.

clearLabels

void clearLabels()

getLabelLocales

Locale[] getLabelLocales()

Daisy Open Source CMS