|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.portal.tools.portal.actions.PortalControlAction
com.bea.portal.tools.portal.actions.PortletDefinitionAction
public class PortletDefinitionAction
Objects extending this class implement actions to be taken on portal controls. These may be used to specify multiple actions which need to occur in a single transaction by calling the Portal controls' executeActions() method.
| Method Summary | |
|---|---|
static PortletDefinitionAction |
copyPortletDefinition(PortletDefinitionControl control,
PortletDefinitionId id,
String title,
String description)
Updates the portlet instance outside the context of a desktop (in a Library) when the action is executed. |
void |
doAction(ResourceContext context)
Method that actually performs the action on the control. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static PortletDefinitionAction copyPortletDefinition(PortletDefinitionControl control,
PortletDefinitionId id,
String title,
String description)
Updates the portlet instance outside the context of a desktop (in a Library) when the action is executed. For Admins editing the primary instance (not placed on any page) use the PortletDefinitionManager.updatePortletDefinition().
control - the control to execute the action onid - the id of the portlet definition to copytitle - the title for the new portlet definitiondescription - the description for the new portlet definition
public void doAction(ResourceContext context)
throws Exception
doAction in interface ControlActiondoAction in class PortalControlActionExceptionpublic String toString()
toString in class Object
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||