com.sapportals.wcm.rendering.resource

Class AbstractResourceRenderer

java.lang.Object
  extended by com.sapportals.wcm.rendering.base.LayoutObject
      extended by com.sapportals.wcm.rendering.resource.AbstractResourceRenderer
All Implemented Interfaces:
ILayoutObject, IResourceRenderer, ICollectionRendererParameterNameConst, IParameterNameConst, IParameters, IResourceRendererParameterNameConst

Deprecated. As of NetWeaver 7.1

public abstract class AbstractResourceRenderer
extends LayoutObject
implements IResourceRenderer, IParameterNameConst


Field Summary
static String BLANK
          Deprecated.  
static String CM_RND_ACTION
          Deprecated. TODO should these constants declared in the IPropertyService???
static String CM_RND_CHILDCOUNT
          Deprecated.  
static String CM_RND_CHILDCOUNT_WITH_BRACKETS
          Deprecated.  
static String CM_RND_COLLABORATION_STATUS
          Deprecated.  
static String CM_RND_CONTENT_LINK
          Deprecated.  
static String CM_RND_DESCRIPTION
          Deprecated.  
static String CM_RND_DISPLAYNAME
          Deprecated.  
static String CM_RND_ICON
          Deprecated.  
static String CM_RND_IMAGE
          Deprecated.  
static String CM_RND_LOCK
          Deprecated.  
static String CM_RND_SUBSCRIPTION
          Deprecated.  
static String COMMA
          Deprecated.  
static String DEFAULT_VISIBLE_PROPERTIES
          Deprecated.  
static String NBSP
          Deprecated.  
 
Fields inherited from class com.sapportals.wcm.rendering.base.LayoutObject
supportedParameterKeys
 
Fields inherited from interface com.sapportals.wcm.rendering.resource.IResourceRenderer
LINK_CONTENT, LINK_CONTENT_ONLY_FOLDERS, LINK_DETAILS, LINK_OFF
 
Fields inherited from interface com.sapportals.wcm.rendering.base.ILayoutObject
DEF_VALUE, KEY, LINE_BREAK
 
Fields inherited from interface com.sapportals.wcm.repository.service.layout.customizing.IParameterNameConst
ACTIONSTYLE_BUTTON, ACTIONSTYLE_HOVER, ACTIONSTYLE_ICON, ACTIONSTYLE_LINK, ACTIONSTYLE_MENU, ACTIONSTYLE_OFF, ACTIONSTYLE_SMALLBUTTON, ACTIONSTYLE_TOOLBAR_BUTTON, ACTIONSTYLE_VERTICAL_LINK, BASE_SETTINGS, COLLECTION_RENDERER_SETTINGS, FLAVOR, RESOURCE_RENDERER_SETTINGS, SETNAME, UI_DISPLAY_READONLYMODE_INFO, UI_GROUP_DETAILS, UI_LAYOUT_CONTROLLER, VALUE_OFF
 
