📄 templatesecuritycheck.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="TemplateSecurityCheck(org.apache.turbine.util.RunData, java.lang.String)"><!-- --></A><H3>TemplateSecurityCheck</H3><PRE>public <B>TemplateSecurityCheck</B>(<A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A> data, java.lang.String message)</PRE><DL><DD>Constructor.<DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - A Turbine RunData object.<DD><CODE>message</CODE> - A String with the message to display upon failure.</DL></DD></DL><HR><A NAME="TemplateSecurityCheck(org.apache.turbine.util.RunData)"><!-- --></A><H3>TemplateSecurityCheck</H3><PRE>public <B>TemplateSecurityCheck</B>(<A HREF="../../../../../org/apache/turbine/util/RunData.html">RunData</A> data)</PRE><DL><DD>Generic Constructor.<DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - A Turbine RunData object.</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="hasRole(org.apache.turbine.om.security.Role)"><!-- --></A><H3>hasRole</H3><PRE>public boolean <B>hasRole</B>(<A HREF="../../../../../org/apache/turbine/om/security/Role.html">Role</A> role) throws java.lang.Exception</PRE><DL><DD>Does the User have this role?<DD><DL><DT><B>Parameters:</B><DD><CODE>role</CODE> - The role to be checked.<DT><B>Returns:</B><DD>Whether the user has the role.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - Trouble validating.</DL></DD></DL><HR><A NAME="hasPermission(org.apache.turbine.om.security.Permission)"><!-- --></A><H3>hasPermission</H3><PRE>public boolean <B>hasPermission</B>(<A HREF="../../../../../org/apache/turbine/om/security/Permission.html">Permission</A> permission) throws java.lang.Exception</PRE><DL><DD>Does the User have this permission?<DD><DL><DT><B>Parameters:</B><DD><CODE>permission</CODE> - The permission to be checked.<DT><B>Returns:</B><DD>Whether the user has the permission.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - Trouble validating.</DL></DD></DL><HR><A NAME="checkLogin()"><!-- --></A><H3>checkLogin</H3><PRE>public boolean <B>checkLogin</B>() throws java.lang.Exception</PRE><DL><DD>Check that the user has logged in.<DD><DL><DT><B>Returns:</B><DD>True if user has logged in.<DT><B>Throws:</B><DD><CODE>Exception,</CODE> - a generic exception.</DL></DD></DL><HR><A NAME="setMessage(java.lang.String)"><!-- --></A><H3>setMessage</H3><PRE>public void <B>setMessage</B>(java.lang.String v)</PRE><DL><DD>Set the message that should be displayed. This is initialized in the constructor.<DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - A String with the message that should be displayed.</DL></DD></DL><HR><A NAME="getMessage()"><!-- --></A><H3>getMessage</H3><PRE>public java.lang.String <B>getMessage</B>()</PRE><DL><DD>Get the message that should be displayed. This is initialized in the constructor.<DD><DL><DT><B>Returns:</B><DD>A String with the message that should be displayed.</DL></DD></DL><HR><A NAME="getFailScreen()"><!-- --></A><H3>getFailScreen</H3><PRE>public java.lang.String <B>getFailScreen</B>()</PRE><DL><DD>Get the value of failScreen.<DD><DL><DT><B>Returns:</B><DD>A String with the value of failScreen.</DL></DD></DL><HR><A NAME="setFailScreen(java.lang.String)"><!-- --></A><H3>setFailScreen</H3><PRE>public void <B>setFailScreen</B>(java.lang.String v)</PRE><DL><DD>Set the value of failScreen.<DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - A String with the value of failScreen.</DL></DD></DL><HR><A NAME="getFailTemplate()"><!-- --></A><H3>getFailTemplate</H3><PRE>public java.lang.String <B>getFailTemplate</B>()</PRE><DL><DD>Get the value of failTemplate.<DD><DL><DT><B>Returns:</B><DD>A String with the value of failTemplate.</DL></DD></DL><HR><A NAME="setFailTemplate(java.lang.String)"><!-- --></A><H3>setFailTemplate</H3><PRE>public void <B>setFailTemplate</B>(java.lang.String v)</PRE><DL><DD>Set the value of failTemplate.<DD><DL><DT><B>Parameters:</B><DD><CODE>v</CODE> - A String with the value of failTemplate.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TemplateSecurityCheck.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../org/apache/turbine/util/template/TemplateScreen.html"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="TemplateSecurityCheck.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR>Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -