public class LASClassManagerImpl<T> extends Object implements LASClassManager<T>
| Constructor and Description |
|---|
LASClassManagerImpl(String appId,
String masterKey,
LASClassManagerHook<T> hook,
Class<T> entityClazz) |
LASClassManagerImpl(String appId,
String masterKey,
LASClassManagerHook<T> hook,
Class<T> entityClazz,
String restAddress) |
| Modifier and Type | Method and Description |
|---|---|
SaveResult<T> |
create(T object) |
DeleteResult |
delete(String id) |
DeleteResult |
delete(String[] ids) |
as.leap.las.sdk.FindMsg<T> |
find(as.leap.las.sdk.LASQuery query) |
as.leap.las.sdk.FindMsg<T> |
find(as.leap.las.sdk.LASQuery query,
boolean count) |
T |
findById(String id) |
as.leap.las.sdk.UpdateMsg |
update(String id,
as.leap.las.sdk.LASUpdate update) |
public LASClassManagerImpl(String appId, String masterKey, LASClassManagerHook<T> hook, Class<T> entityClazz)
public SaveResult<T> create(T object) throws LASException
create in interface LASClassManager<T>LASExceptionpublic as.leap.las.sdk.FindMsg<T> find(as.leap.las.sdk.LASQuery query)
find in interface LASClassManager<T>public as.leap.las.sdk.FindMsg<T> find(as.leap.las.sdk.LASQuery query, boolean count) throws LASException
find in interface LASClassManager<T>LASExceptionpublic T findById(String id) throws LASException
findById in interface LASClassManager<T>LASExceptionpublic as.leap.las.sdk.UpdateMsg update(String id, as.leap.las.sdk.LASUpdate update) throws LASException
update in interface LASClassManager<T>LASExceptionpublic DeleteResult delete(String id) throws LASException
delete in interface LASClassManager<T>LASExceptionpublic DeleteResult delete(String[] ids)
delete in interface LASClassManager<T>Copyright © 2015. All rights reserved.