public class ChangeResourceIdentityTask extends SessionedTask<java.lang.Object>
Constructor and Description |
---|
ChangeResourceIdentityTask(Ref sourceRef, Ref targetRef)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
_execute()
Subclasses implement this method
|
static void |
rename(ConfigService configService, Ref sourceRef, Ref targetRef) |
static void |
rename(ConfigService configService, java.lang.String session, Ref sourceRef, Ref targetRef) |
assertExists, assertLocation, assertNONResource, assertNotExists, assertNotLocationData, assertNotNull, assertNotNullElement, assertResource, assertSimple, call, doExecute, doExecute, doExecute, doExecute, expand, getConfigContext, getConfigMBean, getConfigService, getDescription, getSession, isLocation, isReadOnlyTransaction, requiresSystemTransaction
public static void rename(ConfigService configService, Ref sourceRef, Ref targetRef) throws UpdateException, ValidationException
UpdateException
ValidationException
public static void rename(ConfigService configService, java.lang.String session, Ref sourceRef, Ref targetRef) throws UpdateException, ValidationException
UpdateException
ValidationException
protected java.lang.Object _execute() throws ValidationException, UpdateException
SessionedTask
_execute
in class SessionedTask<java.lang.Object>
ValidationException
UpdateException