📄 turbinepermission.html
字号:
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.apache.turbine.om.security.SecurityEntity"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface org.apache.turbine.om.security.<A HREF="../../../../../org/apache/turbine/om/security/SecurityEntity.html">SecurityEntity</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/apache/turbine/om/security/SecurityEntity.html#getName()">getName</A>, <A HREF="../../../../../org/apache/turbine/om/security/SecurityEntity.html#setName(java.lang.String)">setName</A></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="TurbinePermission()"><!-- --></A><H3>TurbinePermission</H3><PRE>public <B>TurbinePermission</B>()</PRE><DL><DD>Constructs a new TurbinePermission.</DL><HR><A NAME="TurbinePermission(java.lang.String)"><!-- --></A><H3>TurbinePermission</H3><PRE>public <B>TurbinePermission</B>(java.lang.String name)</PRE><DL><DD>Constructs a new TurbinePermission with the sepcified name.<DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the new 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="create(java.lang.String)"><!-- --></A><H3>create</H3><PRE>public static <A HREF="../../../../../org/apache/turbine/om/security/Permission.html">Permission</A> <B>create</B>(java.lang.String name) throws <A HREF="../../../../../org/apache/turbine/util/security/TurbineSecurityException.html">TurbineSecurityException</A></PRE><DL><DD><B>Deprecated.</B> <I>Please use the createPermission method in TurbineSecurity.</I><P><DD>Creates a new Permission in the system.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the new Permission.<DT><B>Returns:</B><DD>An object representing the new Permission.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../org/apache/turbine/util/security/TurbineSecurityException.html">TurbineSecurityException</A></CODE> - if the Permission could not be created.</DL></DD></DL><HR><A NAME="save()"><!-- --></A><H3>save</H3><PRE>public void <B>save</B>() throws <A HREF="../../../../../org/apache/turbine/util/security/TurbineSecurityException.html">TurbineSecurityException</A></PRE><DL><DD>Makes changes made to the Permission attributes permanent.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/turbine/om/security/Permission.html#save()">save</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/turbine/om/security/Permission.html">Permission</A></CODE><DT><B>Overrides:</B><DD><CODE>save</CODE> in class <CODE>org.apache.torque.om.BaseObject</CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../../org/apache/turbine/util/security/TurbineSecurityException.html">TurbineSecurityException</A></CODE> - if there is a problem while saving data.</DL></DD></DL><HR><A NAME="save(java.sql.Connection)"><!-- --></A><H3>save</H3><PRE>public void <B>save</B>(java.sql.Connection conn) throws java.lang.Exception</PRE><DL><DD>not implemented<DD><DL><DT><B>Overrides:</B><DD><CODE>save</CODE> in class <CODE>org.apache.torque.om.BaseObject</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>conn</CODE> - <DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - </DL></DD></DL><HR><A NAME="save(java.lang.String)"><!-- --></A><H3>save</H3><PRE>public void <B>save</B>(java.lang.String dbname) throws java.lang.Exception</PRE><DL><DD>not implemented<DD><DL><DT><B>Overrides:</B><DD><CODE>save</CODE> in class <CODE>org.apache.torque.om.BaseObject</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dbname</CODE> - <DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - </DL></DD></DL><HR><A NAME="remove()"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>() throws <A HREF="../../../../../org/apache/turbine/util/security/TurbineSecurityException.html">TurbineSecurityException</A></PRE><DL><DD>Removes a permission from the system.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/turbine/om/security/Permission.html#remove()">remove</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/turbine/om/security/Permission.html">Permission</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../../org/apache/turbine/util/security/TurbineSecurityException.html">TurbineSecurityException</A></CODE> - if the Permission could not be removed.</DL></DD></DL><HR><A NAME="rename(java.lang.String)"><!-- --></A><H3>rename</H3><PRE>public void <B>rename</B>(java.lang.String name) throws <A HREF="../../../../../org/apache/turbine/util/security/TurbineSecurityException.html">TurbineSecurityException</A></PRE><DL><DD>Renames the permission.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/turbine/om/security/Permission.html#rename(java.lang.String)">rename</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/turbine/om/security/Permission.html">Permission</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The new Permission name.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../../org/apache/turbine/util/security/TurbineSecurityException.html">TurbineSecurityException</A></CODE> - if the Permission could not be renamed.</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/TurbinePermission.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/om/security/TurbineGroup.html"><B>PREV CLASS</B></A> <A HREF="../../../../../org/apache/turbine/om/security/TurbineRole.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="TurbinePermission.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#fields_inherited_from_class_org.apache.torque.om.BaseObject">FIELD</A> | <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 + -