|
Novell exteNd Director 5.2 API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The EbiComponentRegistry provides access to information of
legacy components that are contained in a resourceset within the
associated portal war.
| Method Summary | |
EbiPortletEntity |
createPortletEntity(EbiContext context,
EbiPortletModel portletModel)
Creates a EbiPortletEntity object with newly assigned instance
ID for a component specified by the given EbiPortletModel object. |
EbiPortletEntity |
createPortletEntity(EbiContext context,
String componentID)
Creates a EbiPortletEntity object with a newly assigned instance
identifier for a component specified by the given component ID. |
EbiPortletEntity |
createPortletEntity(EbiContext context,
String componentID,
String instanceID)
Creates a EbiPortletEntity object from a predefined instance
identifier and a component identifier. |
Collection |
getComponentCategories(EbiContext context)
Gets a Collection of EbiCategoryInfo objects
for portlet categories. |
EbiPortletSettings |
getComponentSettings(EbiContext context,
EbiPortletEntity entity)
Gets Component settings. |
EbiPortletSettings |
getComponentSettings(EbiContext context,
EbiPortletRegistration pr)
Gets Component settings. |
EbiPortletEntity |
getPortletEntity(EbiContext context,
String componentID,
String componentInstanceID)
Gets a EbiPortletEntity object for a specified component
instance from the component registry. |
EbiPortletModel |
getPortletModel(EbiContext context,
String componentID)
Gets a EbiPortletModel object that contains information of a
legacy component which implements EbiPortalComponent. |
Collection |
getPortletModelList(EbiContext context)
Gets a Collection of EbiPortletModel objects for
the legacy components (that implement EbiPortalComponent)
from the resourceset associated in the current portal war. |
EbiPortletRegistration |
getPortletRegistration(EbiContext context,
String componentID)
Gets a EbiPortletRegistration object that contains information of a
legacy component which implements EbiPortalComponent. |
Collection |
getPortletRegistrationList(EbiContext context)
Gets a Collection of EbiPortletRegistration objects for
the legacy components (that implement EbiPortalComponent)
from the resourceset associated in the current portal war. |
Collection |
getRestrictedPortletModelList(EbiContext context)
Gets a Collection of EbiPortletRegistration objects for
the legacy components (that implement EbiPortalComponent)
from the resourceset associated in the current portal war. |
Collection |
getRestrictedPortletRegistrationList(EbiContext context)
Gets a Collection of EbiPortletRegistration objects for
the legacy components (that implement EbiPortalComponent)
from the resourceset associated in the current portal war. |
Collection |
getRestrictedPortletRegistrationListByCategory(EbiContext context,
String categoryID)
Gets a Collection of EbiPortletRegistration objects for
the legacy components that belongs to the specified category ID. |
void |
init(ServletContext context)
Initializes the component registry by loading available portlets from portlet.xml. |
void |
storeComponentSettings(EbiContext context,
EbiPortletEntity entity,
EbiPortletSettings settings)
Stores Component settings. The component settings are stored in an EbiPortletSettings
object which is referenced from the |
| Method Detail |
public void init(ServletContext context)
context - a ServletContext object.
public Collection getPortletModelList(EbiContext context)
throws EboUnrecoverableSystemException,
EboSecurityException
Collection of EbiPortletModel objects for
the legacy components (that implement EbiPortalComponent)
from the resourceset associated in the current portal war.context - an EbiContext objectEbiPortletModel objects.EbiPortletModel
public Collection getRestrictedPortletModelList(EbiContext context)
throws EboUnrecoverableSystemException,
EboSecurityException
Collection of EbiPortletRegistration objects for
the legacy components (that implement EbiPortalComponent)
from the resourceset associated in the current portal war. The returned
list only contains the components that the authenticated user (provided
from EbiContext) has LIST access right.context - an EbiContext objectEbiPortletRegistration objects.EbiPortletRegistration
public EbiPortletModel getPortletModel(EbiContext context,
String componentID)
throws EboUnrecoverableSystemException,
EboSecurityException,
com.novell.afw.portlet.exception.EboPortletDefinitionException
EbiPortletModel object that contains information of a
legacy component which implements EbiPortalComponent.context - an EbiContext objectcomponentID - a component identifierEbiPortletModel object.EbiPortletModel,
EbiPortalComponent
public Collection getPortletRegistrationList(EbiContext context)
throws EboUnrecoverableSystemException,
EboSecurityException
Collection of EbiPortletRegistration objects for
the legacy components (that implement EbiPortalComponent)
from the resourceset associated in the current portal war.context - an EbiContext objectEbiPortletRegistration objects.EbiPortletRegistration
public Collection getRestrictedPortletRegistrationList(EbiContext context)
throws EboUnrecoverableSystemException,
EboSecurityException
Collection of EbiPortletRegistration objects for
the legacy components (that implement EbiPortalComponent)
from the resourceset associated in the current portal war. The returned
collection only contains the components that the authenticated user has
LIST access right.context - an EbiContext objectEbiPortletRegistration objects.EbiPortletRegistration
public Collection getRestrictedPortletRegistrationListByCategory(EbiContext context,
String categoryID)
throws EboUnrecoverableSystemException,
EboSecurityException
Collection of EbiPortletRegistration objects for
the legacy components that belongs to the specified category ID. The returned
collection only contains the components that the authenticated user has
LIST access right.context - categoryID - Collection of EbiPortletRegistration
objects.
public EbiPortletRegistration getPortletRegistration(EbiContext context,
String componentID)
throws EboUnrecoverableSystemException,
EboSecurityException,
com.novell.afw.portlet.exception.EboPortletDefinitionException
EbiPortletRegistration object that contains information of a
legacy component which implements EbiPortalComponent.context - an EbiContext objectcomponentID - a component identifierEbiPortletRegistration object.EbiPortletRegistration,
EbiPortalComponent
public EbiPortletEntity createPortletEntity(EbiContext context,
EbiPortletModel portletModel)
throws EboUnrecoverableSystemException,
EboSecurityException,
com.novell.afw.portlet.exception.EboPortletDefinitionException
EbiPortletEntity object with newly assigned instance
ID for a component specified by the given EbiPortletModel object.
A EbiPortletEntry object specifies an instance of a
legacy component that implements context - an EbiContext objectportletModel - a EbiPortletModel object that specifies a
legacy componentEbiPortletEntity object for the assigned component
instance.EbiPortletEntity
public EbiPortletEntity createPortletEntity(EbiContext context,
String componentID)
throws EboUnrecoverableSystemException,
EboSecurityException,
com.novell.afw.portlet.exception.EboPortletDefinitionException
EbiPortletEntity object with a newly assigned instance
identifier for a component specified by the given component ID. EbiPortletEntry object specifies an instance of a
legacy component that implements context - an EbiContext objectcomponentID - a component identifier.EbiPortletEntity
public EbiPortletEntity createPortletEntity(EbiContext context,
String componentID,
String instanceID)
throws EboUnrecoverableSystemException,
EboSecurityException,
com.novell.afw.portlet.exception.EboPortletDefinitionException
EbiPortletEntity object from a predefined instance
identifier and a component identifier. EbiPortletEntry object specifies an instance of a
legacy component that implements context - an EbiContext objectcomponentID - a component identifierinstanceID - a predefined component instance identifierEbiPortletEntity object.EbiPortletEntity
public EbiPortletEntity getPortletEntity(EbiContext context,
String componentID,
String componentInstanceID)
throws EboUnrecoverableSystemException,
EboSecurityException,
com.novell.afw.portlet.exception.EboPortletDefinitionException
EbiPortletEntity object for a specified component
instance from the component registry. EbiPortletEntry object specifies an instance of a
legacy component that implements context - an EbiContext object.componentID - a component identifier.componentInstanceID - a component instance identifier.EbiPortletEntity object.EbiPortletEntity
public EbiPortletSettings getComponentSettings(EbiContext context,
EbiPortletEntity entity)
throws EboUnrecoverableSystemException,
EboSecurityException,
com.novell.afw.portlet.exception.EboPortletDefinitionException
context - an EbiContext object.entity - an EbiPortletEntity object.EbiPortletSettings object.EbiPortletEntity,
EbiPortletSettings
public EbiPortletSettings getComponentSettings(EbiContext context,
EbiPortletRegistration pr)
throws EboUnrecoverableSystemException,
EboSecurityException
context - an EbiContext object.pr - an EbiPortletRegistration object.EbiPortletSettings object.EbiPortletRegistration,
EbiPortletSettings
public void storeComponentSettings(EbiContext context,
EbiPortletEntity entity,
EbiPortletSettings settings)
throws EboUnrecoverableSystemException,
EboSecurityException,
com.novell.afw.portlet.exception.EboPortletDefinitionException
EbiPortletSettings
object which is referenced from the context - an EbiContext object.entity - an EbiPortletEntity object.settings - an EbiPortletSettings object.EbiPortletEntity,
EbiPortletSettings
public Collection getComponentCategories(EbiContext context)
throws EboUnrecoverableSystemException,
EboSecurityException
Collection of EbiCategoryInfo objects
for portlet categories. context - Collection of EbiCategoryInfo objects.- Since:
- v5.0
- See Also:
EbiCategoryInfo
|
Novell exteNd Director 5.2 API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||