|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ModifiableDeviceClassCapable
This interface describes resource that support the assignment of device classes.
| Method Summary | |
|---|---|
boolean |
addDeviceClass(DeviceClass aDeviceClass)
Adds a device class. |
boolean |
addDeviceClasses(java.util.Set<? extends DeviceClass> aDeviceClassSet)
Adds all device classes specified by the set. |
boolean |
confirmAddDeviceClass(DeviceClass aDeviceClass)
Indicates if the specified device class may be set. |
boolean |
confirmAddDeviceClasses(java.util.Set<? extends DeviceClass> aDeviceClassSet)
Indicates if the specified device classes may be set. |
boolean |
confirmRemoveDeviceClass(DeviceClass aDeviceClass)
Indicates if the specified device class may be removed. |
boolean |
confirmRemoveDeviceClasses()
Indicates if all device classes may be removed. |
boolean |
removeDeviceClass(DeviceClass aDeviceClass)
Removes a device class. |
boolean |
removeDeviceClasses()
Clears all device classes. |
| Methods inherited from interface com.ibm.portal.devicesupport.DeviceClassCapable |
|---|
getDeviceClasses, supportsDeviceClass |
| Method Detail |
|---|
boolean addDeviceClass(DeviceClass aDeviceClass)
throws CannotModifyPropertyException
aDeviceClass - device class to add; must not be null
true if this DeviceClassCapable was
changed as a result of this call
CannotModifyPropertyException - in case the device class cannot be added
boolean addDeviceClasses(java.util.Set<? extends DeviceClass> aDeviceClassSet)
throws CannotModifyPropertyException
aDeviceClassSet - set with the device classes to add; must contain
com.ibm.portal.admin.DeviceClass instances. Must not
contain null.
true if this DeviceClassCapable was
changed as a result of this call
CannotModifyPropertyException - in case a device class cannot be added; in this case the
device classes are added only partially
boolean removeDeviceClass(DeviceClass aDeviceClass)
throws CannotModifyPropertyException
aDeviceClass - device class to remove; must not be null
true if this DeviceClassCapable was
changed as a result of this call
CannotModifyPropertyException - in case the device class cannot be removed for the locale
boolean removeDeviceClasses()
throws CannotModifyPropertyException
true if this DeviceClassCapable was
changed as a result of this call
CannotModifyPropertyException - in case a device class cannot be removed; in this case the
device classes are removed only partiallyboolean confirmAddDeviceClass(DeviceClass aDeviceClass)
aDeviceClass - device class for which to indicate if it may be set; must not
be null
true if the specified device class may be set,
false otherwiseboolean confirmAddDeviceClasses(java.util.Set<? extends DeviceClass> aDeviceClassSet)
aDeviceClassSet - set of com.ibm.portal.admin.DeviceClasss for which to
indicate if they may be set; must not be null
true if the specified device classes may be set,
false otherwiseboolean confirmRemoveDeviceClass(DeviceClass aDeviceClass)
aDeviceClass - device class for which to indicate if it may be removed; must
not be null
true if the device class may be removed,
false otherwiseboolean confirmRemoveDeviceClasses()
true if all device classes may be removed,
false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||