|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModifiableCustomResource
ModifiableCustomResource: the interface for a modifiable
CustomResource
, which can be updated.
Method Summary | |
---|---|
boolean |
addCategories(java.util.Set<java.lang.String> categories)
Adds categories to the already existing categories. |
boolean |
addCategory(java.lang.String category)
Adds a category to the already existing categories. |
boolean |
confirmAddCategories(java.util.Set<java.lang.String> aCategoriesSet)
Indicates if the specified categories may be set. |
boolean |
confirmAddCategory(java.lang.String aCategory)
Indicates if the specified category may be set. |
boolean |
confirmRemoveCategories()
Indicates if all categories may be removed. |
boolean |
confirmRemoveCategory(java.lang.String aCategory)
Indicates if the specified categories may be removed. |
boolean |
removeCategories()
Clears all Categories. |
boolean |
removeCategory(java.lang.String aCategory)
Removes a category. |
Methods inherited from interface com.ibm.portal.cp.resources.CustomResource |
---|
getCategories |
Methods inherited from interface com.ibm.portal.cp.resources.Resource |
---|
getCreated, getLastModified, getObjectID, getSchemeSpecificPart, getTypeSchema, getURI |
Methods inherited from interface com.ibm.portal.Localized |
---|
getDescription, getLocales, getTitle |
Method Detail |
---|
boolean addCategory(java.lang.String category) throws CannotModifyPropertyException
category
- The category to add, must not be null
.
true
if the category was added
CannotModifyPropertyException
- in case the category cannot be addedboolean addCategories(java.util.Set<java.lang.String> categories) throws CannotModifyPropertyException
categories
- The categories to add, must not be null
.
true
if the categories of this resource
were changed as a result of this call
CannotModifyPropertyException
- in case a category cannot be added; in this case the
categories are added only partiallyboolean removeCategory(java.lang.String aCategory) throws CannotModifyPropertyException
aCategory
- category to remove; must not be null
true
if this CustomResource
was changed
as a result of this call
CannotModifyPropertyException
- in case the category cannot be removedboolean removeCategories() throws CannotModifyPropertyException
true
if this ModifiableCustomResource
was changed as a result of this call
CannotModifyPropertyException
- in case a category cannot be removed; in this case the
categories are removed only partiallyboolean confirmAddCategory(java.lang.String aCategory)
aCategory
- category for which to indicate if it may be set; must not be
null
true
if the specified category may be set,
false
otherwiseboolean confirmAddCategories(java.util.Set<java.lang.String> aCategoriesSet)
aCategoriesSet
- set of categories for which to indicate if they may be set;
must not be null
true
if the specified categories may be set,
false
otherwiseboolean confirmRemoveCategory(java.lang.String aCategory)
aCategory
- category for which to indicate if it may be removed; must not
be null
true
if the category may be removed,
false
otherwiseboolean confirmRemoveCategories()
true
if all categories may be removed,
false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |