org.apache.jetspeed.om.registry
Interface ClientEntry

All Superinterfaces:
RegistryEntry
All Known Implementing Classes:
BaseClientEntry

public interface ClientEntry
extends RegistryEntry

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, RaphaŽl Luta

Method Summary
 CapabilityMap getCapabilityMap()
          Returns all supported capablities as CapabilityMap.
 java.lang.String getManufacturer()
          Returns the manufacturer of this client
 MimetypeMap getMimetypeMap()
          Returns all supported mimetypes as MimeTypeMap.
 java.lang.String getModel()
          Returns the model of this client
 java.lang.String getUseragentpattern()
          Returns the pattern parameter of this client.
 java.lang.String getVersion()
          Returns the version of this client
 void setManufacturer(java.lang.String name)
          Sets the new manufacturer of this client
 void setModel(java.lang.String name)
          Sets the new model of this client
 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
 
Methods inherited from interface org.apache.jetspeed.om.registry.RegistryEntry
getDescription, getId, getMetaInfo, getName, getSecurity, getSecurityRef, getTitle, isHidden, setDescription, setHidden, setMetaInfo, setName, setSecurity, setSecurityRef, setTitle
 

Method Detail

getUseragentpattern

public java.lang.String getUseragentpattern()
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.

Returns:
the pattern of this client

setUseragentpattern

public void setUseragentpattern(java.lang.String useragentpattern)
Sets the pattern used to match the user agent.

Parameters:
useragentpattern - the new pattern

getManufacturer

public java.lang.String getManufacturer()
Returns the manufacturer of this client

Returns:
the manufacturer of this client

setManufacturer

public void setManufacturer(java.lang.String name)
Sets the new manufacturer of this client

Parameters:
name - the new manufacturer

getModel

public java.lang.String getModel()
Returns the model of this client

Returns:
the model of this client

setModel

public void setModel(java.lang.String name)
Sets the new model of this client

Parameters:
name - the new model

getVersion

public java.lang.String getVersion()
Returns the version of this client

Returns:
the version of this client

setVersion

public void setVersion(java.lang.String name)
Sets the new version of this client

Parameters:
name - the new version

getMimetypeMap

public MimetypeMap getMimetypeMap()
Returns all supported mimetypes as MimeTypeMap. The MimeTypeMap contains all mimetypes in decreasing order of importance.

Returns:
the MimeTypeMap
See Also:
MimeTypeMap

getCapabilityMap

public CapabilityMap getCapabilityMap()
Returns all supported capablities as CapabilityMap. The CapabilityMap contains all capabilities in arbitrary order.

Returns:
the CapabilityMap
See Also:
CapabilityMap


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.