|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProxyPortletManager
Manages proxy portlets for one or more producers.
| Nested Class Summary | |
|---|---|
static class |
ProxyPortletManager.FactoryA ProxyPortletManager factory. |
| Method Summary | |
|---|---|
void |
clearDestroyErrors(int[] proxyPortletIds)Clears the delete errors associated with proxy portlets thus making them deletable. |
int |
createProxyPortlet(String producerHandle, IPortletDescription portletDescription, Locale locale, javax.servlet.http.HttpServletRequest httpRequest, String webAppName)Creates a proxy portlet. |
int |
createProxyPortlet(String producerHandle, com.bea.wsrp.types.PortletDescription portletDescription, Locale locale, javax.servlet.http.HttpServletRequest httpRequest, String webAppName)Deprecated This method will be removed in a future release. Use createProxyPortlet(String, IPortletDescription, locale, httpRequest, webAppName). |
byte[] |
getPortletState(int portletInstanceId)Retrieves the portlet state byte array. |
ProxyPortletInfo |
getProxyPortlet(int portletInstanceId)Returns the proxy portlet with the given instance ID. |
ProxyPortletInfo[] |
getProxyPortletsWithDestroyErrors(String webAppName, String producerHandle)Returns PortletDescriptions for proxy portlets that had errors on delete for a given producer. |
Map<Integer,ProxyPortletInfo[]> |
getRemovableProxyPortlets(String webAppName)Returns a map of ProxyPortletInfo arrays that are removable keyed by Integer producer ids. |
int[] |
listAddedProxyPortlets(String webAppName, String producerHandle)Lists all portlets that have been added for the specified producer. |
int[] |
listCustomizedProxyPortlets(String webAppName, String producerHandle)Lists all portlets that have been customized for the specified producer. |
int |
removeProxyPortlets(String webAppName, int[] proxyPortletIds)Removes proxy portlets marked for delete for a given webApp. |
int |
removeProxyPortlets(String webAppName, int producerId, boolean removePrimaryInstances)Deletes ProxyPortlets for a given producer and web app. |
void |
setDestroyErrors(Map errorCauses)Sets delete error causes on a set of proxy portlets Note: This method will fail silently for proxy portlets that don't exist. |
int |
updateProxyPortlet(javax.servlet.http.HttpServletRequest httpRequest, String webAppName, String portalPath, String desktopPath, int portletInstanceId, String portletHandle, byte stateChangeFlag, byte[] portletState, boolean ensureSuccessor)Updates specific attributes of a proxy portlet. |
int |
updateProxyPortlet(javax.servlet.http.HttpServletRequest httpRequest, String webAppName, String portalPath, String desktopPath, int portletInstanceId, String portletHandle, byte stateChangeFlag, byte[] portletState, boolean ensureSuccessor, boolean updatePOP)Updates specific attributes of a proxy portlet. |
| Method Detail |
|---|
int[] listAddedProxyPortlets(String webAppName,
String producerHandle)
throws IllegalArgumentException,
ProxyPortletManagerException
Lists all portlets that have been added for the specified producer. Returns an empty array if no portlets have been added.
webAppName - webApp nameproducerHandle - handle for the producer being queriedIllegalArgumentException - thrown when input arguments are not validProxyPortletManagerException - thrown when a general error is encountered
@Deprecated
int createProxyPortlet(String producerHandle,
com.bea.wsrp.types.PortletDescription portletDescription,
Locale locale,
javax.servlet.http.HttpServletRequest httpRequest,
String webAppName)
throws IllegalArgumentException,
ProxyPortletManagerException
Creates a proxy portlet.
producerHandle - producer handleportletDescription - portlet descriptionwebAppName - name of the webapp in which proxy portlets resideIllegalArgumentException - thrown when input arguments are not validProxyPortletManagerException - thrown when a general error is encountered
int createProxyPortlet(String producerHandle,
IPortletDescription portletDescription,
Locale locale,
javax.servlet.http.HttpServletRequest httpRequest,
String webAppName)
throws IllegalArgumentException,
ProxyPortletManagerException
Creates a proxy portlet.
producerHandle - producer handleportletDescription - portlet descriptionwebAppName - name of the webapp in which proxy portlets resideIllegalArgumentException - thrown when input arguments are not validProxyPortletManagerException - thrown when a general error is encountered
int updateProxyPortlet(javax.servlet.http.HttpServletRequest httpRequest,
String webAppName,
String portalPath,
String desktopPath,
int portletInstanceId,
String portletHandle,
byte stateChangeFlag,
byte[] portletState,
boolean ensureSuccessor)
throws IllegalArgumentException,
ProxyPortletManagerException
httpRequest - HttpServletRequestwebAppName - web application nameportalPath - portal path of desktop under considerationdesktopPath - desktop path of desktop under considerationportletInstanceId - portlet instance idportletHandle - portlet handlestateChangeFlag - portlet state change flagportletState - portlet stateensureSuccessor - boolean to specify if a successor needs to be createdIllegalArgumentException - thrown when input arguments are not validProxyPortletManagerException - thrown when a general error is encountered
int updateProxyPortlet(javax.servlet.http.HttpServletRequest httpRequest,
String webAppName,
String portalPath,
String desktopPath,
int portletInstanceId,
String portletHandle,
byte stateChangeFlag,
byte[] portletState,
boolean ensureSuccessor,
boolean updatePOP)
throws IllegalArgumentException,
ProxyPortletManagerException
httpRequest - HttpServletRequestwebAppName - web application nameportalPath - portal path of desktop under considerationdesktopPath - desktop path of desktop under considerationportletInstanceId - portlet instance idportletHandle - portlet handlestateChangeFlag - portlet state change flagportletState - portlet stateensureSuccessor - boolean to specify if a successor needs to be createdupdatePOP - set to true if the producer offered portlet field should be updatedIllegalArgumentException - thrown when input arguments are not validProxyPortletManagerException - thrown when a general error is encountered
ProxyPortletInfo getProxyPortlet(int portletInstanceId)
throws IllegalArgumentException,
ProxyPortletManagerException
portletInstanceId - instance IDIllegalArgumentExceptionProxyPortletManagerException
byte[] getPortletState(int portletInstanceId)
throws IllegalArgumentException,
ProxyPortletManagerException
portletInstanceId - unique ID of proxy portletIllegalArgumentException - thrown when input arguments are not validProxyPortletManagerException - thrown when a general error is encountered
void setDestroyErrors(Map errorCauses)
throws IllegalArgumentException,
ProxyPortletManagerException
errorCauses - A map of string error causes keyed by Integer proxyPortletIdsIllegalArgumentException - thrown when input arguments are not validProxyPortletManagerException - thrown when a general error is encountered
void clearDestroyErrors(int[] proxyPortletIds)
throws IllegalArgumentException,
ProxyPortletManagerException
proxyPortletIds - unique IDs for proxy portlets under considerationIllegalArgumentException - thrown when input arguments are not validProxyPortletManagerException - thrown when a general error is encountered
ProxyPortletInfo[] getProxyPortletsWithDestroyErrors(String webAppName,
String producerHandle)
throws IllegalArgumentException,
ProxyPortletManagerException
PortletDescriptions for proxy portlets that had errors on delete for a given producer.webAppName - web application nameproducerHandle - consumer specific unique handle for a producerIllegalArgumentException - thrown when input arguments are not validProxyPortletManagerException - thrown when a general error is encountered
Map<Integer,ProxyPortletInfo[]> getRemovableProxyPortlets(String webAppName)
throws IllegalArgumentException,
ProxyPortletManagerException
webAppName - web application nameIllegalArgumentException - thrown when input arguments are not validProxyPortletManagerException - thrown when a general error is encountered
int removeProxyPortlets(String webAppName,
int[] proxyPortletIds)
throws IllegalArgumentException,
ProxyPortletManagerException
Removes proxy portlets marked for delete for a given webApp.
webAppName - web application nameproxyPortletIds - IDs for proxy portlets to be removedIllegalArgumentException - thrown when input arguments are not validProxyPortletManagerException - thrown when a general error is encountered
int removeProxyPortlets(String webAppName,
int producerId,
boolean removePrimaryInstances)
throws IllegalArgumentException,
ProxyPortletManagerException
webAppName - web application nameproducerId - unique consumer specific producer IDremovePrimaryInstances - Removes primary instances also if set to trueIllegalArgumentException - thrown when input arguments are not validProxyPortletManagerException - thrown when a general error is encountered
int[] listCustomizedProxyPortlets(String webAppName,
String producerHandle)
throws IllegalArgumentException,
ProxyPortletManagerException
Lists all portlets that have been customized for the specified producer. Returns an empty array if no portlets have been customized.
webAppName - web application nameproducerHandle - handle for the producer being queriedIllegalArgumentException - thrown when input arguments are not validProxyPortletManagerException - thrown when a general error is encountered
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.