Fields inherited from interface com.sapportals.wcm.repository.service.layout.customizing.ICollectionRendererParameterNameConst
BACKGROUNDIMAGEPATH, BACKGROUNDIMAGESTYLE, BACKGROUNDIMAGESTYLE_MULTIPLE, BACKGROUNDIMAGESTYLE_SINGLE, BREADCRUMBSTYLE, BREADCRUMBSTYLE_BACK, BREADCRUMBSTYLE_DRPODOWN, BREADCRUMBSTYLE_HORIZONTAL, BREADCRUMBSTYLE_OFF, BREADCRUMBSTYLE_VERTICAL, BREADCRUMBVISIBILITYSTYLE, BREADCRUMBVISIBILITYSTYLE_DISABLEROOT, BREADCRUMBVISIBILITYSTYLE_INVISIBLE, BREADCRUMBVISIBILITYSTYLE_INVISIBLEROOT, BREADCRUMBVISIBILITYSTYLE_NOICON, BREADCRUMBVISIBILITYSTYLE_STANDARD, COLLECTION_ACTIONSTYLE, COLLECTION_ACTIONSTYLE_BUTTON, COLLECTION_ACTIONSTYLE_HOVER, COLLECTION_ACTIONSTYLE_LINK, COLLECTION_ACTIONSTYLE_MENU, COLLECTION_ACTIONSTYLE_OFF, COLLECTION_ACTIONSTYLE_SMALLBUTTON, COLLECTION_ACTIONSTYLE_TOOLBAR_BUTTON, COLUMNS, COLUMNSPACING, COLUMNSPACINGSTYLE, COLUMNSPACINGSTYLE_FIXED, COLUMNSPACINGSTYLE_MINIMUM, COMPONENTS, EMPTY_COLLECTION_FILE, EMPTY_COLLECTION_KEY, EMPTY_COLLECTION_STYLE, EMPTY_COLLECTION_STYLE_MESSAGE, EMPTY_COLLECTION_STYLE_OFF, EMPTY_COLLECTION_STYLE_TEXT, FILESELECTIONMODE_MULTIPLE, FILESELECTIONMODE_SINGLE, FILTEREXTENSION, FILTERMIMETYPE, FILTERRESOURCETYPE, FOLDERSELECTIONMODE_MULTIPLE, FOLDERSELECTIONMODE_SINGLE, GRIDORDERSTYLE, GRIDORDERSTYLE_COLUMN_MAJOR, GRIDORDERSTYLE_ROW_MAJOR, GROUP_STYLE, GROUP_STYLE_OFF, GROUP_STYLE_PRIMARYCOLOR, GROUP_STYLE_SAPCOLOR, GROUP_STYLE_SECONDARYBOX, GROUP_STYLE_SECONDARYBOXCOLOR, GROUP_STYLE_SECONDARYCOLOR, HEADER_TEXT_STYLE, HTML_FILENAME, IMAGEMAP, ITEMSELECTIONMODE, ITEMSELECTIONMODE_MULTIPLE, ITEMSELECTIONMODE_OFF, ITEMSELECTIONMODE_SINGLE, LINKSSTYLE, LINKSSTYLE_ALL, LINKSSTYLE_EXTERNAL, LINKSSTYLE_INTERNAL, LINKSSTYLE_OFF, LINKSSTYLE_VISIBLE, MASSACTIONSTYLE, MASSACTIONSTYLE_BUTTON, MASSACTIONSTYLE_HOVER, MASSACTIONSTYLE_ICON, MASSACTIONSTYLE_LINK, MASSACTIONSTYLE_MENU, MASSACTIONSTYLE_OFF, MASSACTIONSTYLE_SMALLBUTTON, MASSACTIONSTYLE_TOOLBAR_BUTTON, MASSACTIONSTYLE_VERTICAL_LINK, MAX_NUM_OF_TABS, NO_OF_CHILD_FOR_NODE, NO_TAB_CONTENT, OPEN_NODES_STYLE, OPEN_NODES_STYLE_All, OPEN_NODES_STYLE_LAST_SELECTED, OPENTARGETTYPE, OPENTARGETTYPE_FIXED, OPENTARGETTYPE_NEW, OPENTARGETTYPE_OFF, OPENTARGETTYPE_SELF, PAGER_LINK_COUNT, PAGER_SHOW_NUMBER, PROPERTY_COLUMN_HEADER_STYLE, PROPERTY_COLUMN_HEADER_STYLE_LIST, PROPERTY_COLUMN_HEADER_STYLE_MENUE, PROPERTY_COLUMN_HEADER_STYLE_OFF, PROPERTY_COLUMN_HEADER_STYLE_TABLE, PROPERTY_COLUMN_HEADER_STYLE_TRANSPARENT, PROPERTYCOLUMNS, RESIZEHEIGHTSTYLE, RESIZEHEIGHTSTYLE_COMPACT, RESIZEHEIGHTSTYLE_OFF, RESIZEHEIGHTSTYLE_STRETCH, RESIZEWIDHTSTYLE, RESIZEWIDHTSTYLE_COMPACT, RESIZEWIDHTSTYLE_OFF, RESIZEWIDHTSTYLE_STRETCH, RESOURCE_LIST_FILTER, RESOURCE_LIST_FILTER_DEFAULT, ROWBACKGROUNDSTYLE, ROWS, ROWSPACING, ROWSPACINGSTYLE, ROWSPACINGSTYLE_ALTERNATING, ROWSPACINGSTYLE_BACKGROUND, ROWSPACINGSTYLE_COLUMNALTERNATING, ROWSPACINGSTYLE_COLUMNSEPARATED, ROWSPACINGSTYLE_FIXED, ROWSPACINGSTYLE_LINESEPARATED, ROWSPACINGSTYLE_MINIMUM, ROWSPACINGSTYLE_ROWALTERNATING, ROWSPACINGSTYLE_TRANSPARENT, SHOW_HIDDEN, SHOW_TREE_ROOT_NODE, SHOWFILESSTYLE, SHOWFILESSTYLE_ALL, SHOWFILESSTYLE_NOLINK, SHOWFILESSTYLE_OFF, SHOWFILESTYLE_ONLYLINK, SHOWFOLDERSSTYLE, SHOWFOLDERSSTYLE_ALL, SHOWFOLDERSSTYLE_NOLINK, SHOWFOLDERSSTYLE_OFF, SHOWFOLDERSSTYLE_ONLYLINK, SHOWFOLDERTITLE, SHOWUSERID, SHOWUSERNAME, SORT_ENABLED, SORT_ORDER, SORT_ORDER_ASCENDING, SORT_ORDER_DESCENDING, SORT_PROPERTY, TAB_BODY_FLAVOR, TAB_STYLE_SAFE, UI_COLL_RENDERER, UI_GROUP_COLLECTION, UI_GROUP_MASS, USE_SCROLL_CONTAINER, VERTICAL_ALIGNMENT, VERTICAL_ALIGNMENT_BASELINE, VERTICAL_ALIGNMENT_BOTTOM, VERTICAL_ALIGNMENT_MIDDLE, VERTICAL_ALIGNMENT_TOP
 
