1/*2 * Copyright 2000-2001,2004 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 */1617packageorg.apache.jetspeed.om.registry;
1819/***20 * <P>21 * The <CODE>ClientEntry</CODE> interface represents one client inside22 * of the client registry. It is accessed by the portlet container23 * to get information about the clients.24 * </P>25 *26 * @author <a href="shesmer@raleigh.ibm.com">Stephan Hesmer</a>27 * @author <a href="raphael@apache.org">Raphaël Luta</a>28 */29publicinterfaceClientEntryextendsRegistryEntry30 {
31/***32 * Returns the pattern parameter of this client. The pattern is used33 * to match a client to the user agent used to access the portal. If34 * the pattern matches the user agent string, this client is recognized35 * as the one the user is currently working with.36 *37 * @return the pattern of this client38 */39public String getUseragentpattern();
4041/***42 * Sets the pattern used to match the user agent.43 *44 * @param useragentpattern45 * the new pattern46 */47publicvoid setUseragentpattern(String useragentpattern);
4849/***50 * Returns the manufacturer of this client51 *52 * @return the manufacturer of this client53 */54public String getManufacturer();
5556/***57 * Sets the new manufacturer of this client58 *59 * @param name the new manufacturer60 */61publicvoid setManufacturer(String name);
6263/***64 * Returns the model of this client65 *66 * @return the model of this client67 */68public String getModel();
6970/***71 * Sets the new model of this client72 *73 * @param name the new model74 */75publicvoid setModel(String name);
7677/***78 * Returns the version of this client79 *80 * @return the version of this client81 */82public String getVersion();
8384/***85 * Sets the new version of this client86 *87 * @param name the new version88 */89publicvoid setVersion(String name);
9091/***92 * Returns all supported mimetypes as <CODE>MimeTypeMap</CODE>.93 * The <CODE>MimeTypeMap</CODE> contains all mimetypes in decreasing94 * order of importance.95 *96 * @return the MimeTypeMap97 * @see MimeTypeMap98 */99publicMimetypeMap getMimetypeMap();
100101/***102 * Returns all supported capablities as <CODE>CapabilityMap</CODE>.103 * The <CODE>CapabilityMap</CODE> contains all capabilities in arbitrary104 * order.105 *106 * @return the CapabilityMap107 * @see CapabilityMap108 */109publicCapabilityMap getCapabilityMap();
110111 }