@Deprecated public class XSLTBasedUIEnabledHandler extends UIEnabledHandler
Modifier and Type | Field and Description |
---|---|
protected List<String> |
browseViews
Deprecated.
|
protected Map<String,String> |
browseXSLTs
Deprecated.
|
protected List<String> |
editViews
Deprecated.
|
protected Map<String,String> |
editXSLTs
Deprecated.
|
protected Map<String,String> |
newHTMLs
Deprecated.
|
protected List<String> |
newViews
Deprecated.
|
Constructor and Description |
---|
XSLTBasedUIEnabledHandler()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Resource |
getBrowseView(String viewKey,
RequestContext requestContext)
Deprecated.
Implementations of this method should generate a HTML UI for rendering the resource content
and set it as the content of the returned resource.
|
String[] |
getBrowseViews()
Deprecated.
Implementations have to implement this, if they provide more than one browse view.
|
Resource |
getEditView(String editViewKey,
RequestContext requestContext)
Deprecated.
Implementations of this method should generate a HTML UI for editing the resource content and
set it as the content of the returned resource.
|
String[] |
getEditViews()
Deprecated.
Implementations have to implement this, if they provide more than edit browse view.
|
Resource |
getNewView(String newViewKey,
RequestContext requestContext)
Deprecated.
Implementations of this method should generate a HTML UI for creating a new resource content
and set it as the content of the returned resource.
|
String[] |
getNewViews()
Deprecated.
Implementations have to implement this, if they provide more than one new view.
|
void |
setBrowseXSLT(org.apache.axiom.om.OMElement browseElement)
Deprecated.
|
void |
setEditXSLT(org.apache.axiom.om.OMElement editElement)
Deprecated.
|
void |
setNewHTML(org.apache.axiom.om.OMElement newElement)
Deprecated.
|
get, getDefaultBrowseView, getDefaultEditView, getDefaultNewView, getRawResource, setDefaultBrowseView, setDefaultEditView, setDefaultNewView
addAssociation, addComment, applyTag, copy, createLink, createVersion, delete, dump, dumpLite, editComment, equals, executeQuery, getAllAssociations, getAssociations, getAverageRating, getComments, getRating, getRegistryContext, getResourcePathsWithTag, getTags, getVersions, hashCode, importChild, importResource, invokeAspect, move, put, putChild, rateResource, removeAssociation, removeComment, removeLink, removeTag, rename, resourceExists, restore, restoreVersion, searchContent
public void setBrowseXSLT(org.apache.axiom.om.OMElement browseElement) throws RegistryException
RegistryException
public void setEditXSLT(org.apache.axiom.om.OMElement editElement) throws RegistryException
RegistryException
public void setNewHTML(org.apache.axiom.om.OMElement newElement) throws RegistryException
RegistryException
public String[] getBrowseViews()
UIEnabledHandler
getBrowseViews
in class UIEnabledHandler
public String[] getEditViews()
UIEnabledHandler
UIEnabledHandler.getBrowseViews()
method.getEditViews
in class UIEnabledHandler
public String[] getNewViews()
UIEnabledHandler
UIEnabledHandler.getBrowseViews()
method.getNewViews
in class UIEnabledHandler
public Resource getBrowseView(String viewKey, RequestContext requestContext) throws RegistryException
UIEnabledHandler
getBrowseView
in class UIEnabledHandler
viewKey
- UI key of the browse UI.requestContext
- Details of the request.RegistryException
- if an error occurs while getting the browse view.public Resource getEditView(String editViewKey, RequestContext requestContext) throws RegistryException
UIEnabledHandler
getEditView
in class UIEnabledHandler
editViewKey
- UI key of the edit UI.requestContext
- Details of the request.RegistryException
- if an error occurs while getting the edit view.public Resource getNewView(String newViewKey, RequestContext requestContext) throws RegistryException
UIEnabledHandler
getNewView
in class UIEnabledHandler
newViewKey
- UI key of the new resource UI.requestContext
- Details of the request.RegistryException
- if an error occurs while getting the new view.Copyright © 2015 WSO2 Inc. All Rights Reserved.