@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
SharedRecordServicevalidateSchema in interface SharedRecordServiceModuleNotFoundException@RightsAllowed(value="Schema:Update") public List<SchemaOperationResult> updateSchema(long modelId, boolean execute) throws ModuleNotFoundException
SharedRecordServiceupdateSchema in interface SharedRecordServiceexecute - if true, generated script will be executed against the databaseModuleNotFoundException@RightsAllowed(value="Schema:DropCreate") public List<SchemaOperationResult> dropCreateSchema(long modelId, boolean execute) throws ModuleNotFoundException
SharedRecordServicedropCreateSchema in interface SharedRecordServiceexecute - if true, generated script will be executed against the databaseModuleNotFoundExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.