Object
Serializable
Proxy portlet metadata.
Object
ProxyPortletInfo
Serializable
Constructor Summary |
|
Method Summary |
public |
|
public |
|
public byte[] |
|
public |
|
public int |
|
public byte |
|
public boolean |
|
public boolean |
|
public boolean |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProxyPortletInfo(String
producerHandle,String
portletHandle, byte stateChangeFlag, boolean requiresUrlTemplates, boolean templatesStoredInSession, int proxyPortletId, byte[] portletState,String
deleteErrorCause, boolean producerOfferedPortlet)
Creates an instance.
* * @param producerHandle producer handle * @param portletHandle portlet handle * @param stateChangeFlag state change flag * @param requiresUrlTemplates requires templates * @param templatesStoredInSession templates stored in HTTP session * @param proxyPortletId proxy portlet ID * @param portletState optional binary portlet state * @param deleteErrorCause delete error cause * @param producerOfferedPortlet producer offered or consumer configured
Method Detail |
public String
getDeleteErrorCause()
Returns any error cause set if the consumer tries to destroy the portlet and the attempt failed.
* * @return error cause
public String
getPortletHandle()
Returns the portlet handle.
* * @return portlet handlepublic byte[] getPortletState()
Returns the optional binary portlet state. Some producers may return this during state updates
* * @return state
public String
getProducerHandle()
Returns producer handle.
* * @return producer handlepublic int getProxyPortletId()
Returns the unique ID used to store this proxy portlet in the database.
* * @return idpublic byte getStateChangeFlag()
Returns portlet state change flag.
* * @return state change flagpublic boolean isProducerOfferedPortlet()
Returns whether this portlet is producer offered or consumer created.
* * @return booleanpublic boolean isRequiresUrlTemplates()
Returns whether the portlet requires URL templates.
* * @return booleanpublic boolean isTemplatesStoredInSession()
Returns whether the portlet stores URL templates in the session.
* * @return boolean
public void setDeleteErrorCause(String
deleteErrorCause)
Sets error cause set if the consumer tries to destroy the portlet and the attempt failed.
* * @param deleteErrorCause error cause
public void setPortletHandle(String
portletHandle)
Sets the portlet handle.
* * @param portletHandle portlet handlepublic void setPortletState(byte[] portletState)
Sets the binary porltet state.
* * @param portletState state
public void setProducerHandle(String
producerHandle)
Sets producer handle.
* * @param producerHandle producer handlepublic void setProducerOfferedPortlet(boolean producerOfferedPortlet)
Sets whether this portlet is producer offered or consumer created.
* * @param producerOfferedPortlet booleanpublic void setProxyPortletId(int proxyPortletId)
Sets the unique ID used to store this proxy portlet in the database.
* * @param proxyPortletId idpublic void setRequiresUrlTemplates(boolean requiresUrlTemplates)
Sets whether the portlet requires URL templates.
* * @param requiresUrlTemplates booleanpublic void setStateChangeFlag(byte stateChangeFlag)
Sets portlet state change flag.
* * @param stateChangeFlag state change flagpublic void setTemplatesStoredInSession(boolean templatesStoredInSession)
Sets whether the portlet stores URL templates in the session.
* * @param templatesStoredInSession boolean