⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 alsbimportoperation.html

📁 一个实用的java源程序
💻 HTML
📖 第 1 页 / 共 3 页
字号:

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Marks the operation so that the resource is deleted.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.html#setPreserveExistingAccessControlPolicies(boolean)">setPreserveExistingAccessControlPolicies</A></B>(boolean&nbsp;preserveExistingAccessControlPolicies)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.html#setPreserveExistingCredentials(boolean)">setPreserveExistingCredentials</A></B>(boolean&nbsp;preserveExistingCredentials)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.html#setPreserveExistingEnvValues(boolean)">setPreserveExistingEnvValues</A></B>(boolean&nbsp;preserveExistingEnvValues)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.html#setPreserveExistingOperationalValues(boolean)">setPreserveExistingOperationalValues</A></B>(boolean&nbsp;preserveExistingOperationalValues)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.html#setPreserveExistingSecurityAndPolicyConfig(boolean)">setPreserveExistingSecurityAndPolicyConfig</A></B>(boolean&nbsp;preserveExistingSecurityAndPolicyConfig)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.html#setSkip()">setSkip</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Changes the existing operation to a skip so that the operation is not performed.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="ALSBImportOperation(com.bea.wli.config.Ref, com.bea.wli.sb.management.importexport.ALSBImportOperation.Operation, boolean, boolean)"><!-- --></A><H3>
ALSBImportOperation</H3>
<PRE>
public <B>ALSBImportOperation</B>(<A HREF="../../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>&nbsp;ref,
                           <A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html" title="enum in com.bea.wli.sb.management.importexport">ALSBImportOperation.Operation</A>&nbsp;operation,
                           boolean&nbsp;preserveExistingEnvValues,
                           boolean&nbsp;preserveExistingOperationalValues)</PRE>
<DL>
<DD>Constructor
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>ref</CODE> - reference to the resource that is being considered      by the import process.<DD><CODE>operation</CODE> - The operation that will be performed on the      resource. The operation can be <A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html#Skip"><CODE>ALSBImportOperation.Operation.Skip</CODE></A>      indicating that the resource will not be affected by import.      A value of <A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html#Delete"><CODE>ALSBImportOperation.Operation.Delete</CODE></A> causes the existing      resource will be deleted. This operation is only meaningful      if a resource exists in the domain but not in the jar file.      Using a delete operation in any other scenario will cause      an exception during the import.      The users of this constructor can use <A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html#Create"><CODE>ALSBImportOperation.Operation.Create</CODE></A>      and <A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html#Update"><CODE>ALSBImportOperation.Operation.Update</CODE></A> interchangeably to indicate that      the resource will be imported from the jar file. The underlying system will      correctly perform either Create or Update depending on      whether the resource exists in the domain or not. In other words      the users need not distinguish between the case in which      a resource already exists in the domain, and not exist in the domain.<DD><CODE>preserveExistingEnvValues</CODE> - whether to preserve the existing      environment values of the existing resource, if any. This      flag is only meaningful if the import operation is going to      cause an update of a resource. If this flag is set to true,      the existing resource will be update with the resource in      the jar file, except that it will preserve the environment      specific values.<DD><CODE>preserveExistingOperationalValues</CODE> - whether to preserve the existing      operational values of the existing resource, if any. This      flag is only meaningful if the import operation is going to      cause an update of a resource. If this flag is set to true,      the existing resource will be update with the resource in      the jar file, except that it will preserve the operational      values.</DL>
</DL>
<HR>

<A NAME="ALSBImportOperation(com.bea.wli.config.Ref, com.bea.wli.sb.management.importexport.ALSBImportOperation.Operation, boolean, boolean, boolean, boolean, boolean)"><!-- --></A><H3>
ALSBImportOperation</H3>
<PRE>
public <B>ALSBImportOperation</B>(<A HREF="../../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A>&nbsp;ref,
                           <A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html" title="enum in com.bea.wli.sb.management.importexport">ALSBImportOperation.Operation</A>&nbsp;operation,
                           boolean&nbsp;preserveExistingEnvValues,
                           boolean&nbsp;preserveExistingOperationalValues,
                           boolean&nbsp;preserveExistingSecurityAndPolicyConfig,
                           boolean&nbsp;preserveExistingCredentials,
                           boolean&nbsp;preserveExistingAccessControlPolicies)</PRE>
<DL>
<DD>Constructor
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>ref</CODE> - reference to the resource that is being considered      by the import process.<DD><CODE>operation</CODE> - The operation that will be performed on the      resource. The operation can be <A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html#Skip"><CODE>ALSBImportOperation.Operation.Skip</CODE></A>      indicating that the resource will not be affected by import.      A value of <A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html#Delete"><CODE>ALSBImportOperation.Operation.Delete</CODE></A> causes the existing      resource will be deleted. This operation is only meaningful      if a resource exists in the domain but not in the jar file.      Using a delete operation in any other scenario will cause      an exception during the import.      The users of this constructor can use <A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html#Create"><CODE>ALSBImportOperation.Operation.Create</CODE></A>      and <A HREF="../../../../../../com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html#Update"><CODE>ALSBImportOperation.Operation.Update</CODE></A> interchangeably to indicate that      the resource will be imported from the jar file. The underlying system will      correctly perform either Create or Update depending on      whether the resource exists in the domain or not. In other words      the users need not distinguish between the case in which      a resource already exists in the domain, and not exist in the domain.<DD><CODE>preserveExistingEnvValues</CODE> - whether to preserve the existing      environment values of the existing resource, if any. This      flag is only meaningful if the import operation is going to      cause an update of a resource. If this flag is set to true,      the existing resource will be update with the resource in      the jar file, except that it will preserve the environment      specific values.<DD><CODE>preserveExistingOperationalValues</CODE> - whether to preserve the existing      operational values of the existing resource, if any. This      flag is only meaningful if the import operation is going to      cause an update of a resource. If this flag is set to true,      the existing resource will be update with the resource in      the jar file, except that it will preserve the operational      values.<DD><CODE>preserveExistingSecurityAndPolicyConfig</CODE> - whether to preserve the existing      security and policy configuration of the existing resource, if any. This      flag is only meaningful if the import operation is going to      cause an update of a resource. If this flag is set to true,      the existing resource will be update with the resource in      the jar file, except that it will preserve the security and      policy configuration.<DD><CODE>preserveExistingCredentials</CODE> - whether to preserve the existing      credentials of the existing resource, if any. This      flag is only meaningful if the import operation is going to      cause an update of a resource. If this flag is set to true,      the existing resource will be update with the resource in      the jar file, except that it will preserve the resource credentials.<DD><CODE>preserveExistingAccessControlPolicies</CODE> - whether to preserve the existing      access control policies of the existing resource, if any. This      flag is only meaningful if the import operation is going to      cause an update of a resource. If this flag is set to true,      the existing resource will be update with the resource in      the jar file, except that it will preserve the access control      policies.</DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getRef()"><!-- --></A><H3>
getRef</H3>
<PRE>
public <A HREF="../../../../../../com/bea/wli/config/Ref.html" title="class in com.bea.wli.config">Ref</A> <B>getRef</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the reference to the resource that is being created, updated, deleted or skipped by the import</DL>
</DD>
</DL>
<HR>

<A NAME="isPreserveExistingEnvValues()"><!-- --></A><H3>
isPreserveExistingEnvValues</H3>
<PRE>
public boolean <B>isPreserveExistingEnvValues</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>whether existing environment values will be preserved in the case of an update.</DL>
</DD>
</DL>
<HR>

<A NAME="setPreserveExistingEnvValues(boolean)"><!-- --></A><H3>
setPreserveExistingEnvValues</H3>
<PRE>
public void <B>setPreserveExistingEnvValues</B>(boolean&nbsp;preserveExistingEnvValues)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -