001
014
015 package com.liferay.taglib.ui;
016
017 import com.liferay.taglib.util.IncludeTag;
018
019 import java.util.Map;
020
021 import javax.servlet.http.HttpServletRequest;
022
023
028 @Deprecated
029 public class AppViewNavigationEntryTag extends IncludeTag {
030
031 @Override
032 public int doStartTag() {
033 return EVAL_BODY_INCLUDE;
034 }
035
036 public void setActionJsp(String actionJsp) {
037 _actionJsp = actionJsp;
038 }
039
040 public void setCssClass(String cssClass) {
041 _cssClass = cssClass;
042 }
043
044 public void setDataView(Map<String, Object> dataView) {
045 _dataView = dataView;
046 }
047
048 public void setEntryTitle(String entryTitle) {
049 _entryTitle = entryTitle;
050 }
051
052 public void setIconImage(String iconImage) {
053 _iconImage = iconImage;
054 }
055
056 public void setIconSrc(String iconSrc) {
057 _iconSrc = iconSrc;
058 }
059
060 public void setSelected(boolean selected) {
061 _selected = selected;
062 }
063
064 public void setViewURL(String viewURL) {
065 _viewURL = viewURL;
066 }
067
068 @Override
069 protected void cleanUp() {
070 _actionJsp = null;
071 _cssClass = "folder";
072 _dataView = null;
073 _entryTitle = null;
074 _iconImage = null;
075 _iconSrc = null;
076 _selected = false;
077 _viewURL = null;
078 }
079
080 @Override
081 protected String getPage() {
082 return _PAGE;
083 }
084
085 @Override
086 protected boolean isCleanUpSetAttributes() {
087 return _CLEAN_UP_SET_ATTRIBUTES;
088 }
089
090 @Override
091 protected void setAttributes(HttpServletRequest request) {
092 request.setAttribute(
093 "liferay-ui:app-view-navigation-entry:actionJsp", _actionJsp);
094 request.setAttribute(
095 "liferay-ui:app-view-navigation-entry:cssClass", _cssClass);
096 request.setAttribute(
097 "liferay-ui:app-view-navigation-entry:dataView", _dataView);
098 request.setAttribute(
099 "liferay-ui:app-view-navigation-entry:entryTitle", _entryTitle);
100 request.setAttribute(
101 "liferay-ui:app-view-navigation-entry:iconImage", _iconImage);
102 request.setAttribute(
103 "liferay-ui:app-view-navigation-entry:iconSrc", _iconSrc);
104 request.setAttribute(
105 "liferay-ui:app-view-navigation-entry:selected", _selected);
106 request.setAttribute(
107 "liferay-ui:app-view-navigation-entry:viewURL", _viewURL);
108 }
109
110 private static final boolean _CLEAN_UP_SET_ATTRIBUTES = true;
111
112 private static final String _PAGE =
113 "/html/taglib/ui/app_view_navigation_entry/page.jsp";
114
115 private String _actionJsp;
116 private String _cssClass = "folder";
117 private Map<String, Object> _dataView;
118 private String _entryTitle;
119 private String _iconImage;
120 private String _iconSrc;
121 private boolean _selected;
122 private String _viewURL;
123
124 }