|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ModifiableClient
An interface representing a modifiable client instance.
| Method Summary | |
|---|---|
boolean |
addCapabilities(java.util.Set<java.lang.String> aCapabilitiesSet)
Adds all capabilities specified by the set. |
boolean |
addCapability(java.lang.String aCapability)
Adds a capability. |
boolean |
confirmAddCapabilities(java.util.Set<java.lang.String> aCapabilitiesSet)
Indicates if the specified capabilities may be set. |
boolean |
confirmAddCapability(java.lang.String aCapability)
Indicates if the specified capability may be set. |
boolean |
confirmRemoveCapabilities()
Indicates if all capabilities may be removed. |
boolean |
confirmRemoveCapabilities(java.lang.String aCapabilities)
Indicates if the specified capabilities may be removed. |
boolean |
confirmSetManufacturer(java.lang.String aManufacturer)
Indicates if the given manufacturer may be set. |
boolean |
confirmSetMarkup(Markup aMarkup)
Indicates if the given markup may be set. |
boolean |
confirmSetMarkupVersion(java.lang.String aMarkupVersion)
Indicates if the given markup version may be set. |
boolean |
confirmSetModel(java.lang.String aModel)
Indicates if the given model may be set. |
boolean |
confirmSetUserAgentPattern(java.lang.String aUserAgentPattern)
Indicates if the given user agent pattern may be set. |
boolean |
confirmSetVersion(java.lang.String aVersion)
Indicates if the given version may be set. |
java.util.Iterator<java.lang.String> |
getCapabilities()
Return a collection of Strings that denote the client capabilities. |
boolean |
removeCapabilities()
Clears all capabilities. |
boolean |
removeCapability(java.lang.String aCapability)
Removes a capability. |
java.lang.String |
setManufacturer(java.lang.String aManufacturer)
Sets the client's manufacturer String. |
Markup |
setMarkup(Markup aMarkup)
Sets the client's markup. |
java.lang.String |
setMarkupVersion(java.lang.String aMarkupVersion)
Sets the client's markup version. |
java.lang.String |
setModel(java.lang.String aModel)
Sets the client's model specification. |
java.lang.String |
setUserAgentPattern(java.lang.String aUserAgentPattern)
Sets the client's user agent pattern. |
java.lang.String |
setVersion(java.lang.String aVersion)
Sets the client's version string. |
| Methods inherited from interface com.ibm.portal.admin.Client |
|---|
getManufacturer, getMarkup, getMarkupVersion, getModel, getUserAgentPattern, getVersion |
| Methods inherited from interface com.ibm.portal.TimeStamped |
|---|
getCreated, getLastModified |
| Methods inherited from interface com.ibm.portal.ModifiableIdentifiable |
|---|
getModifiableObjectID |
| Methods inherited from interface com.ibm.portal.Identifiable |
|---|
getObjectID |
| Method Detail |
|---|
java.lang.String setUserAgentPattern(java.lang.String aUserAgentPattern)
throws CannotModifyPropertyException,
ModelException
aUserAgentPattern - The new user agent pattern
null if none has
been set.
CannotModifyPropertyException - in case the user agent pattern
cannot be set
ModelExceptionboolean confirmSetUserAgentPattern(java.lang.String aUserAgentPattern)
aUserAgentPattern - The user agent pattern to set
true if the specified user agent pattern may be
set, false otherwise
java.lang.String setManufacturer(java.lang.String aManufacturer)
throws CannotModifyPropertyException,
ModelException
aManufacturer - The new manufacturer String
null if none has
been set.
CannotModifyPropertyException - in case the manufacturer String
cannot be set
ModelExceptionboolean confirmSetManufacturer(java.lang.String aManufacturer)
aManufacturer - The manufacturer to set
true if the specified manufacturer may be set,
false otherwise
java.lang.String setModel(java.lang.String aModel)
throws CannotModifyPropertyException,
ModelException
aModel - The new model specification
null if none has
been set.
CannotModifyPropertyException - in case the model specification
cannot be set
ModelExceptionboolean confirmSetModel(java.lang.String aModel)
aModel - The model to set
true if the specified model may be set,
false otherwise
java.lang.String setVersion(java.lang.String aVersion)
throws CannotModifyPropertyException,
ModelException
aVersion - The new version string
null if none has been
set.
CannotModifyPropertyException - in case the version string cannot
be set
ModelExceptionboolean confirmSetVersion(java.lang.String aVersion)
aVersion - The version to set
true if the specified version may be set,
false otherwise
java.lang.String setMarkupVersion(java.lang.String aMarkupVersion)
throws CannotModifyPropertyException,
ModelException
aMarkupVersion - The new markup version
null if none
has been set.
CannotModifyPropertyException - in case the markup version string
cannot be set
ModelExceptionboolean confirmSetMarkupVersion(java.lang.String aMarkupVersion)
aMarkupVersion - The markup version to set
true if the specified markup version may be set,
false otherwise
Markup setMarkup(Markup aMarkup)
throws CannotModifyPropertyException,
ModelException
aMarkup - The new markup
null if none has been set.
CannotModifyPropertyException - in case the markup cannot be set
ModelExceptionboolean confirmSetMarkup(Markup aMarkup)
aMarkup - The markup to set
true if the specified markup may be set,
false otherwise
java.util.Iterator<java.lang.String> getCapabilities()
throws CannotModifyPropertyException,
ModelException
getCapabilities in interface ClientCannotModifyPropertyException - in case the user agent pattern
cannot be set are set only partially
ModelException - - An error occurs wile accessing the database
boolean addCapability(java.lang.String aCapability)
throws CannotModifyPropertyException
aCapability - capability to add; must not be null
true if this ModifiableClient was
changed as a result of this call
CannotModifyPropertyException - in case the capability cannot be
added
boolean addCapabilities(java.util.Set<java.lang.String> aCapabilitiesSet)
throws CannotModifyPropertyException
aCapabilitiesSet - set with the capabilities to add
true if this Client was changed as
a result of this call
CannotModifyPropertyException - in case a capability cannot be
added; in this case the capabilities are added only partially
boolean removeCapability(java.lang.String aCapability)
throws CannotModifyPropertyException
aCapability - capability to remove; must not be null
true if this Client was changed as
a result of this call
CannotModifyPropertyException - in case the capability cannot be
removed
boolean removeCapabilities()
throws CannotModifyPropertyException
true if this Client was changed as
a result of this call
CannotModifyPropertyException - in case a capability cannot be
removed; in this case the capabilities are removed only
partiallyboolean confirmAddCapability(java.lang.String aCapability)
aCapability - capability for which to indicate if it may be set;
must not be null
true if the specified capability may be set,
false otherwiseboolean confirmAddCapabilities(java.util.Set<java.lang.String> aCapabilitiesSet)
aCapabilitiesSet - set of capabilities (represented as Strings) for
which to indicate if they may be set; must not be
null
true if the specified capabilities may be set,
false otherwiseboolean confirmRemoveCapabilities(java.lang.String aCapabilities)
aCapabilities - capabilities for which to indicate if it may be
removed; must not be null
true if the capabilities may be removed,
false otherwiseboolean confirmRemoveCapabilities()
true if all capabilities may be removed,
false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||