|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for managing manages sections and components in sections for either a user page or a group page.
Method Summary | |
void |
addComponent(EbiPortalContext context,
String componentName,
String sectionID)
Adds a component to the selection list. |
void |
addComponent(EbiPortalContext context,
String componentName,
String sectionID,
String instanceID)
Adds a component to the selection list. |
String[] |
getAllowedSectionIDs(EbiPortalContext context)
Gets a list of allowed section IDs according to the selected layout. |
NodeList |
getComponentsBySection(String sectionID)
Gets the list of selected components by a specified section. |
String[] |
getSectionIDs()
Gets a list of section IDs that contains selected components. |
String |
getSelectedComponentsXML()
Gets the XML String that contains only the selected components. |
void |
initialize(Document pageDoc)
Initializes this instance from a User page or a group page. |
void |
removeComponent(EbiPortalContext context,
String componentName,
String instanceID)
Removes specified component from the selection list. |
void |
removeComponent(EbiPortalContext context,
String componentName,
String instanceID,
String from)
Removes a compnent from the selection list. |
void |
replacePage(EbiPortalContext context,
Document newPageDoc)
Replaces with the new page doc. |
void |
validateLayout(EbiPortalContext context)
Validates the selected components to see if the sections that the components are binding to are consistent with the selected layout. |
Method Detail |
public NodeList getComponentsBySection(String sectionID)
sectionID
- a section identifier.public String[] getSectionIDs()
public String[] getAllowedSectionIDs(EbiPortalContext context) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiPortalContext object.public String getSelectedComponentsXML()
public void initialize(Document pageDoc)
pageDoc
- A user page or a group page document.public void replacePage(EbiPortalContext context, Document newPageDoc) throws EboUnrecoverableSystemException, EboSecurityException
context
- An EbiPortalContext context.newPageDoc
- A new page doc.public void validateLayout(EbiPortalContext context) throws EboUnrecoverableSystemException, EboSecurityException
context
- An EbiPortalContext object.public void addComponent(EbiPortalContext context, String componentName, String sectionID) throws EboUnrecoverableSystemException, EboSecurityException
context
- An EbiPortalContext object.componentName
- A component name.sectionID
- A section identifier where the component
is going to be added to.public void addComponent(EbiPortalContext context, String componentName, String sectionID, String instanceID) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiPortalContext object.componentName
- a component name.sectionID
- a section identifier where the component
is going to be added to.instanceID
- a predefined portlet/component instance IDpublic void removeComponent(EbiPortalContext context, String componentName, String instanceID, String from) throws EboUnrecoverableSystemException, EboSecurityException
context
- An EbiPortalContext object.componentName
- A component name.instanceID
- A component instance identifier.from
- A section identifier where the component
is going to be removed from.public void removeComponent(EbiPortalContext context, String componentName, String instanceID) throws EboUnrecoverableSystemException, EboSecurityException
context
- An EbiPortalContext object.componentName
- A component name.instanceID
- A component instance identifier.
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |