@Service public class OCCChecksumOperationsImpl extends Object implements OCCChecksumOperations
| Constructor and Description |
|---|
OCCChecksumOperationsImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext context) |
void |
addGvNIXAnnotationsDependecy()
Adds GvNIX annotations library dependency to the current project TO BE
REMOVED FROM API
|
void |
addOccAll(String fieldName,
String digestMethod)
Adds Optimistic Concurrency Control to all entities on project
If any entity already has applied this behavior this action will have no
effect in it.
|
void |
addOccToEntity(org.springframework.roo.model.JavaType entity,
String fieldName,
String digestMethod)
Adds Optimistic Concurrency Control to a entity
If this entity already has applied this behavior this action will have no
effect.
|
protected void |
deactivate(org.osgi.service.component.ComponentContext context) |
boolean |
isOCCChecksumAvailable()
Informs if OCCChecksum operations are available
|
protected void activate(org.osgi.service.component.ComponentContext context)
protected void deactivate(org.osgi.service.component.ComponentContext context)
public boolean isOCCChecksumAvailable()
OCCChecksumOperationsInforms if OCCChecksum operations are available
isOCCChecksumAvailable in interface OCCChecksumOperationspublic void addOccToEntity(org.springframework.roo.model.JavaType entity,
String fieldName,
String digestMethod)
OCCChecksumOperationsAdds Optimistic Concurrency Control to a entity
If this entity already has applied this behavior this action will have no effect.
addOccToEntity in interface OCCChecksumOperationsentity - to add OCCChecksum behaviorpublic void addOccAll(String fieldName, String digestMethod)
OCCChecksumOperationsAdds Optimistic Concurrency Control to all entities on project
If any entity already has applied this behavior this action will have no effect in it.
addOccAll in interface OCCChecksumOperationsdigestMethod - based on
org.springframework.roo.addon.web.mvc.controller.ControllerOperations#generateAll(org.springframework.roo.model.JavaPackage)
public void addGvNIXAnnotationsDependecy()
OCCChecksumOperationsaddGvNIXAnnotationsDependecy in interface OCCChecksumOperationsCopyright © 2010–2015 General Directorate for Information Technologies (DGTI) of the Regional Ministry of Finance and Public Administration of the Generalitat Valenciana.. All rights reserved.