Fields inherited from interface com.sapportals.wcm.repository.service.layout.customizing.IResourceRendererParameterNameConst
CHILDFOLDERDELIMITER, CHILDFOLDERSTYLE, CHILDFOLDERSTYLE_HORIZONTAL, CHILDFOLDERSTYLE_OFF, CHILDFOLDERSTYLE_VERTICAL, COLLECTION_NAVIGATION_MODE, COLLECTION_NAVIGATION_MODE_CLASSIC, COLLECTION_NAVIGATION_MODE_INPLACE, COLLECTION_NAVIGATION_MODE_OPEN_WINDOW, FILE_IMAGE, FOLDER_IMAGE, FORCE_CHILDFOLDER_READ, HIGHLIGHTEDTEXTSTYLE, HIGHLIGHTEDTEXTSTYLE_DEFAULT, HIGHLIGHTEDTEXTSTYLE_EMPHASIZED, HIGHLIGHTEDTEXTSTYLE_HEADER1, HIGHLIGHTEDTEXTSTYLE_HEADER2, HIGHLIGHTEDTEXTSTYLE_HEADER3, HIGHLIGHTEDTEXTSTYLE_HEADER4, HIGHLIGHTEDTEXTSTYLE_LABEL, HIGHLIGHTEDTEXTSTYLE_LABELSMALL, HIGHLIGHTEDTEXTSTYLE_LEGEND, HIGHLIGHTEDTEXTSTYLE_REFERENCE, ICONHEIGHT, ICONSTYLE, ICONSTYLE_OFF, ICONSTYLE_REPLACE_ICON, ICONSTYLE_STATUS_TARGET, ICONSTYLE_TARGET_ICON, ICONWIDTH, IMAGEHEIGHT, IMAGESTYLE, IMAGESTYLE_OFF, IMAGESTYLE_REPLACE, IMAGEWIDTH, ITEMACTIONSTYLE, ITEMACTIONSTYLE_BUTTON, ITEMACTIONSTYLE_HOVER, ITEMACTIONSTYLE_ICON, ITEMACTIONSTYLE_LINK, ITEMACTIONSTYLE_MENU, ITEMACTIONSTYLE_OFF, ITEMACTIONSTYLE_SMALLBUTTON, ITEMACTIONSTYLE_TOOLBAR_BUTTON, ITEMACTIONSTYLE_VERTICAL_LINK, ITEMHEIGHT, ITEMWIDTH, LINK_IMAGE, MAXCHILDFOLDERS, OPENTARGET, OPENTARGETTYPE, OPENTARGETTYPE_FIXED, OPENTARGETTYPE_LINK_LIST, OPENTARGETTYPE_NEW, OPENTARGETTYPE_OFF, OPENTARGETTYPE_PORTAL_FAVORITES, OPENTARGETTYPE_SELF, PRIMARYTEXTSTYLE, PRIMARYTEXTSTYLE_DEFAULT, PRIMARYTEXTSTYLE_EMPHASIZED, PRIMARYTEXTSTYLE_HEADER1, PRIMARYTEXTSTYLE_HEADER2, PRIMARYTEXTSTYLE_HEADER3, PRIMARYTEXTSTYLE_HEADER4, PRIMARYTEXTSTYLE_LABEL, PRIMARYTEXTSTYLE_LABELSMALL, PRIMARYTEXTSTYLE_LEGEND, PRIMARYTEXTSTYLE_REFERENCE, PROPERTY_MODIFIERS, RESOURCE_NAVIGATION_MODE, RESOURCE_NAVIGATION_MODE_CLASSIC, RESOURCE_NAVIGATION_MODE_INPLACE, RESOURCE_NAVIGATION_MODE_OPEN_WINDOW, SECONDARYTEXTSTYLE, SECONDARYTEXTSTYLE_DEFAULT, SECONDARYTEXTSTYLE_EMPHASIZED, SECONDARYTEXTSTYLE_HEADER1, SECONDARYTEXTSTYLE_HEADER2, SECONDARYTEXTSTYLE_HEADER3, SECONDARYTEXTSTYLE_HEADER4, SECONDARYTEXTSTYLE_LABEL, SECONDARYTEXTSTYLE_LABELSMALL, SECONDARYTEXTSTYLE_LEGEND, SECONDARYTEXTSTYLE_REFERENCE, SHOW_MAX_NUMBER_OF_CATEGORIES, SHOWCHILDCOUNTSTYLE, SHOWCHILDCOUNTSTYLE_BOTH, SHOWCHILDCOUNTSTYLE_FILES, SHOWCHILDCOUNTSTYLE_FOLDERS, SHOWCHILDCOUNTSTYLE_OFF, SHOWCHILDCOUNTSTYLE_SUM, SHOWRESOURCEPROPERTIESSTYLE, SHOWRESOURCEPROPERTIESSTYLE_ALL, SHOWRESOURCEPROPERTIESSTYLE_OFF, TOOLTIPSTYLE, TOOLTIPSTYLE_OFF, TOOLTIPSTYLE_PATH, TOOLTIPSTYLE_TECHNICAL_NAME, UI_GROUP_FOLDER, UI_GROUP_LINK, UI_GROUP_RESOURCE, UI_RES_RENDERER, VISIBLEPROPERTIES, XMLFORMS_LIST_ITEM_RENDERER
 
Constructor Summary
AbstractResourceRenderer()
          Deprecated. As of NetWeaver 7.1
AbstractResourceRenderer(IProxy proxy, IResource res)
          Deprecated. As of NetWeaver 7.1
 
Method Summary
 String getAlias()
          Deprecated. As of NetWeaver 7.1
protected  String getCustomImage(IPropertyName propertyName)
          Deprecated. As of NetWeaver 7.1
protected  String getDefaultIcon()
          Deprecated. As of NetWeaver 7.1
 IProperty getProperty(IPropertyName name)
          Deprecated. As of NetWeaver 7.1
 Map getPropertyBag()
          Deprecated. As of NetWeaver 7.1
 List getPropertyListByMetaName(IMetaName metaName)
          Deprecated. As of NetWeaver 7.1
protected  IPropertyNameList getPropertyNameList()
          Deprecated. As of NetWeaver 7.1
protected  IResource getResource()
          Deprecated. As of NetWeaver 7.1
 ResourceStateType getResourceState()
          Deprecated. As of NetWeaver 7.1
protected  IPropertyColumn[] getVisibleProperties()
          Deprecated. As of NetWeaver 7.1
protected  void initialize()
          Deprecated. As of NetWeaver 7.1
protected  IResourceRenderer initNewInstance(IResourceRenderer rr)
          Deprecated. As of NetWeaver 7.1
