public interface MasterControlService
| Modifier and Type | Method and Description |
|---|---|
Object |
createData(String key,
Map<String,Object> fieldValueMap) |
void |
deleteById(String key,
Object id) |
List<Object> |
findAll(String key) |
Object |
findById(String key,
Object id) |
Map<String,String> |
getIndex() |
Object |
updateData(String key,
Object id,
Map<String,Object> fieldValueMap) |
Object findById(String key, Object id) throws ClassNotFoundException
key - entity keyid - primary keyClassNotFoundException - throws exception if class does not existList<Object> findAll(String key) throws ClassNotFoundException
key - entity keyClassNotFoundException - throws exception if class does not existObject createData(String key, Map<String,Object> fieldValueMap) throws ReflectiveOperationException
key - entity keyfieldValueMap - field value mapReflectiveOperationException - throws exception if reflection operation failedObject updateData(String key, Object id, Map<String,Object> fieldValueMap) throws ReflectiveOperationException
key - entity keyid - primary key for this entityfieldValueMap - field value mapReflectiveOperationException - throws exception if reflection operation failedvoid deleteById(String key, Object id) throws ReflectiveOperationException
key - entity keyid - primary key for this entityReflectiveOperationException - throws exception if reflection operation failedCopyright © 2023. All rights reserved.