|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Client
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 | |
---|---|
java.util.Collection |
getCapabilities()
Returns all supported capablities as CapabilityMap . |
int |
getClientId()
Get Client ID |
int |
getEvalOrder()
|
java.lang.String |
getManufacturer()
Returns the manufacturer of this client |
java.util.Collection |
getMimetypes()
Returns all supported mimetypes as MimeTypeMap . |
java.lang.String |
getModel()
Returns the model of this client |
java.lang.String |
getName()
|
int |
getPreferredMimeTypeId()
getPreferredMimeTypeId |
java.lang.String |
getUserAgentPattern()
Returns the pattern parameter of this client. |
java.lang.String |
getVersion()
Returns the version of this client |
void |
setCapabilities(java.util.Collection capabilities)
Assigns a list of capabilities |
void |
setClientId(int id)
Set Client ID -- Assigns the Client ID |
void |
setEvalOrder(int evalOrder)
|
void |
setManufacturer(java.lang.String name)
Sets the new manufacturer of this client |
void |
setMimetypes(java.util.Collection mimetypes)
Set MimeTypes |
void |
setModel(java.lang.String name)
Sets the new model of this client |
void |
setName(java.lang.String name)
|
void |
setPreferredMimeTypeId(int mimeTypeId)
setPreferredMimeTypeId |
void |
setUserAgentPattern(java.lang.String useragentpattern)
Sets the pattern used to match the user agent. |
void |
setVersion(java.lang.String name)
Sets the new version of this client |
Method Detail |
---|
void setClientId(int id)
id
- int getClientId()
int getEvalOrder()
void setEvalOrder(int evalOrder)
java.lang.String getUserAgentPattern()
void setUserAgentPattern(java.lang.String useragentpattern)
useragentpattern
- the new patternjava.lang.String getManufacturer()
void setManufacturer(java.lang.String name)
name
- the new manufacturerjava.lang.String getModel()
void setModel(java.lang.String name)
name
- the new modeljava.lang.String getVersion()
void setVersion(java.lang.String name)
name
- the new versionjava.util.Collection getMimetypes()
MimeTypeMap
.
The MimeTypeMap
contains all mimetypes in decreasing
order of importance.
MimeTypeMap
void setMimetypes(java.util.Collection mimetypes)
mimetypes
- java.lang.String getName()
void setName(java.lang.String name)
java.util.Collection getCapabilities()
CapabilityMap
.
The CapabilityMap
contains all capabilities in arbitrary
order.
CapabilityMap
void setCapabilities(java.util.Collection capabilities)
capabilities
- int getPreferredMimeTypeId()
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 |