@PermitAll public class SharedRecordServiceBean extends com.whitestein.lsps.common.SecureAndLoggingService implements SharedRecordServiceLocal, SharedRecordServiceRemote
Constructor and Description |
---|
SharedRecordServiceBean() |
Modifier and Type | Method and Description |
---|---|
List<SchemaOperationResult> |
dropCreateSchema(long modelId,
boolean execute)
Drops and creates the database schema for the given mode.
|
List<SchemaOperationResult> |
updateSchema(long modelId,
boolean execute)
Updates the database schema for the given model.
|
List<SchemaOperationResult> |
validateSchema(long modelId)
Validates the database schema for the given model.
|
@RightsAllowed(value="Schema:Validate") public List<SchemaOperationResult> validateSchema(long modelId) throws ModuleNotFoundException
SharedRecordService
validateSchema
in interface SharedRecordService
ModuleNotFoundException
@RightsAllowed(value="Schema:Update") public List<SchemaOperationResult> updateSchema(long modelId, boolean execute) throws ModuleNotFoundException
SharedRecordService
updateSchema
in interface SharedRecordService
execute
- if true, generated script will be executed against the databaseModuleNotFoundException
@RightsAllowed(value="Schema:DropCreate") public List<SchemaOperationResult> dropCreateSchema(long modelId, boolean execute) throws ModuleNotFoundException
SharedRecordService
dropCreateSchema
in interface SharedRecordService
execute
- if true, generated script will be executed against the databaseModuleNotFoundException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.