ConsumerConfiguredPortlet.java |
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 at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * 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 and 14 * limitations under the License. 15 */ 16 17 /* 18 19 */ 20 21 package org.apache.wsrp4j.producer.provider; 22 23 /** 24 * Provides the interface to a class encapsulating a 25 * ConsumerConfiguredPortlet-object. It extends the 26 * ProducerOfferedPortlet-interface. 27 * 28 * @author <a href="mailto:stefan.behl@de.ibm.com">Stefan Behl</a> 29 * 30 * @see Portlet 31 */ 32 public interface ConsumerConfiguredPortlet extends Portlet { 33 34 /** 35 * Sets the portlet handle of the parent ProducerOfferedPortlet. 36 * 37 * @param handle String representing the portlet handle of the corresponding 38 * parent ProducerOfferedPortlet. 39 **/ 40 public void setParentHandle(String handle); 41 42 /** 43 * Returns the portlet handle of the corresponding parent ProducerOfferedPortlet. 44 * 45 * @return String representing the portlet handle of the corresponding parent 46 * ProducerOfferedPortlet. 47 **/ 48 public String getParentHandle(); 49 50 /** 51 * Redefines the clone-method of the Cloneable-interface. 52 * 53 * @return Object representing the cloned object. 54 */ 55 public Object clone(); 56 57 }