|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public ModifiableLocalized
Modifiable interface providing methods to set title and description of a resource.
Method Summary | |
---|---|
String |
setTitle(String title,
String locale)
Sets the title for the given locale. |
Boolean |
confirmSetTitle(String title,
String locale)
Confirms whether setting the title for the given locale is possible. |
void |
removeTitle(String locale)
Removes the title for the given locale. |
Boolean |
confirmRemoveTitle(String locale)
Indicates if the title for the specified locale may be removed. |
void |
removeTitles()
Removes all titles. |
Boolean |
confirmRemoveTitles()
Indicates if the titles for all locales may be removed. |
String |
setDescription(String desc,
String locale)
Sets the description for the given locale. |
Boolean |
confirmSetDescription(String desc,
String locale)
Confirms whether setting the description for the given locale is possible. |
void |
removeDescription(String locale)
Removes the description for the given locale. |
Boolean |
confirmRemoveDescription(String locale)
Indicates if the description for the specified locale may be removed. |
void |
removeDescriptions()
Removes all description. |
Boolean |
confirmRemoveDescriptions()
Indicates if the description for all locales may be removed. |
Methods inherited from interface com.ibm.mashups.enabler.Localized |
---|
getLocales, getTitle, getTitles, getDescription, getDescriptions |
Method Detail |
---|
String setTitle(String title, String locale)
title
-
title to set; must not be null
locale
-
locale to set the title for; must not be null
null
is returnedBoolean confirmSetTitle(String title, String locale)
title
-
title to set; must not be null
locale
-
locale to set the title for; must not be null
void removeTitle(String locale)
locale
-
locale of the title to remove; must not be null
Boolean confirmRemoveTitle(String locale)
locale
-
locale for which to indicate if the title may be removed; must not be null
true
if the title can be removed, otherwise false
.void removeTitles()
Boolean confirmRemoveTitles()
true
if all titles can be removed, otherwise false
.String setDescription(String desc, String locale)
desc
-
description to set; must not be null
locale
-
locale to set the description for; must not be null
null
is returnedBoolean confirmSetDescription(String desc, String locale)
desc
-
description to set; must not be null
locale
-
locale to set the description for; must not be null
void removeDescription(String locale)
locale
-
locale of the description to remove; must not be null
Boolean confirmRemoveDescription(String locale)
locale
-
locale for which to indicate if the description may be removed; must not be null
true
if the description can be removed, otherwise false
.void removeDescriptions()
Boolean confirmRemoveDescriptions()
true
if all descriptions can be removed, otherwise false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |