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