@OARestClass public interface OADataSourceRestInterface
Modifier and Type | Method and Description |
---|---|
OAObject |
assignId(OAObject obj,
Class<? extends OAObject> class1) |
int |
count(Class selectClass,
String queryWhere,
Object[] params,
Class whereObjectClass,
String whereKey,
String propertyFromWhereObject,
String extraWhere,
int max) |
int |
countPassthru(Class selectClass,
String queryWhere,
int max) |
void |
delete(OAObject obj) |
void |
deleteAll(Class c) |
Object |
execute(String command) |
boolean |
getAssignIdOnCreate() |
int |
getMaxLength(Class c,
String propertyName) |
void |
insert(OAObject obj) |
void |
insertWithoutReferences(OAObject obj) |
boolean |
isAvailable() |
boolean |
isClassSupported(Class clazz) |
OAObject[] |
next(int selectId,
Class clazz) |
void |
removeSelect(int selectId) |
void |
save(OAObject obj) |
int |
select(Class selectClass,
String queryWhere,
Object[] params,
String queryOrderBy,
Class whereObjectClass,
String whereKey,
String propertyFromWhereObject,
String extraWhere,
int max,
boolean bDirty) |
int |
selectPassThru(Class selectClass,
String queryWhere,
String queryOrder,
int max,
boolean bDirty) |
boolean |
supportsStorage() |
void |
update(OAObject obj,
String[] includeProperties,
String[] excludeProperties) |
void |
updateMany2ManyLinks(Class masterClass,
String masterId,
OAObject[] adds,
Class addClazz,
OAObject[] removes,
Class removeClazz,
String propertyNameFromMaster) |
boolean |
willCreatePropertyValue(OAObject object,
String propertyName) |
@OARestMethod(methodType=OARemote) boolean getAssignIdOnCreate()
@OARestMethod(methodType=OARemote) boolean isAvailable()
@OARestMethod(methodType=OARemote) int getMaxLength(Class c, String propertyName)
@OARestMethod(methodType=OARemote) boolean isClassSupported(Class clazz)
@OARestMethod(methodType=OARemote) void insertWithoutReferences(OAObject obj)
@OARestMethod(methodType=OARemote) void insert(OAObject obj)
@OARestMethod(methodType=OARemote) void update(OAObject obj, String[] includeProperties, String[] excludeProperties)
@OARestMethod(methodType=OARemote) void save(OAObject obj)
@OARestMethod(methodType=OARemote) void delete(OAObject obj)
@OARestMethod(methodType=OARemote) void deleteAll(Class c)
@OARestMethod(methodType=OARemote) int count(Class selectClass, String queryWhere, Object[] params, Class whereObjectClass, String whereKey, String propertyFromWhereObject, String extraWhere, int max)
@OARestMethod(methodType=OARemote) int countPassthru(Class selectClass, String queryWhere, int max)
@OARestMethod(methodType=OARemote) boolean supportsStorage()
@OARestMethod(methodType=OARemote) int select(Class selectClass, String queryWhere, Object[] params, String queryOrderBy, Class whereObjectClass, String whereKey, String propertyFromWhereObject, String extraWhere, int max, boolean bDirty)
@OARestMethod(methodType=OARemote) int selectPassThru(Class selectClass, String queryWhere, String queryOrder, int max, boolean bDirty)
@OARestMethod(methodType=OARemote) Object execute(String command)
@OARestMethod(methodType=OARemote) OAObject assignId(OAObject obj, @OARestParam(type=MethodReturnClass) Class<? extends OAObject> class1)
@OARestMethod(methodType=OARemote) boolean willCreatePropertyValue(OAObject object, String propertyName)
@OARestMethod(methodType=OARemote) void updateMany2ManyLinks(Class masterClass, String masterId, OAObject[] adds, Class addClazz, OAObject[] removes, Class removeClazz, String propertyNameFromMaster)
@OARestMethod(methodType=OARemote) OAObject[] next(int selectId, @OARestParam(type=MethodReturnClass) Class clazz)
@OARestMethod(methodType=OARemote) void removeSelect(int selectId)
Copyright © 1999–2025 ViaOA. All rights reserved.