protected  boolean isPreviewEnabled()
          Deprecated. As of NetWeaver 7.1
protected  boolean isVisible()
          Deprecated. As of NetWeaver 7.1
 com.sapportals.htmlb.Component render()
          Deprecated. As of NetWeaver 7.1
 com.sapportals.htmlb.Component render(IProperty property, int linktype)
          Deprecated. As of NetWeaver 7.1
 com.sapportals.htmlb.Component render(IProperty property, String target)
          Deprecated. As of NetWeaver 7.1
 com.sapportals.htmlb.Component render(String displayname, int linktype)
          Deprecated. As of NetWeaver 7.1
 com.sapportals.htmlb.Component renderAction()
          Deprecated. As of NetWeaver 7.1
protected  com.sapportals.htmlb.Component renderContentLink(com.sapportals.htmlb.Component comp)
          Deprecated. As of NetWeaver 7.1
protected  com.sapportals.htmlb.Component renderContentLink(IResource resource, com.sapportals.htmlb.Component comp)
          Deprecated. As of NetWeaver 7.1
protected  com.sapportals.htmlb.Component renderDetailsLink(IResource resource, com.sapportals.htmlb.Component comp)
          Deprecated. As of NetWeaver 7.1
static com.sapportals.htmlb.Component renderEmptyTextView()
          Deprecated. As of NetWeaver 7.1
 com.sapportals.htmlb.Component renderIcon()
          Deprecated. As of NetWeaver 7.1
 com.sapportals.htmlb.Component renderIconContentlink()
          Deprecated. As of NetWeaver 7.1
 com.sapportals.htmlb.Component renderImage()
          Deprecated. As of NetWeaver 7.1
 com.sapportals.htmlb.Component renderImageContentlink()
          Deprecated. As of NetWeaver 7.1
 com.sapportals.htmlb.Component renderMetaProperty(IMetaName metaName, boolean hasContentLink)
          Deprecated. As of NetWeaver 7.1
 void setAlias(String alias)
          Deprecated. As of NetWeaver 7.1
 void setPropertyBag(Map propertyBag)
          Deprecated. As of NetWeaver 7.1
 void setPropertyNameList(IPropertyNameList propnamelist)
          Deprecated. As of NetWeaver 7.1
 void setResource(IResource resource)
          Deprecated. As of NetWeaver 7.1
 void setResourceState(ResourceStateType type)
          Deprecated. As of NetWeaver 7.1
protected  void writeDebugInformation()
          Deprecated. As of NetWeaver 7.1
 
Methods inherited from class com.sapportals.wcm.rendering.base.LayoutObject
get, getBooleanValue, getBooleanValue, getConfiguration, getFlavor, getIntValue, getIntValue, getMultiValueParameter, getNewInstance, getParameter, getParameter, getParameter, getParameter, getParameter, getParameters, getParameters, getProxy, getSupportedParameters, is508enabled, isExactlyValue, isNoOtherValue, parameterNames, parameters, removeParameter, set508enabled, setFlavor, setParameter, setParameter, setParameter, setParameter, setParameter, setParameters, setProxy, setSupportedParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sapportals.wcm.rendering.resource.IResourceRenderer
render
 
Methods inherited from interface com.sapportals.wcm.rendering.base.ILayoutObject
getConfiguration, getFlavor, getNewInstance, getParameter, getParameters, getSupportedParameters, is508enabled, setFlavor, setParameter, setParameters, setProxy
 

Field Detail

NBSP

public static final String NBSP
Deprecated. 
See Also:
Constant Field Values

BLANK

public static final String BLANK
Deprecated. 
See Also:
Constant Field Values

COMMA

public static final String COMMA
Deprecated. 
See Also:
Constant Field Values

CM_RND_ACTION

public static final String CM_RND_ACTION
Deprecated. 
TODO should these constants declared in the IPropertyService???

See Also:
Constant Field Values

CM_RND_DISPLAYNAME

public static final String CM_RND_DISPLAYNAME
Deprecated. 
See Also:
Constant Field Values

CM_RND_ICON

public static final String CM_RND_ICON
Deprecated. 
See Also:
Constant Field Values

CM_RND_IMAGE

public static final String CM_RND_IMAGE
Deprecated. 
See Also:
Constant Field Values

CM_RND_DESCRIPTION

public static final String CM_RND_DESCRIPTION
Deprecated. 
See Also:
Constant Field Values

CM_RND_LOCK

public static final String CM_RND_LOCK
Deprecated. 
See Also:
Constant Field Values

CM_RND_CHILDCOUNT

public static final String CM_RND_CHILDCOUNT
Deprecated. 
See Also:
Constant Field Values

CM_RND_CHILDCOUNT_WITH_BRACKETS

public static final String CM_RND_CHILDCOUNT_WITH_BRACKETS
Deprecated. 
See Also:
Constant Field Values

CM_RND_COLLABORATION_STATUS

public static final String CM_RND_COLLABORATION_STATUS
Deprecated. 
See Also:
Constant Field Values

CM_RND_CONTENT_LINK

public static final String CM_RND_CONTENT_LINK
Deprecated. 
See Also:
Constant Field Values

CM_RND_SUBSCRIPTION

public static final String CM_RND_SUBSCRIPTION
Deprecated. 
See Also:
Constant Field Values

DEFAULT_VISIBLE_PROPERTIES

public static final String DEFAULT_VISIBLE_PROPERTIES
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

AbstractResourceRenderer

public AbstractResourceRenderer(IProxy proxy,
                                IResource res)
Deprecated. As of NetWeaver 7.1

Constructor for the AbstractResourceRenderer object

Parameters:
proxy - Description of the param
res - Description of the param

AbstractResourceRenderer

public AbstractResourceRenderer()
Deprecated. As of NetWeaver 7.1

Constructor for the AbstractResourceRenderer object *

Method Detail

initNewInstance

protected final IResourceRenderer initNewInstance(IResourceRenderer rr)
Deprecated. As of NetWeaver 7.1


getAlias

public final String getAlias()
Deprecated. As of NetWeaver 7.1

implementation of the ILayoutObject-interface ************

Specified by:
getAlias in interface ILayoutObject
Overrides:
getAlias in class LayoutObject
Returns:
The alias value

setAlias

public final void setAlias(String alias)
Deprecated. As of NetWeaver 7.1

Sets the alias attribute of the AbstractResourceRenderer object

Specified by:
setAlias in interface ILayoutObject
Overrides:
setAlias in class LayoutObject
Parameters:
alias - The new alias value

setResourceState

public final void setResourceState(ResourceStateType type)
Deprecated. As of NetWeaver 7.1

implementation of the IResourceRenderer-interface *************

Specified by:
setResourceState in interface IResourceRenderer
Parameters:
type - The new resourceState value

getResourceState

public final ResourceStateType getResourceState()
Deprecated. As of NetWeaver 7.1

Gets the resourceState attribute of the AbstractResourceRenderer object

Specified by:
getResourceState in interface IResourceRenderer
Returns:
The resourceState value

setResource

public final void setResource(IResource resource)
Deprecated. As of NetWeaver 7.1

Sets the resource attribute of the AbstractResourceRenderer object

Specified by:
setResource in interface IResourceRenderer
Parameters:
resource - The new resource value

render

public com.sapportals.htmlb.Component render()
                                      throws WcmException
Deprecated. As of NetWeaver 7.1

Description copied from interface: IResourceRenderer
renders the current IResource depending on the configuration available for this resource and on the implementation of the rendering class. This might lead to very different layouts and available functionality. If a calling class (e.g. an ICollectionRenderer requires a more uniform rendering, it can call the different render-methods that allow the rendering of single attributes of the current IResource .

Specified by:
render in interface IResourceRenderer
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception TODO should all of these methods be removed?

render

public com.sapportals.htmlb.Component render(IProperty property,
                                             int linktype)
                                      throws WcmException
Deprecated. As of NetWeaver 7.1

Description of the Method

Specified by:
render in interface IResourceRenderer
Parameters:
property - Description of the param
linktype - Description of the param
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception

render

public com.sapportals.htmlb.Component render(String displayname,
                                             int linktype)
                                      throws WcmException
Deprecated. As of NetWeaver 7.1

Description of the Method

Specified by:
render in interface IResourceRenderer
Parameters:
displayname - Description of the param
linktype - Description of the param
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception

render

public com.sapportals.htmlb.Component render(IProperty property,
                                             String target)
                                      throws WcmException
Deprecated. As of NetWeaver 7.1

Description of the Method

Specified by:
render in interface IResourceRenderer
Parameters:
property - Description of the param
target - Description of the param
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception

renderAction

public com.sapportals.htmlb.Component renderAction()
                                            throws WcmException
Deprecated. As of NetWeaver 7.1

Description of the Method

Specified by:
renderAction in interface IResourceRenderer
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception

renderIcon

public com.sapportals.htmlb.Component renderIcon()
                                          throws WcmException
Deprecated. As of NetWeaver 7.1

Description of the Method

Specified by:
renderIcon in interface IResourceRenderer
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception

renderIconContentlink

public com.sapportals.htmlb.Component renderIconContentlink()
                                                     throws WcmException
Deprecated. As of NetWeaver 7.1

Description of the Method

Specified by:
renderIconContentlink in interface IResourceRenderer
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception

renderImage

public com.sapportals.htmlb.Component renderImage()
                                           throws WcmException
Deprecated. As of NetWeaver 7.1

Description of the Method

Specified by:
renderImage in interface IResourceRenderer
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception

renderImageContentlink

public com.sapportals.htmlb.Component renderImageContentlink()
                                                      throws WcmException
Deprecated. As of NetWeaver 7.1

Description of the Method

Specified by:
renderImageContentlink in interface IResourceRenderer
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception

setPropertyNameList

public final void setPropertyNameList(IPropertyNameList propnamelist)
Deprecated. As of NetWeaver 7.1

Sets the propertyNameList attribute of the AbstractResourceRenderer object

Specified by:
setPropertyNameList in interface IResourceRenderer
Parameters:
propnamelist - The new propertyNameList value

initialize

protected void initialize()
Deprecated. As of NetWeaver 7.1

This method is called by the constructor. It is supposed to initialize the list of parameters, that the renderer understands and uses to modify the result of its render methods. If this method is not overwritten by the extending class, no parameters will be passed to this class and its behavior remains unchanged regardless of settings done for this resource (e.g. in iView settings)


getResource

protected final IResource getResource()
Deprecated. As of NetWeaver 7.1

Returns:
the value of the member variable.

getPropertyNameList

protected final IPropertyNameList getPropertyNameList()
Deprecated. As of NetWeaver 7.1

Returns:
the value of the member variable.

getDefaultIcon

protected final String getDefaultIcon()
                               throws WcmException
Deprecated. As of NetWeaver 7.1

Returns:
the complete path to the default icon for the current resource.
Throws:
WcmException - Description of the Exception
WdfException, - that holds the WcmException thrown in the called framework methods.

renderContentLink

protected com.sapportals.htmlb.Component renderContentLink(IResource resource,
                                                           com.sapportals.htmlb.Component comp)
                                                    throws WcmException
Deprecated. As of NetWeaver 7.1

creates a link to show the content of the given resource. If the resource is an ICollection, the link will navigate into the contents of this collection. If a preview control is available, the link will trigger an eent to display the contents in this control. Otherwise, the resource will be displayed in a new browser window. If a WcmException is thrown while execution, the given Component will be returned without a link.

Parameters:
comp - Description of the param
resource - Description of the param
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception

renderContentLink

protected com.sapportals.htmlb.Component renderContentLink(com.sapportals.htmlb.Component comp)
                                                    throws WcmException
Deprecated. As of NetWeaver 7.1

creates a link to show the content of the given resource. If the resource is an ICollection, the link will navigate into the contents of this collection. If a preview control is available, the link will trigger an eent to display the contents in this control. Otherwise, the resource will be displayed in a new browser window. If a WcmException is thrown while execution, the given Component will be returned without a link.

Parameters:
comp - Description of the param
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception

renderDetailsLink

protected com.sapportals.htmlb.Component renderDetailsLink(IResource resource,
                                                           com.sapportals.htmlb.Component comp)
                                                    throws WcmException
Deprecated. As of NetWeaver 7.1

Parameters:
resource - Description of the param
comp - Description of the param
Returns:
a link to the details-iView of the given IResource . This link will open a new browser-window. It uses the RendererResourceLink to calculate the link-reference
Throws:
WcmException - Description of the Exception

renderEmptyTextView

public static com.sapportals.htmlb.Component renderEmptyTextView()
Deprecated. As of NetWeaver 7.1

can be used by methods that cannot render their result (e.g. because of exceptions or missing/invalid parameters) and cannot return null .

Returns:
an invisible piece of html.

isVisible

protected final boolean isVisible()
Deprecated. As of NetWeaver 7.1

Returns:
The visible value TODO do we need this?

getCustomImage

protected final String getCustomImage(IPropertyName propertyName)
                               throws WcmException
Deprecated. As of NetWeaver 7.1

returns the complete path to access the custom image-file specified for the current IResource of the renderer. If none is specified or if an exception occurs, the method returns null. If an exception occurs, the default-icon is returned. The caught exception WcmException is self-logging, so no logging is needed. Please note, that a user with missing permissions will not be able to retrieve the custom image and therefore the default image is returned, although a custom image is defined for the resource.

Parameters:
propertyName - Description of the param
Returns:
The customImage value
Throws:
WcmException - Description of the Exception
WdfException - If also the default icon is not available

getVisibleProperties

protected final IPropertyColumn[] getVisibleProperties()
Deprecated. As of NetWeaver 7.1

Returns:
an IPropertyColumn[] that is created out of the information from the IParameters set for this renderer. Might return null

isPreviewEnabled

protected boolean isPreviewEnabled()
Deprecated. As of NetWeaver 7.1

checks, if the current ui implements functionality to preview a resource. This depends on the mimetype of the current resource and the current ILayoutController

Returns:
The previewEnabled value

writeDebugInformation

protected final void writeDebugInformation()
Deprecated. As of NetWeaver 7.1


renderMetaProperty

public com.sapportals.htmlb.Component renderMetaProperty(IMetaName metaName,
                                                         boolean hasContentLink)
                                                  throws WcmException
Deprecated. As of NetWeaver 7.1

Description of the Method

Specified by:
renderMetaProperty in interface IResourceRenderer
Parameters:
metaName - Description of the param
hasContentLink - Description of the param
Returns:
Description of the Return Value
Throws:
WcmException - Description of the Exception

getProperty

public IProperty getProperty(IPropertyName name)
                      throws WcmException
Deprecated. As of NetWeaver 7.1

Gets the property attribute of the AbstractResourceRenderer object

Parameters:
name - Description of the param
Returns:
The property value
Throws:
WcmException - Exception raised in failure situation

getPropertyListByMetaName

public List getPropertyListByMetaName(IMetaName metaName)
                               throws WcmException
Deprecated. As of NetWeaver 7.1

Gets the propertyListByMetaName attribute of the AbstractResourceRenderer object

Parameters:
metaName - Description of the param
Returns:
The propertyListByMetaName value
Throws:
WcmException - Exception raised in failure situation

getPropertyBag

public Map getPropertyBag()
Deprecated. As of NetWeaver 7.1

Specified by:
getPropertyBag in interface IResourceRenderer
Returns:
Returns a property bag for a resource contained in the list. Returns null if the specified resource is not contained in the list or no property bag is associated with the resource.

setPropertyBag

public void setPropertyBag(Map propertyBag)
                    throws WcmException
Deprecated. As of NetWeaver 7.1

Set a property bag for the resource.

Specified by:
setPropertyBag in interface IResourceRenderer
Parameters:
propertyBag - Properties to store.
Throws:
WcmException - If the specified resource is not contained in the list.
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice