|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.wli.sb.management.importexport.ALSBImportOperation
public class ALSBImportOperation
Indicates how a resource should be handled by the import operation.
Use ALSBJarInfo.getDefaultImportPlan()
method to get the default operations.
Refer to each field's description for the default values returned.
See ALSBImportPlan
for more information.
Nested Class Summary | |
---|---|
static class |
ALSBImportOperation.Operation
|
Constructor Summary | |
---|---|
ALSBImportOperation(Ref ref,
ALSBImportOperation.Operation operation,
boolean preserveExistingEnvValues,
boolean preserveExistingOperationalValues)
Constructor |
Method Summary | |
---|---|
ALSBImportOperation.Operation |
getOperation()
returns the operation. |
Ref |
getRef()
Returns the reference to the resource that is being created, updated, deleted or skipped by the import |
boolean |
isPreserveExistingEnvValues()
Returns whether existing environment values will be preserved in the case of an update. |
boolean |
isPreserveExistingOperationalValues()
Returns whether existing operational values will be preserved in the case of an update |
void |
setDelete()
Marks the operation so that the resource is deleted. |
void |
setPreserveExistingEnvValues(boolean preserveExistingEnvValues)
|
void |
setPreserveExistingOperationalValues(boolean preserveExistingOperationalValues)
|
void |
setSkip()
Changes the existing operation to a skip so that the operation is not performed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ALSBImportOperation(Ref ref, ALSBImportOperation.Operation operation, boolean preserveExistingEnvValues, boolean preserveExistingOperationalValues)
ref
- reference to the resource that is being considered
by the import process.operation
- The operation that will be performed on the
resource. The operation can be ALSBImportOperation.Operation.Skip
indicating that the resource will not be affected by import.
A value of ALSBImportOperation.Operation.Delete
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 ALSBImportOperation.Operation.Create
and ALSBImportOperation.Operation.Update
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.preserveExistingEnvValues
- 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.preserveExistingOperationalValues
- 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.Method Detail |
---|
public Ref getRef()
public boolean isPreserveExistingEnvValues()
public void setPreserveExistingEnvValues(boolean preserveExistingEnvValues)
public boolean isPreserveExistingOperationalValues()
public void setPreserveExistingOperationalValues(boolean preserveExistingOperationalValues)
public ALSBImportOperation.Operation getOperation()
public void setSkip()
public void setDelete()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |