@Service public class MasterControlServiceImpl extends Object implements MasterControlService
| Constructor and Description |
|---|
MasterControlServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
createData(String key,
Map<String,Object> fieldValueMap) |
void |
deleteById(String key,
Object id) |
List |
findAll(String key) |
Object |
findById(String key,
Object id) |
Map<String,String> |
getIndex() |
Object |
updateData(String key,
Object id,
Map<String,Object> fieldValueMap) |
public Map<String,String> getIndex()
getIndex in interface MasterControlServicepublic Object findById(String key, Object id) throws ClassNotFoundException
findById in interface MasterControlServicekey - entity keyid - primary keyClassNotFoundException - throws exception if class does not existpublic List findAll(String key) throws ClassNotFoundException
findAll in interface MasterControlServicekey - entity keyClassNotFoundException - throws exception if class does not exist@Transactional public Object createData(String key, Map<String,Object> fieldValueMap) throws ReflectiveOperationException
createData in interface MasterControlServicekey - entity keyfieldValueMap - field value mapReflectiveOperationException - throws exception if reflection operation failed@Transactional public Object updateData(String key, Object id, Map<String,Object> fieldValueMap) throws ReflectiveOperationException
updateData in interface MasterControlServicekey - entity keyid - primary key for this entityfieldValueMap - field value mapReflectiveOperationException - throws exception if reflection operation failed@Transactional public void deleteById(String key, Object id) throws ReflectiveOperationException
deleteById in interface MasterControlServicekey - entity keyid - primary key for this entityReflectiveOperationException - throws exception if reflection operation failedCopyright © 2023. All rights reserved.