| |
|
| org.apache.jetspeed.capabilities.Client
All known Subclasses: org.apache.jetspeed.capabilities.impl.ClientImpl,
Client | public interface Client (Code) | |
The ClientEntry interface represents one client inside
of the client registry. It is accessed by the portlet container
to get information about the clients.
author: Stephan Hesmer author: Rapha\u00ebl Luta author: Roger Ruttimann |
getCapabilities | public Collection getCapabilities()(Code) | | Returns all supported capablities as CapabilityMap .
The CapabilityMap contains all capabilities in arbitrary
order.
the CapabilityMap See Also: CapabilityMap |
getClientId | public int getClientId()(Code) | | Get Client ID
Client ID |
getEvalOrder | public int getEvalOrder()(Code) | | |
getManufacturer | public String getManufacturer()(Code) | | Returns the manufacturer of this client
the manufacturer of this client |
getMimetypes | public Collection getMimetypes()(Code) | | Returns all supported mimetypes as MimeTypeMap .
The MimeTypeMap contains all mimetypes in decreasing
order of importance.
the MimeTypeMap See Also: MimeTypeMap |
getModel | public String getModel()(Code) | | Returns the model of this client
the model of this client |
getPreferredMimeTypeId | public int getPreferredMimeTypeId()(Code) | | getPreferredMimeTypeId
mimeTypeId |
getUserAgentPattern | public String getUserAgentPattern()(Code) | | Returns the pattern parameter of this client. The pattern is used
to match a client to the user agent used to access the portal. If
the pattern matches the user agent string, this client is recognized
as the one the user is currently working with.
the pattern of this client |
getVersion | public String getVersion()(Code) | | Returns the version of this client
the version of this client |
setCapabilities | public void setCapabilities(Collection capabilities)(Code) | | Assigns a list of capabilities
Parameters: capabilities - |
setClientId | public void setClientId(int id)(Code) | | Set Client ID -- Assigns the Client ID
Parameters: id - |
setEvalOrder | public void setEvalOrder(int evalOrder)(Code) | | |
setManufacturer | public void setManufacturer(String name)(Code) | | Sets the new manufacturer of this client
Parameters: name - the new manufacturer |
setMimetypes | public void setMimetypes(Collection mimetypes)(Code) | | Set MimeTypes
Parameters: mimetypes - |
setModel | public void setModel(String name)(Code) | | Sets the new model of this client
Parameters: name - the new model |
setPreferredMimeTypeId | public void setPreferredMimeTypeId(int mimeTypeId)(Code) | | setPreferredMimeTypeId
Parameters: mimeTypeId - to be set as preferred mimeType |
setUserAgentPattern | public void setUserAgentPattern(String useragentpattern)(Code) | | Sets the pattern used to match the user agent.
Parameters: useragentpattern - the new pattern |
setVersion | public void setVersion(String name)(Code) | | Sets the new version of this client
Parameters: name - the new version |
|
|
|