|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that provides a way to obtain information
about existing Portlets and Portlet Templates, and enables
creation of new Portlets and deletion of existing Portlets.
Note: Settings are not saved in
the portal until IPortlet.save()
is called.
Method Summary | |
IPortlet |
createPortletInstance(int parentFolderID,
int templateID)
Returns an IPortlet object that represents a new Portlet
instance in the portal. |
void |
deletePortlet(int portletID)
Deletes a Portlet instance from the portal. |
IPortlet |
getPortletInstance(int portletID)
Returns an IPortlet object that represents an existing Portlet instance. |
Methods inherited from interface com.plumtree.remote.prc.IObjectManager |
lookupObjectID, lookupUUID, queryACL, queryCommunitiesForPortlet, queryExtendedData, queryObjects, queryObjects, queryObjects, queryObjects, queryObjects, querySingleObject, updateACL |
Method Detail |
public IPortlet getPortletInstance(int portletID) throws java.net.MalformedURLException, PortalException, java.rmi.RemoteException
IPortlet
object that represents an existing Portlet instance. Any changes made to the
Portlet instance will not take effect in the portal until
the IPortlet.save()
method is called.
portletID
- the ID of the Portlet to be returned
IPortlet
instance being queried
NoSuchObjectException
- if there is no Portlet with the specified ID
java.net.MalformedURLException
- if the query interface URL is not valid
PortalException
- if the operation resulted in an error in the portal
java.rmi.RemoteException
- if there was a communication problem during the execution of the remote method callpublic IPortlet createPortletInstance(int parentFolderID, int templateID) throws java.net.MalformedURLException, PortalException, java.rmi.RemoteException
IPortlet
object that represents a new Portlet
instance in the portal. Note: This Portlet will
not be created in the portal until the IPortlet.save()
method is called.
parentFolderID
- the folder in which to create the new Portlet instancetemplateID
- the template with which to create this Portlet instance
IPortlet.save()
to save the Portlet instance
in the portal.
NoSuchObjectException
- if there is no object with the specified ID
java.net.MalformedURLException
- if the query interface URL is not valid
PortalException
- if the operation resulted in an error in the portal
java.rmi.RemoteException
- if there was a communication problem during the execution of the remote method callpublic void deletePortlet(int portletID) throws java.net.MalformedURLException, PortalException, java.rmi.RemoteException
portletID
- the ID of the Portlet instance to delete
java.net.MalformedURLException
- if the query interface URL is not valid
PortalException
- if the operation resulted in an error in the portal
java.rmi.RemoteException
- if there was a communication problem during the execution of the remote method call
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©2010 Oracle® Corporation. All Rights Reserved.