|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ClientEntry
interface represents one client inside
of the client registry. It is accessed by the portlet container
to get information about the clients.
Method Summary | |
Collection |
getCapabilities()
Returns all supported capablities as CapabilityMap . |
int |
getClientId()
Get Client ID |
int |
getEvalOrder()
|
String |
getManufacturer()
Returns the manufacturer of this client |
Collection |
getMimetypes()
Returns all supported mimetypes as MimeTypeMap . |
String |
getModel()
Returns the model of this client |
String |
getName()
|
int |
getPreferredMimeTypeId()
getPreferredMimeTypeId |
String |
getUserAgentPattern()
Returns the pattern parameter of this client. |
String |
getVersion()
Returns the version of this client |
void |
setCapabilities(Collection capabilities)
Assigns a list of capabilities |
void |
setClientId(int id)
Set Client ID -- Assigns the Client ID |
void |
setEvalOrder(int evalOrder)
|
void |
setManufacturer(String name)
Sets the new manufacturer of this client |
void |
setMimetypes(Collection mimetypes)
Set MimeTypes |
void |
setModel(String name)
Sets the new model of this client |
void |
setName(String name)
|
void |
setPreferredMimeTypeId(int mimeTypeId)
setPreferredMimeTypeId |
void |
setUserAgentPattern(String useragentpattern)
Sets the pattern used to match the user agent. |
void |
setVersion(String name)
Sets the new version of this client |
Method Detail |
public void setClientId(int id)
id
- public int getClientId()
public int getEvalOrder()
public void setEvalOrder(int evalOrder)
public String getUserAgentPattern()
public void setUserAgentPattern(String useragentpattern)
useragentpattern
- the new patternpublic String getManufacturer()
public void setManufacturer(String name)
name
- the new manufacturerpublic String getModel()
public void setModel(String name)
name
- the new modelpublic String getVersion()
public void setVersion(String name)
name
- the new versionpublic Collection getMimetypes()
MimeTypeMap
.
The MimeTypeMap
contains all mimetypes in decreasing
order of importance.
MimeTypeMap
public void setMimetypes(Collection mimetypes)
mimetypes
- public String getName()
public void setName(String name)
public Collection getCapabilities()
CapabilityMap
.
The CapabilityMap
contains all capabilities in arbitrary
order.
CapabilityMap
public void setCapabilities(Collection capabilities)
capabilities
- public int getPreferredMimeTypeId()
public void setPreferredMimeTypeId(int mimeTypeId)
mimeTypeId
- to be set as preferred mimeType
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |