org.apache.wsrp4j.producer.provider
Interface ProducerOfferedPortlet

All Superinterfaces:
java.lang.Cloneable, Portlet
All Known Implementing Classes:
ProducerOfferedPortletImpl

public interface ProducerOfferedPortlet
extends Portlet

Provides an interface to a class encapsulating a ProducerOfferedPortlet- object.

Author:
Stefan Behl
See Also:
Portlet

Method Summary
 void addClone(ConsumerConfiguredPortlet cce)
          Adds a clone referencing a ConsumerConfiguredPortlet.
 java.lang.Object clone()
          Redefines the clone-method of the Cloneable-interface.
 void deleteClone(ConsumerConfiguredPortlet cce)
          Deletes a clone-handle referencing a ConsumerConfiguredPortlet.
 java.util.Iterator getClones()
          Returns an iterator containing all clones.
 boolean isRegistrationRequired()
          Returns a flag indicating whether registration is required or not.
 void setRegistrationRequired(boolean required)
          Sets the flag indicating whether registration is required or not.
 
Methods inherited from interface org.apache.wsrp4j.producer.provider.Portlet
getPortletHandle, setPortletHandle
 

Method Detail

isRegistrationRequired

public boolean isRegistrationRequired()
Returns a flag indicating whether registration is required or not.

Returns:
Boolean flag.

setRegistrationRequired

public void setRegistrationRequired(boolean required)
Sets the flag indicating whether registration is required or not.

Parameters:
required - Boolean to be assigned to the requiresReg.-flag.

addClone

public void addClone(ConsumerConfiguredPortlet cce)
Adds a clone referencing a ConsumerConfiguredPortlet.


deleteClone

public void deleteClone(ConsumerConfiguredPortlet cce)
Deletes a clone-handle referencing a ConsumerConfiguredPortlet.

Parameters:
cce - String representing the portlet-handle of the corresponding ConsumerConfiguredPortlet.

getClones

public java.util.Iterator getClones()
Returns an iterator containing all clones.

Returns:
Iterator

clone

public java.lang.Object clone()
Redefines the clone-method of the Cloneable-interface. This is necessary as the clone-method is declared protected in the Object class.

Returns:
Object Object representing the cloned object.