| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModifiablePortletPreferences
An interface representing modifiable portlet preferences. It can be obtained through the ModifiablePortletPreferencesProvider.
Method Summary | |
---|---|
boolean | confirmRemoveName(java.lang.String aName)
Indicates if the preference identified with the specified name may be removed. |
boolean | confirmRemoveNames()
Indicates if all preferences data may be removed. |
boolean | confirmRemoveNames(java.util.Collection aCollection)
Indicates if the preferences identified by the names specified in the collection may be removed. |
boolean | confirmRetainNames(java.util.Collection aCollection)
Indicates if the preferences identified by the names specified in the collection may be retained. |
boolean | confirmSetStringValue(java.lang.String aName,
java.lang.String aValue)
Indicates if the value for the preference identified by the specified name may be set. |
boolean | confirmSetStringValues(java.lang.String aName,
java.lang.String[] aValue)
Indicates if the value for the preference identified by the specified name may be set. |
boolean | confirmSetValue(java.lang.String aName,
java.lang.Object aValue)
Indicates if the value for the preference identified by the specified name may be set. |
boolean | com.ibm.portal.portletmodel.PortletPreferences)">confirmSetValues(PortletPreferences aPortletPreferences)
Indicates the specified preferences may be set. |
java.lang.Object | removeName(java.lang.String aName)
Removes the preference identified with the specified name. |
boolean | removeNames()
Removes all preferences. |
boolean | removeNames(java.util.Collection aCollection)
Removes the preferences identified by the names specified in the collection. |
boolean | retainNames(java.util.Collection aCollection)
Retains only the preferences identified by the names specified in the collection. |
java.lang.String | setStringValue(java.lang.String aName,
java.lang.String aValue)
Sets the value for the preference identified by the specified name. |
java.lang.String[] | setStringValues(java.lang.String aName,
java.lang.String[] aValue)
Sets the value for the preference identified by the specified name. |
java.lang.Object | setValue(java.lang.String aName,
java.lang.Object aValue)
Sets the value for the preference identified by the specified name. |
boolean | com.ibm.portal.portletmodel.PortletPreferences)">setValues(PortletPreferences aPortletPreferences)
Sets the specified portlet preferences. |
Methods inherited from interface com.ibm.portal.portletmodel.PortletPreferences |
---|
getStringValue, getStringValues, getValue, isPreferenceDefined, isReadOnly, iterator |
Methods inherited from interface com.ibm.portal.MetaData |
---|
getNames |
Methods inherited from interface com.ibm.portal.ModifiableMetaData |
---|
confirmSetValues, setValues |
Methods inherited from interface com.ibm.portal.MetaData |
---|
getNames |
Method Detail |
---|
java.lang.Object setValue(java.lang.String aName, java.lang.Object aValue) throws CannotModifyPropertyException
String
. If the name does not
exist a new preference is created with the given name, value and
read-only set to false.
null
is returned
java.lang.String setStringValue(java.lang.String aName, java.lang.String aValue) throws CannotModifyPropertyException
null
is returned
java.lang.String[] setStringValues(java.lang.String aName, java.lang.String[] aValue) throws CannotModifyPropertyException
String
or null
, if the preference is not set
boolean setValues(PortletPreferences aPortletPreferences) throws CannotModifyPropertyException
true
if this
ModifiablePortletPreferences
was changed as a
result of this call
java.lang.Object removeName(java.lang.String aName) throws CannotModifyPropertyException
String[]
; if
none existed, null
is returned
boolean removeNames(java.util.Collection aCollection) throws CannotModifyPropertyException
true
if this
ModifiablePortletPreferences
was changed as a
result of this call
boolean removeNames() throws CannotModifyPropertyException
true
if this
ModifiablePortletPreferences
was changed as a
result of this call
boolean retainNames(java.util.Collection aCollection) throws CannotModifyPropertyException
true
if this
ModifiablePortletPreferences
was changed as a
result of this call
boolean confirmSetValue(java.lang.String aName, java.lang.Object aValue)
true
in case the preference may be set,
false
otherwiseboolean confirmSetStringValue(java.lang.String aName, java.lang.String aValue)
true
in case the preference may be set,
false
otherwiseboolean confirmSetStringValues(java.lang.String aName, java.lang.String[] aValue)
true
in case the preference may be set,
false
otherwiseboolean confirmSetValues(PortletPreferences aPortletPreferences)
true
in case the preferences may be set,
false
otherwiseboolean confirmRemoveName(java.lang.String aName)
true
in case the preference may be removed,
false
otherwiseboolean confirmRemoveNames(java.util.Collection aCollection)
true
in case the preferences may be removed,
false
otherwiseboolean confirmRemoveNames()
true
in case all preferences may be removed,
false
otherwiseboolean confirmRetainNames(java.util.Collection aCollection)
true
in case the preferences may be retained,
false
otherwise
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |