|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.core.jdbc.handlers.Handler
org.wso2.carbon.registry.core.jdbc.handlers.UIEnabledHandler
org.wso2.carbon.registry.core.jdbc.handlers.XSLTBasedUIEnabledHandler
@Deprecated public class XSLTBasedUIEnabledHandler
Field Summary | |
---|---|
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 Summary | |
---|---|
XSLTBasedUIEnabledHandler()
Deprecated. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.wso2.carbon.registry.core.jdbc.handlers.UIEnabledHandler |
---|
get, getDefaultBrowseView, getDefaultEditView, getDefaultNewView, getRawResource, setDefaultBrowseView, setDefaultEditView, setDefaultNewView |
Methods inherited from class org.wso2.carbon.registry.core.jdbc.handlers.Handler |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map<String,String> browseXSLTs
protected Map<String,String> editXSLTs
protected Map<String,String> newHTMLs
protected List<String> browseViews
protected List<String> editViews
protected List<String> newViews
Constructor Detail |
---|
public XSLTBasedUIEnabledHandler()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |