All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.maxleap.code.MLClassManager Maven / Gradle / Ivy

There is a newer version: 2.4.9
Show newest version
package com.maxleap.code;


import com.maxleap.las.sdk.FindMsg;
import com.maxleap.las.sdk.MLQuery;
import com.maxleap.las.sdk.MLUpdate;
import com.maxleap.las.sdk.UpdateMsg;

public interface MLClassManager {

  //default api for use userPrincipal

  SaveResult create(T object, UserPrincipal userPrincipal) throws MLException;

  FindMsg find(MLQuery query, UserPrincipal userPrincipal) throws MLException;

  FindMsg find(MLQuery query, boolean count, UserPrincipal userPrincipal) throws MLException;

  T findById(String id, UserPrincipal userPrincipal) throws MLException;

  UpdateMsg update(String id, MLUpdate update, UserPrincipal userPrincipal) throws MLException;

  DeleteResult delete(String id, UserPrincipal userPrincipal) throws MLException;

  DeleteResult delete(String[] ids, UserPrincipal userPrincipal) throws MLException;

  //api for use masterKey

  SaveResult create(T object) throws MLException;

  FindMsg find(MLQuery query) throws MLException;

  FindMsg find(MLQuery query, boolean count) throws MLException;

  T findById(String id) throws MLException;

  UpdateMsg update(String id, MLUpdate update) throws MLException;

  DeleteResult delete(String id) throws MLException;

  DeleteResult delete(String[] ids) throws MLException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy