Package com.jalios.jcms.taglib
Class CaddyTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.jalios.jcms.taglib.CaddyTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class CaddyTag extends javax.servlet.jsp.tagext.TagSupport
This tag prints the caddy icon for the givenPublication
,Data
or query.- Version:
- $Revision: 135164 $
- Author:
- Olivier Dedieu
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REVISION
-
Constructor Summary
Constructors Constructor Description CaddyTag()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clean()
int
doEndTag()
int
doStartTag()
static void
getCaddyIcon(java.lang.StringBuffer out, java.lang.String contextPath, java.lang.String userLang, java.lang.String action, java.lang.String css, java.lang.String icon, java.lang.String iconOut, java.lang.String titleAddProp, java.lang.String titleRemoveProp, java.lang.String titleReplaceProp, java.lang.String urlParams, boolean switchOnClick, boolean isRemoving, boolean displayLinkText)
static void
getCaddyIcon(java.lang.StringBuffer out, java.lang.String contextPath, java.lang.String userLang, java.lang.String action, java.lang.String css, java.lang.String icon, java.lang.String iconOut, java.lang.String titleAddProp, java.lang.String titleRemoveProp, java.lang.String titleReplaceProp, java.lang.String urlParams, boolean switchOnClick, boolean isRemoving, boolean displayLinkText, boolean displayTitle)
static void
getDataCaddyIcon(java.lang.StringBuffer out, Data data, java.lang.String contextPath, java.lang.String userLang, java.lang.String action, java.lang.String css, boolean displayLinkText, Caddy caddy)
static void
getDataCaddyIcon(java.lang.StringBuffer out, Data data, java.lang.String contextPath, java.lang.String userLang, java.lang.String action, java.lang.String css, boolean displayLinkText, Caddy caddy, boolean displayTitle)
boolean
isAccessGranted(javax.servlet.http.HttpServletRequest request)
void
setAction(java.lang.String v)
void
setAllMemberQueryString(java.lang.String query)
void
setCheckPstatus(boolean b)
void
setCollection(java.util.Collection<? extends Data> coll)
void
setCss(java.lang.String css)
void
setData(Data data)
void
setDbMemberQueryString(java.lang.String query)
void
setDisplayLinkText(boolean b)
void
setDisplayTitle(boolean displayTitle)
void
setGroupQueryString(java.lang.String query)
void
setIcon(java.lang.String icon)
void
setIconOut(java.lang.String iconOut)
void
setMemberQueryString(java.lang.String query)
void
setPub(Publication pub)
void
setQueryString(java.lang.String query)
void
setShowAllMedia(boolean b)
void
setWorkspaceQueryString(java.lang.String query)
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setData
public void setData(Data data)
-
setPub
public void setPub(Publication pub)
-
setCollection
public void setCollection(java.util.Collection<? extends Data> coll)
-
setQueryString
public void setQueryString(java.lang.String query)
-
setGroupQueryString
public void setGroupQueryString(java.lang.String query)
-
setMemberQueryString
public void setMemberQueryString(java.lang.String query)
-
setDbMemberQueryString
public void setDbMemberQueryString(java.lang.String query)
-
setAllMemberQueryString
public void setAllMemberQueryString(java.lang.String query)
-
setWorkspaceQueryString
public void setWorkspaceQueryString(java.lang.String query)
-
setCheckPstatus
public void setCheckPstatus(boolean b)
-
setShowAllMedia
public void setShowAllMedia(boolean b)
-
setAction
public void setAction(java.lang.String v)
-
setIcon
public void setIcon(java.lang.String icon)
-
setIconOut
public void setIconOut(java.lang.String iconOut)
-
setCss
public void setCss(java.lang.String css)
-
setDisplayLinkText
public void setDisplayLinkText(boolean b)
-
setDisplayTitle
public void setDisplayTitle(boolean displayTitle)
-
isAccessGranted
public boolean isAccessGranted(javax.servlet.http.HttpServletRequest request)
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
-
clean
protected void clean()
-
doEndTag
public int doEndTag()
- Specified by:
doEndTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in classjavax.servlet.jsp.tagext.TagSupport
-
getDataCaddyIcon
public static void getDataCaddyIcon(java.lang.StringBuffer out, Data data, java.lang.String contextPath, java.lang.String userLang, java.lang.String action, java.lang.String css, boolean displayLinkText, Caddy caddy)
-
getDataCaddyIcon
public static void getDataCaddyIcon(java.lang.StringBuffer out, Data data, java.lang.String contextPath, java.lang.String userLang, java.lang.String action, java.lang.String css, boolean displayLinkText, Caddy caddy, boolean displayTitle)
-
getCaddyIcon
public static void getCaddyIcon(java.lang.StringBuffer out, java.lang.String contextPath, java.lang.String userLang, java.lang.String action, java.lang.String css, java.lang.String icon, java.lang.String iconOut, java.lang.String titleAddProp, java.lang.String titleRemoveProp, java.lang.String titleReplaceProp, java.lang.String urlParams, boolean switchOnClick, boolean isRemoving, boolean displayLinkText)
-
getCaddyIcon
public static void getCaddyIcon(java.lang.StringBuffer out, java.lang.String contextPath, java.lang.String userLang, java.lang.String action, java.lang.String css, java.lang.String icon, java.lang.String iconOut, java.lang.String titleAddProp, java.lang.String titleRemoveProp, java.lang.String titleReplaceProp, java.lang.String urlParams, boolean switchOnClick, boolean isRemoving, boolean displayLinkText, boolean displayTitle)
-
-