|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ModifiableLocalized
An interface representing a modifiable localized instance.
| Method Summary | |
|---|---|
boolean |
confirmRemoveDescription(java.util.Locale aLocale)
Indicates if the description for the specified locale may be removed. |
boolean |
confirmRemoveDescriptions()
Indicates if the all descriptions may be removed. |
boolean |
confirmRemoveDescriptions(java.util.Collection<java.util.Locale> aCollection)
Indicates if the descriptions for the specified locales may be removed. |
boolean |
confirmRemoveTitle(java.util.Locale aLocale)
Indicates if the title for the specified locale may be removed. |
boolean |
confirmRemoveTitles()
Indicates if all titles may be removed. |
boolean |
confirmRemoveTitles(java.util.Collection<java.util.Locale> aCollection)
Indicates if the titles for the specified locales may be removed. |
boolean |
confirmRetainDescriptions(java.util.Collection<java.util.Locale> aCollection)
Indicates if the specified descriptions may be retained. |
boolean |
confirmRetainTitles(java.util.Collection<java.util.Locale> aCollection)
Indicates if the specified titles may be retained. |
boolean |
confirmSetAll(Localized aLocalized)
Indicates if the specified titles and descriptions may be retained. |
boolean |
confirmSetDescription(java.util.Locale aLocale,
java.lang.String aDescription)
Indicates if the specified description may be set. |
boolean |
confirmSetDescriptions(Localized aLocalized)
Indicates if the specified descriptions may be set. |
boolean |
confirmSetTitle(java.util.Locale aLocale,
java.lang.String aTitle)
Indicates if the specified title may be set. |
boolean |
confirmSetTitles(Localized aLocalized)
Indicates if the specified titles may be set. |
java.lang.String |
removeDescription(java.util.Locale aLocale)
Removes the description for the given locale. |
boolean |
removeDescriptions()
Removes all descriptions. |
boolean |
removeDescriptions(java.util.Collection<java.util.Locale> aCollection)
Removes all descriptions for the Locales
specified in the collection. |
java.lang.String |
removeTitle(java.util.Locale aLocale)
Removes the title for the given locale. |
boolean |
removeTitles()
Removes all titles. |
boolean |
removeTitles(java.util.Collection<java.util.Locale> aCollection)
Removes all titles for the Locales specified in
the collection. |
boolean |
retainDescriptions(java.util.Collection<java.util.Locale> aCollection)
Retains descriptions for the Locales specified in the
collection. |
boolean |
retainTitles(java.util.Collection<java.util.Locale> aCollection)
Retains titles for the Locales specified in the collection. |
boolean |
setAll(Localized aLocalized)
Sets all titles and descriptions found in the specified Localized
instance. |
java.lang.String |
setDescription(java.util.Locale aLocale,
java.lang.String aDescription)
Sets the description for the given locale. |
boolean |
setDescriptions(Localized aLocalized)
Sets the descriptions specified with the Localized. |
java.lang.String |
setTitle(java.util.Locale aLocale,
java.lang.String aTitle)
Sets the title for the given locale. |
boolean |
setTitles(Localized aLocalized)
Sets the titles specified with the Localized. |
| Methods inherited from interface com.ibm.portal.Localized |
|---|
getDescription, getLocales, getTitle |
| Method Detail |
|---|
java.lang.String setTitle(java.util.Locale aLocale,
java.lang.String aTitle)
throws CannotModifyPropertyException
aLocale - locale to set the title for; must not be nullaTitle - title to set
null is
returned
CannotModifyPropertyException - in case the title cannot be set
boolean setTitles(Localized aLocalized)
throws CannotModifyPropertyException
Localized.
aLocalized - Localized to set
true if this Localized was changed
as a result of this call
CannotModifyPropertyException - in case a title specified with the Localized cannot be set;
in this case the specified titles are set only partially
java.lang.String setDescription(java.util.Locale aLocale,
java.lang.String aDescription)
throws CannotModifyPropertyException
aLocale - locale to set the description for; must not be
nullaDescription - description to set
null is
returned
CannotModifyPropertyException - in case the description cannot be set
boolean setDescriptions(Localized aLocalized)
throws CannotModifyPropertyException
Localized.
aLocalized - Localized to set
true if this Localized was changed
as a result of this call
CannotModifyPropertyException - in case a description specified with the Localized cannot be set;
in this case the specified descriptions are set only partially
java.lang.String removeTitle(java.util.Locale aLocale)
throws CannotModifyPropertyException
aLocale - locale of the title to remove; must not be null
null is
returned
CannotModifyPropertyException - in case the title cannot be removed for the locale
boolean removeTitles(java.util.Collection<java.util.Locale> aCollection)
throws CannotModifyPropertyException
Locales specified in
the collection.
aCollection - collection of Locales
true if this Localized was changed
as a result of this call
CannotModifyPropertyException - in case a title for a locale cannot be removed; in this case
the titles are removed only partially
boolean removeTitles()
throws CannotModifyPropertyException
true if this Localized was changed
as a result of this call
CannotModifyPropertyException - in case a title cannot be removed; in this case the titles
are removed only partially
java.lang.String removeDescription(java.util.Locale aLocale)
throws CannotModifyPropertyException
aLocale - locale of the description to remove; must not be
null
null is
returned
CannotModifyPropertyException - in case the description cannot be removed for the locale
boolean removeDescriptions(java.util.Collection<java.util.Locale> aCollection)
throws CannotModifyPropertyException
Locales
specified in the collection.
aCollection - collection of Locales
true if this Localized was changed
as a result of this call
CannotModifyPropertyException - in case a description for a locale cannot be removed; in this
case the descriptions are removed only partially
boolean removeDescriptions()
throws CannotModifyPropertyException
true if this Localized was changed
as a result of this call
CannotModifyPropertyException - in case a description cannot be removed; in this case the
descriptions are removed only partially
boolean retainTitles(java.util.Collection<java.util.Locale> aCollection)
throws CannotModifyPropertyException
Locales specified in the collection.
aCollection - Locales to retain titles for
true if this Localized was changed
as a result of this call
CannotModifyPropertyException - in case a title for a locale, which is not to be retained,
cannot be removed; in this case the titles are removed only
partially
boolean retainDescriptions(java.util.Collection<java.util.Locale> aCollection)
throws CannotModifyPropertyException
Locales specified in the
collection.
aCollection - Locales to retain descriptions for
true if this Localized was changed
as a result of this call
CannotModifyPropertyException - in case a description for a locale, which is not to be
retained, cannot be removed; in this case the descriptions
are removed only partially
boolean setAll(Localized aLocalized)
throws CannotModifyPropertyException
Localized
instance.
aLocalized - the localized object providing titles and descriptions
true if this Localized was changed
as a result of this call
CannotModifyPropertyException - in case a title or description cannot be set; in this case the
titles and descriptions are set only partially.
boolean confirmSetTitle(java.util.Locale aLocale,
java.lang.String aTitle)
aLocale - locale for which to indicate if the title may be set; must not
be nullaTitle - title for which to indicate if it may be set
true if setting the specified title for the
specified locale can be performed, false otherwiseboolean confirmSetTitles(Localized aLocalized)
aLocalized - localalized for which to indicate if its titles may be set;
must not be null
true if the specified titles may be set,
false otherwise
boolean confirmSetDescription(java.util.Locale aLocale,
java.lang.String aDescription)
aLocale - locale for which to indicate if the description may be set;
must not be nullaDescription - description for which to indicate if it may be set
true if setting the specified description for the
specified locale can be performed, false otherwiseboolean confirmSetDescriptions(Localized aLocalized)
aLocalized - localalized for which to indicate if its descriptions may be
set; must not be null
true if the specified descriptions may be set,
false otherwiseboolean confirmRemoveTitle(java.util.Locale aLocale)
aLocale - locale for which to indicate if the title may be removed; must
not be null
true if the specified title for the specified
locale may be removed, false otherwiseboolean confirmRemoveTitles(java.util.Collection<java.util.Locale> aCollection)
aCollection - collection of Locales for which to
indicate if the titles may be removed; must not be
null
true if the specified titles may be remvoed,
false otherwiseboolean confirmRemoveTitles()
true if all titles may be removed,
false otherwiseboolean confirmRemoveDescription(java.util.Locale aLocale)
aLocale - locale for which to indicate if the description may be
removed; must not be null
true if the description for the specified locale
may be removed, false otherwiseboolean confirmRemoveDescriptions(java.util.Collection<java.util.Locale> aCollection)
aCollection - collection of Locales for which to
indicate if the descriptions may be removed; must not be
null
true if the specified descriptions may be removed,
false otherwiseboolean confirmRemoveDescriptions()
true if all descriptions may be removed,
false otherwiseboolean confirmRetainTitles(java.util.Collection<java.util.Locale> aCollection)
aCollection - collection of Locales for which to
indicate if the titles may be retained
true if the specified titles may be retained,
false otherwiseboolean confirmRetainDescriptions(java.util.Collection<java.util.Locale> aCollection)
aCollection - collection of Locales for which to
indicate if the descriptions may be retained
true if the specified descriptions may be
retained, false otherwiseboolean confirmSetAll(Localized aLocalized)
aLocalized - localalized for which to indicate if the titles and
descriptions may be set; must not be null
true if the specified titles and descriptions may
be set, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||