|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that represents a Portlet instance in the portal.
Method Summary | |
void |
addCommunityPortletSetting(int communityID,
java.lang.String name,
java.lang.String value)
Adds a CommunityPortlet setting for the Portlet. |
java.lang.String |
getCommunityPortletSetting(int communityID,
java.lang.String settingName)
Gets the value for a particular CommunityPortlet setting for the Portlet. |
java.util.Enumeration |
getCommunityPortletSettingNames(int communityID)
Gets an enumeration of the names of current CommunityPortlet settings for the Portlet. |
int |
getTemplateID()
Returns the template ID associated with this Portlet instance. |
int[] |
queryContainingCommunities()
Returns an array of IDs of Communities that contain this Portlet instance. |
void |
removeCommunityPortletSetting(int communityID,
java.lang.String name)
Removes a CommunityPortlet setting for the Portlet. |
Methods inherited from interface com.plumtree.remote.prc.IPortletBase |
addAdminSetting, createGatewayLink, getAdminSetting, getAdminSettingNames, getAlignment, getWebServiceID, removeAdminSetting, setAlignment |
Methods inherited from interface com.plumtree.remote.prc.IObject |
getDescription, getID, getName, getParentFolderID, save, setDescription, setName |
Method Detail |
public int getTemplateID() throws java.net.MalformedURLException
java.net.MalformedURLException
- if the query interface URL is not validpublic int[] queryContainingCommunities() throws java.net.MalformedURLException, PortalException, java.rmi.RemoteException
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 java.util.Enumeration getCommunityPortletSettingNames(int communityID) throws java.net.MalformedURLException, PortalException, java.rmi.RemoteException
communityID
- the ID of the Community to retrieve the settings for
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 java.lang.String getCommunityPortletSetting(int communityID, java.lang.String settingName) throws java.net.MalformedURLException, PortalException, java.rmi.RemoteException
settingName
- the setting namecommunityID
- the ID of the community to get the setting for
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 addCommunityPortletSetting(int communityID, java.lang.String name, java.lang.String value) throws java.net.MalformedURLException, PortalException, java.rmi.RemoteException
save()
is called.
name
- the name of the new setting to addvalue
- the value of the setting to addcommunityID
- the ID of the community to add the setting for
java.lang.IllegalArgumentException
- if the method passed an invalid (blank) setting name
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 removeCommunityPortletSetting(int communityID, java.lang.String name) throws java.net.MalformedURLException, PortalException, java.rmi.RemoteException
save()
is called.
name
- the name of the setting to removecommunityID
- the ID of the community to remove the setting from
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.