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