|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.portal.resolver.webdav.tree.helper.DefaultWebdavSupportedPrivilege
public abstract class DefaultWebdavSupportedPrivilege
Provides information about a resource's supported privilege
This interface is designed to be implemented by clients. |
Constructor Summary | |
---|---|
DefaultWebdavSupportedPrivilege(java.util.Map<java.util.Locale,java.lang.String> description,
boolean isAbstract)
|
Method Summary | |
---|---|
java.lang.String |
addDescription(java.util.Locale aLocale,
java.lang.String text)
|
java.lang.String |
getDescription(java.util.Locale aLocale)
Returns the description of this object in the given locale. |
ListModel<java.util.Locale> |
getLocales()
Returns a list model containing the locales that are supported by this object. |
java.lang.String |
getTitle(java.util.Locale aLocale)
Returns the title of this object in the given locale. |
boolean |
isAbstract()
Is the privilege abstract? Specifies whether a privilege is abstract. |
void |
setAbstract(boolean isAbstract)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.portal.resolver.webdav.tree.WebdavSupportedPrivilege |
---|
visitContainedPrivileges, visitPrivilege |
Constructor Detail |
---|
public DefaultWebdavSupportedPrivilege(java.util.Map<java.util.Locale,java.lang.String> description, boolean isAbstract)
Method Detail |
---|
public boolean isAbstract()
WebdavSupportedPrivilege
isAbstract
in interface WebdavSupportedPrivilege
true
if it is abstractpublic void setAbstract(boolean isAbstract)
public java.lang.String getDescription(java.util.Locale aLocale)
Localized
getDescription
in interface Localized
aLocale
- the locale for which to retrieve the description, must not
be null
.
null
.
It is up to the invoker of the method to implement an appropriate
fallback mechanismpublic java.lang.String addDescription(java.util.Locale aLocale, java.lang.String text)
public ListModel<java.util.Locale> getLocales()
Localized
getLocales
in interface Localized
ListModel
if no locales are supported.public java.lang.String getTitle(java.util.Locale aLocale)
Localized
getTitle
in interface Localized
aLocale
- the locale for which to retrieve the title, must not
be null
.
null
.
It is up to the invoker of the method to implement an appropriate
fallback mechanism.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |