Novell exteNd
Director 5.2 API

com.sssw.portal.api
Interface EbiPortalComponentInfo

All Superinterfaces:
Cloneable, EbiElement, EbiFrameworkElement, Serializable

Deprecated. As of v5.2, components have been replaced with Java Portlets, see EbiPortletModel

public interface EbiPortalComponentInfo
extends EbiFrameworkElement

This provides a generic interface for component info.


Field Summary
static String EL_PORTAL_COMPONENT
          Deprecated. Component element type.
 
Method Summary
 String getComponentAlias()
          Deprecated. Use EbiPortalComponentInfo.getComponentName().
 String[] getComponentCategories()
          Deprecated. Gets component categories.
 String getComponentCategory()
          Deprecated. Use EbiPortalComponentInfo.getComponentCategories().
 String getComponentClassName()
          Deprecated. Gets the component class name.
 String getComponentDataDefinitionID()
          Deprecated. Gets the Device Profiling definition ID for the component.
 String getComponentDefaultStyleID()
          Deprecated. Gets the component default StyleID.
 Properties getComponentDefaultValues()
          Deprecated. Gets the component default values.
 String getComponentDescription()
          Deprecated. Gets the component description, which is defined in the deployment descriptor.
 String getComponentDescriptor()
          Deprecated. This method returns the descriptor as a string. The document should be used directly except where storage is the goal, and in that case the document should be serialized. Use the getComponentDescriptorDocument() intead of this method.
 Document getComponentDescriptorDocument()
          Deprecated. Returns the DOM representing the component descriptor.
 String getComponentDisplayName()
          Deprecated. Gets the component display name.
 String[] getComponentListRoles()
          Deprecated. Gets the list of roles authorized to list the component.
 String getComponentName()
          Deprecated. Gets the component name.
 EbiComponentOptionInfo getComponentOptionInfo(String optionID)
          Deprecated. Returns a specific option information, null if the component does not support the specified option.
 EbiComponentOptionInfo[] getComponentOptionInfoList()
          Deprecated. Returns list of supported options.
 String getComponentPreviewImage()
          Deprecated. Returns the value of the preview-image tag of the component descriptor
 String getComponentPreviewImage(EbiPortalContext context)
          Deprecated. Returns the URL to an image that represents the component as a runtime example.
 String[] getComponentRunRoles()
          Deprecated. Gets the list of roles authorized to run the component.
 String[] getComponentStyles()
          Deprecated. Gets component style list.
 EbiPortalComponent getInstance(EbiPortalContext context, Map params)
          Deprecated. Gets a component instance.
 String getPersonalizeURI()
          Deprecated. Use EbiPortalComponentInfo.getComponentOptionInfo(String optionID)
 boolean isComponentPersonalizable()
          Deprecated. Use EbiPortalComponentInfo.getComponentOptionInfo(String optionID).
 boolean isComponentServerLifetime()
          Deprecated. Gets the component lifetime flag.
 boolean isTitleBarEnabled()
          Deprecated. Gets the component enable title bar flag.
 
Methods implemented from interface com.sssw.fw.api.EbiFrameworkElement
getElementUUID, getLastModified, getLastModifiedBy, isEqualTo, isReadOnly, resetReadOnly, setLastModified, setLastModifiedBy, setReadOnly
 
Methods implemented from interface com.sssw.fw.api.EbiElement
getType
 

Field Detail

EL_PORTAL_COMPONENT

public static final String EL_PORTAL_COMPONENT
Deprecated. 
Component element type.
Method Detail

getComponentClassName

public String getComponentClassName()
Deprecated. 
Gets the component class name.
Returns:
The component class name for the specified component.

getComponentDataDefinitionID

public String getComponentDataDefinitionID()
Deprecated. 
Gets the Device Profiling definition ID for the component.
Returns:
The component's data definition ID.

getComponentAlias

public String getComponentAlias()
Deprecated. Use EbiPortalComponentInfo.getComponentName().

Gets the component alias. The alias is optional.
Returns:
A Component alias for the specified component.

getComponentName

public String getComponentName()
Deprecated. 
Gets the component name. The component name is required.
Returns:
A Component name for the specified component.

getComponentCategory

public String getComponentCategory()
Deprecated. Use EbiPortalComponentInfo.getComponentCategories().

Gets a component category. The compoment category is optional. This method only returns the first category, use EbiPortalComponentInfo.getComponentCategories() to retrieve the entire list of categories this component belongs to.
Returns:
The category.

getComponentCategories

public String[] getComponentCategories()
Deprecated. 
Gets component categories.
Returns:
An array of categories.

getComponentStyles

public String[] getComponentStyles()
Deprecated. 
Gets component style list.
Returns:
An array of component styles.

getComponentDescriptor

public String getComponentDescriptor()
Deprecated. This method returns the descriptor as a string. The document should be used directly except where storage is the goal, and in that case the document should be serialized. Use the getComponentDescriptorDocument() intead of this method.

Gets the Component Descriptor of the component.
Returns:
a String representing the serialized descriptor document.
See Also:
EbiPortalComponentInfo.getComponentDescriptorDocument()

getComponentDescriptorDocument

public Document getComponentDescriptorDocument()
Deprecated. 
Returns the DOM representing the component descriptor. This document is a cached version of the document and should not be modified.
Returns:
org.w3c.Document representing the component descriptor.
Since:
5.2

getComponentDisplayName

public String getComponentDisplayName()
Deprecated. 
Gets the component display name.
Returns:
The display name of the component.

getComponentDefaultStyleID

public String getComponentDefaultStyleID()
Deprecated. 
Gets the component default StyleID.
Returns:
The default StyleID for the component.

getComponentDescription

public String getComponentDescription()
Deprecated. 
Gets the component description, which is defined in the deployment descriptor.
Returns:
The description of the component.

getPersonalizeURI

public String getPersonalizeURI()
Deprecated. Use EbiPortalComponentInfo.getComponentOptionInfo(String optionID)

Gets the component personalize page location.
Returns:
URI of the page used to personalize this component.

isComponentPersonalizable

public boolean isComponentPersonalizable()
Deprecated. Use EbiPortalComponentInfo.getComponentOptionInfo(String optionID).

Gets the component personalizable flag.
Returns:
true if this component is allowed to be personalized, false otherwise.

isTitleBarEnabled

public boolean isTitleBarEnabled()
Deprecated. 
Gets the component enable title bar flag.
Returns:
true if the title bar for this component is enabled, false otherwise.

isComponentServerLifetime

public boolean isComponentServerLifetime()
Deprecated. 
Gets the component lifetime flag. The method returns false if the component should be instantiated on each request, true if the component is thread safe and can be shared by multiple requests.

getComponentDefaultValues

public Properties getComponentDefaultValues()
Deprecated. 
Gets the component default values.
Returns:
A Properties object that contains the component default configurations.

getInstance

public EbiPortalComponent getInstance(EbiPortalContext context,
                                      Map params)
                               throws EboUnrecoverableSystemException,
                                      EboSecurityException
Deprecated. 
Gets a component instance.
Parameters:
context - A portal context.
params - A set of parameters that is used to initialize this component instance.
Returns:
An EbiComponent object.

getComponentRunRoles

public String[] getComponentRunRoles()
Deprecated. 
Gets the list of roles authorized to run the component.
Returns:
An array of role names.

getComponentListRoles

public String[] getComponentListRoles()
Deprecated. 
Gets the list of roles authorized to list the component.
Returns:
An array of role names.

getComponentOptionInfoList

public EbiComponentOptionInfo[] getComponentOptionInfoList()
Deprecated. 
Returns list of supported options.
Returns:
An array of supported options

getComponentOptionInfo

public EbiComponentOptionInfo getComponentOptionInfo(String optionID)
Deprecated. 
Returns a specific option information, null if the component does not support the specified option.
Parameters:
optionID - the ID of the option to be returned.

getComponentPreviewImage

public String getComponentPreviewImage(EbiPortalContext context)
Deprecated. 
Returns the URL to an image that represents the component as a runtime example.
Parameters:
context - A portal context.

getComponentPreviewImage

public String getComponentPreviewImage()
Deprecated. 
Returns the value of the preview-image tag of the component descriptor

The string is retrieved from the component descriptor, no runtime substitutions are performed

Parameters:
context - A portal context.

Novell exteNd
Director 5.2 API