Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
net.gdface.facelog.client.thrift.IFaceLog Maven / Gradle / Ivy
package net.gdface.facelog.client.thrift;
import com.facebook.swift.codec.*;
import com.facebook.swift.codec.ThriftField.Requiredness;
import com.facebook.swift.service.*;
import com.google.common.util.concurrent.ListenableFuture;
import java.io.*;
import java.util.*;
@ThriftService("IFaceLog")
public interface IFaceLog
{
@ThriftService("IFaceLog")
public interface Async
{
@ThriftMethod(value = "addErrorLog",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture addErrorLog(
@ThriftField(value=1, name="errorLogBean", requiredness=Requiredness.OPTIONAL) final ErrorLogBean errorLogBean,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "addFeature",
exception = {
@ThriftException(type=DuplicateRecordException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture addFeature(
@ThriftField(value=1, name="feature", requiredness=Requiredness.OPTIONAL) final byte [] feature,
@ThriftField(value=2, name="featureVersion", requiredness=Requiredness.OPTIONAL) final String featureVersion,
@ThriftField(value=3, name="personId", requiredness=Requiredness.OPTIONAL) final Integer personId,
@ThriftField(value=4, name="faecBeans", requiredness=Requiredness.OPTIONAL) final List faecBeans,
@ThriftField(value=5, name="removed", requiredness=Requiredness.OPTIONAL) final String removed,
@ThriftField(value=6, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "addFeatureMulti",
exception = {
@ThriftException(type=DuplicateRecordException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture addFeatureMulti(
@ThriftField(value=1, name="feature", requiredness=Requiredness.OPTIONAL) final byte [] feature,
@ThriftField(value=2, name="featureVersion", requiredness=Requiredness.OPTIONAL) final String featureVersion,
@ThriftField(value=3, name="personId", requiredness=Requiredness.OPTIONAL) final Integer personId,
@ThriftField(value=4, name="photos", requiredness=Requiredness.OPTIONAL) final List photos,
@ThriftField(value=5, name="faces", requiredness=Requiredness.OPTIONAL) final List faces,
@ThriftField(value=6, name="removed", requiredness=Requiredness.OPTIONAL) final String removed,
@ThriftField(value=7, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "addFeatureWithImage",
exception = {
@ThriftException(type=DuplicateRecordException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture addFeatureWithImage(
@ThriftField(value=1, name="feature", requiredness=Requiredness.OPTIONAL) final byte [] feature,
@ThriftField(value=2, name="featureVersion", requiredness=Requiredness.OPTIONAL) final String featureVersion,
@ThriftField(value=3, name="personId", requiredness=Requiredness.OPTIONAL) final Integer personId,
@ThriftField(value=4, name="asIdPhotoIfAbsent", requiredness=Requiredness.REQUIRED) final boolean asIdPhotoIfAbsent,
@ThriftField(value=5, name="featurePhoto", requiredness=Requiredness.OPTIONAL) final byte [] featurePhoto,
@ThriftField(value=6, name="faceBean", requiredness=Requiredness.OPTIONAL) final FaceBean faceBean,
@ThriftField(value=7, name="removed", requiredness=Requiredness.OPTIONAL) final String removed,
@ThriftField(value=8, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "addImage",
exception = {
@ThriftException(type=DuplicateRecordException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture addImage(
@ThriftField(value=1, name="imageData", requiredness=Requiredness.OPTIONAL) final byte [] imageData,
@ThriftField(value=2, name="deviceId", requiredness=Requiredness.OPTIONAL) final Integer deviceId,
@ThriftField(value=3, name="faceBean", requiredness=Requiredness.OPTIONAL) final FaceBean faceBean,
@ThriftField(value=4, name="personId", requiredness=Requiredness.OPTIONAL) final Integer personId,
@ThriftField(value=5, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "addLog",
exception = {
@ThriftException(type=DuplicateRecordException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture addLog(
@ThriftField(value=1, name="logBean", requiredness=Requiredness.OPTIONAL) final LogBean logBean,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "addLogFull",
exception = {
@ThriftException(type=DuplicateRecordException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture addLogFull(
@ThriftField(value=1, name="logBean", requiredness=Requiredness.OPTIONAL) final LogBean logBean,
@ThriftField(value=2, name="faceBean", requiredness=Requiredness.OPTIONAL) final FaceBean faceBean,
@ThriftField(value=3, name="featureImage", requiredness=Requiredness.OPTIONAL) final byte [] featureImage,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "addLogWithFaceImage",
exception = {
@ThriftException(type=DuplicateRecordException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture addLogWithFaceImage(
@ThriftField(value=1, name="logBean", requiredness=Requiredness.OPTIONAL) final LogBean logBean,
@ThriftField(value=2, name="faceImage", requiredness=Requiredness.OPTIONAL) final byte [] faceImage,
@ThriftField(value=3, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "addLogs",
exception = {
@ThriftException(type=DuplicateRecordException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture addLogs(
@ThriftField(value=1, name="logBeans", requiredness=Requiredness.OPTIONAL) final List logBeans,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "addLogsFull",
exception = {
@ThriftException(type=DuplicateRecordException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture addLogsFull(
@ThriftField(value=1, name="logBeans", requiredness=Requiredness.OPTIONAL) final List logBeans,
@ThriftField(value=2, name="faceBeans", requiredness=Requiredness.OPTIONAL) final List faceBeans,
@ThriftField(value=3, name="featureImages", requiredness=Requiredness.OPTIONAL) final List featureImages,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "addLogsWithFaceImage",
exception = {
@ThriftException(type=DuplicateRecordException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture addLogsWithFaceImage(
@ThriftField(value=1, name="logBeans", requiredness=Requiredness.OPTIONAL) final List logBeans,
@ThriftField(value=2, name="faceImages", requiredness=Requiredness.OPTIONAL) final List faceImages,
@ThriftField(value=3, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "applyAckChannel",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture applyAckChannel(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "applyAckChannelWithDuration",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture applyAckChannelWithDuration(
@ThriftField(value=1, name="duration", requiredness=Requiredness.REQUIRED) final int duration,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "applyCmdSn",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture applyCmdSn(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "applyPersonToken",
exception = {
@ThriftException(type=ServiceSecurityException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture applyPersonToken(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId,
@ThriftField(value=2, name="password", requiredness=Requiredness.OPTIONAL) final String password,
@ThriftField(value=3, name="isMd5", requiredness=Requiredness.REQUIRED) final boolean isMd5
);
@ThriftMethod(value = "applyRootToken",
exception = {
@ThriftException(type=ServiceSecurityException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture applyRootToken(
@ThriftField(value=1, name="password", requiredness=Requiredness.OPTIONAL) final String password,
@ThriftField(value=2, name="isMd5", requiredness=Requiredness.REQUIRED) final boolean isMd5
);
@ThriftMethod(value = "applyUserToken",
exception = {
@ThriftException(type=ServiceSecurityException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture applyUserToken(
@ThriftField(value=1, name="userid", requiredness=Requiredness.REQUIRED) final int userid,
@ThriftField(value=2, name="password", requiredness=Requiredness.OPTIONAL) final String password,
@ThriftField(value=3, name="isMd5", requiredness=Requiredness.REQUIRED) final boolean isMd5
);
@ThriftMethod(value = "bindBorder",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture bindBorder(
@ThriftField(value=1, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId,
@ThriftField(value=2, name="deviceGroupId", requiredness=Requiredness.REQUIRED) final int deviceGroupId,
@ThriftField(value=3, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "childListForDeviceGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> childListForDeviceGroup(
@ThriftField(value=1, name="deviceGroupId", requiredness=Requiredness.REQUIRED) final int deviceGroupId
);
@ThriftMethod(value = "childListForPersonGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> childListForPersonGroup(
@ThriftField(value=1, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId
);
@ThriftMethod(value = "countDeviceByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countDeviceByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where
);
@ThriftMethod(value = "countDeviceByWhereSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countDeviceByWhereSafe(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "countDeviceGroupByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countDeviceGroupByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where
);
@ThriftMethod(value = "countDeviceGroupByWhereSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countDeviceGroupByWhereSafe(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "countErrorLogByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countErrorLogByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where
);
@ThriftMethod(value = "countLogByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countLogByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where
);
@ThriftMethod(value = "countLogByWhereSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countLogByWhereSafe(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "countLogLightByVerifyTime",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countLogLightByVerifyTime(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.REQUIRED) final long timestamp
);
@ThriftMethod(value = "countLogLightByVerifyTimeSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countLogLightByVerifyTimeSafe(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.REQUIRED) final long timestamp,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "countLogLightByVerifyTimeTimestr",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countLogLightByVerifyTimeTimestr(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.OPTIONAL) final String timestamp
);
@ThriftMethod(value = "countLogLightByVerifyTimeTimestrSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countLogLightByVerifyTimeTimestrSafe(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.OPTIONAL) final String timestamp,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "countLogLightByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countLogLightByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where
);
@ThriftMethod(value = "countLogLightByWhereSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countLogLightByWhereSafe(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "countPersonByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countPersonByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where
);
@ThriftMethod(value = "countPersonByWhereSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countPersonByWhereSafe(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "countPersonGroupByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countPersonGroupByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where
);
@ThriftMethod(value = "countPersonGroupByWhereSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture countPersonGroupByWhereSafe(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "countPersonLog",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> countPersonLog(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId,
@ThriftField(value=2, name="startDate", requiredness=Requiredness.OPTIONAL) final Long startDate,
@ThriftField(value=3, name="endDate", requiredness=Requiredness.OPTIONAL) final Long endDate
);
@ThriftMethod(value = "countPersonLogSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> countPersonLogSafe(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId,
@ThriftField(value=2, name="startDate", requiredness=Requiredness.OPTIONAL) final Long startDate,
@ThriftField(value=3, name="endDate", requiredness=Requiredness.OPTIONAL) final Long endDate,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "countPersonLogTimeStr",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> countPersonLogTimeStr(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId,
@ThriftField(value=2, name="startDate", requiredness=Requiredness.OPTIONAL) final String startDate,
@ThriftField(value=3, name="endDate", requiredness=Requiredness.OPTIONAL) final String endDate
);
@ThriftMethod(value = "countPersonLogTimeStrSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> countPersonLogTimeStrSafe(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId,
@ThriftField(value=2, name="startDate", requiredness=Requiredness.OPTIONAL) final String startDate,
@ThriftField(value=3, name="endDate", requiredness=Requiredness.OPTIONAL) final String endDate,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "createTempPwd",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture createTempPwd(
@ThriftField(value=1, name="targetId", requiredness=Requiredness.REQUIRED) final int targetId,
@ThriftField(value=2, name="targetType", requiredness=Requiredness.OPTIONAL) final TmpPwdTargetType targetType,
@ThriftField(value=3, name="expiryDate", requiredness=Requiredness.OPTIONAL) final String expiryDate,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "createTempPwdWithDuration",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture createTempPwdWithDuration(
@ThriftField(value=1, name="targetId", requiredness=Requiredness.REQUIRED) final int targetId,
@ThriftField(value=2, name="targetType", requiredness=Requiredness.OPTIONAL) final TmpPwdTargetType targetType,
@ThriftField(value=3, name="duration", requiredness=Requiredness.REQUIRED) final int duration,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deleteAllFeaturesByPersonId",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deleteAllFeaturesByPersonId(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId,
@ThriftField(value=2, name="deleteImage", requiredness=Requiredness.REQUIRED) final boolean deleteImage,
@ThriftField(value=3, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deleteDevice",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deleteDevice(
@ThriftField(value=1, name="id", requiredness=Requiredness.REQUIRED) final int id,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deleteDeviceByMac",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deleteDeviceByMac(
@ThriftField(value=1, name="mac", requiredness=Requiredness.OPTIONAL) final String mac,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deleteDeviceGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deleteDeviceGroup(
@ThriftField(value=1, name="deviceGroupId", requiredness=Requiredness.REQUIRED) final int deviceGroupId,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deleteErrorLogByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deleteErrorLogByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deleteFeature",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> deleteFeature(
@ThriftField(value=1, name="featureMd5", requiredness=Requiredness.OPTIONAL) final String featureMd5,
@ThriftField(value=2, name="deleteImage", requiredness=Requiredness.REQUIRED) final boolean deleteImage,
@ThriftField(value=3, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deleteGroupPermitOnDeviceGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deleteGroupPermitOnDeviceGroup(
@ThriftField(value=1, name="deviceGroupId", requiredness=Requiredness.REQUIRED) final int deviceGroupId,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deleteImage",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deleteImage(
@ThriftField(value=1, name="imageMd5", requiredness=Requiredness.OPTIONAL) final String imageMd5,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deleteLogByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deleteLogByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deletePermitById",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deletePermitById(
@ThriftField(value=1, name="deviceGroupId", requiredness=Requiredness.REQUIRED) final int deviceGroupId,
@ThriftField(value=2, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId,
@ThriftField(value=3, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deletePerson",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deletePerson(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deletePersonByMobilePhone",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deletePersonByMobilePhone(
@ThriftField(value=1, name="mobilePhone", requiredness=Requiredness.OPTIONAL) final String mobilePhone,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deletePersonByPapersNum",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deletePersonByPapersNum(
@ThriftField(value=1, name="papersNum", requiredness=Requiredness.OPTIONAL) final String papersNum,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deletePersonGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deletePersonGroup(
@ThriftField(value=1, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deletePersonGroupPermit",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deletePersonGroupPermit(
@ThriftField(value=1, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deletePersons",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deletePersons(
@ThriftField(value=1, name="personIdList", requiredness=Requiredness.OPTIONAL) final List personIdList,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deletePersonsByMobilePhone",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deletePersonsByMobilePhone(
@ThriftField(value=1, name="mobilePhoneList", requiredness=Requiredness.OPTIONAL) final List mobilePhoneList,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "deletePersonsByPapersNum",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture deletePersonsByPapersNum(
@ThriftField(value=1, name="papersNumList", requiredness=Requiredness.OPTIONAL) final List papersNumList,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "disablePerson",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture disablePerson(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId,
@ThriftField(value=2, name="moveToGroupId", requiredness=Requiredness.OPTIONAL) final Integer moveToGroupId,
@ThriftField(value=3, name="deletePhoto", requiredness=Requiredness.REQUIRED) final boolean deletePhoto,
@ThriftField(value=4, name="deleteFeature", requiredness=Requiredness.REQUIRED) final boolean deleteFeature,
@ThriftField(value=5, name="deleteLog", requiredness=Requiredness.REQUIRED) final boolean deleteLog,
@ThriftField(value=6, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "disablePersonList",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture disablePersonList(
@ThriftField(value=1, name="personIdList", requiredness=Requiredness.OPTIONAL) final List personIdList,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "existsDevice",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture existsDevice(
@ThriftField(value=1, name="id", requiredness=Requiredness.REQUIRED) final int id
);
@ThriftMethod(value = "existsFeature",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture existsFeature(
@ThriftField(value=1, name="md5", requiredness=Requiredness.OPTIONAL) final String md5
);
@ThriftMethod(value = "existsImage",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture existsImage(
@ThriftField(value=1, name="md5", requiredness=Requiredness.OPTIONAL) final String md5
);
@ThriftMethod(value = "existsPerson",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture existsPerson(
@ThriftField(value=1, name="persionId", requiredness=Requiredness.REQUIRED) final int persionId
);
@ThriftMethod(value = "faceRecognizePersonPermitted",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture faceRecognizePersonPermitted(
@ThriftField(value=1, name="imageData", requiredness=Requiredness.OPTIONAL) final byte [] imageData,
@ThriftField(value=2, name="threshold", requiredness=Requiredness.OPTIONAL) final Double threshold,
@ThriftField(value=3, name="group", requiredness=Requiredness.REQUIRED) final int group,
@ThriftField(value=4, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId,
@ThriftField(value=5, name="searchInPermited", requiredness=Requiredness.REQUIRED) final boolean searchInPermited
);
@ThriftMethod(value = "fuzzySearch",
exception = {
@ThriftException(type=FuzzyMatchCountExceedLimitException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture> fuzzySearch(
@ThriftField(value=1, name="tablename", requiredness=Requiredness.OPTIONAL) final String tablename,
@ThriftField(value=2, name="column", requiredness=Requiredness.OPTIONAL) final String column,
@ThriftField(value=3, name="pattern", requiredness=Requiredness.OPTIONAL) final String pattern,
@ThriftField(value=4, name="matchType", requiredness=Requiredness.OPTIONAL) final StringMatchType matchType,
@ThriftField(value=5, name="matchFlags", requiredness=Requiredness.REQUIRED) final int matchFlags,
@ThriftField(value=6, name="parentGroupId", requiredness=Requiredness.REQUIRED) final int parentGroupId,
@ThriftField(value=7, name="maxMatchCount", requiredness=Requiredness.REQUIRED) final int maxMatchCount
);
@ThriftMethod(value = "fuzzySearchPerson",
exception = {
@ThriftException(type=FuzzyMatchCountExceedLimitException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture> fuzzySearchPerson(
@ThriftField(value=1, name="column", requiredness=Requiredness.OPTIONAL) final String column,
@ThriftField(value=2, name="pattern", requiredness=Requiredness.OPTIONAL) final String pattern,
@ThriftField(value=3, name="matchType", requiredness=Requiredness.OPTIONAL) final StringMatchType matchType,
@ThriftField(value=4, name="matchFlags", requiredness=Requiredness.REQUIRED) final int matchFlags,
@ThriftField(value=5, name="parentGroupId", requiredness=Requiredness.REQUIRED) final int parentGroupId,
@ThriftField(value=6, name="maxMatchCount", requiredness=Requiredness.REQUIRED) final int maxMatchCount,
@ThriftField(value=7, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "getDevice",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getDevice(
@ThriftField(value=1, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId
);
@ThriftMethod(value = "getDeviceByMac",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getDeviceByMac(
@ThriftField(value=1, name="mac", requiredness=Requiredness.OPTIONAL) final String mac
);
@ThriftMethod(value = "getDeviceGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getDeviceGroup(
@ThriftField(value=1, name="deviceGroupId", requiredness=Requiredness.REQUIRED) final int deviceGroupId
);
@ThriftMethod(value = "getDeviceGroups",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getDeviceGroups(
@ThriftField(value=1, name="groupIdList", requiredness=Requiredness.OPTIONAL) final List groupIdList
);
@ThriftMethod(value = "getDeviceGroupsBelongs",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getDeviceGroupsBelongs(
@ThriftField(value=1, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId
);
@ThriftMethod(value = "getDeviceGroupsPermit",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getDeviceGroupsPermit(
@ThriftField(value=1, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId
);
@ThriftMethod(value = "getDeviceGroupsPermittedBy",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getDeviceGroupsPermittedBy(
@ThriftField(value=1, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId
);
@ThriftMethod(value = "getDeviceIdOfFeature",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getDeviceIdOfFeature(
@ThriftField(value=1, name="featureMd5", requiredness=Requiredness.OPTIONAL) final String featureMd5
);
@ThriftMethod(value = "getDevices",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getDevices(
@ThriftField(value=1, name="idList", requiredness=Requiredness.OPTIONAL) final List idList
);
@ThriftMethod(value = "getDevicesOfGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getDevicesOfGroup(
@ThriftField(value=1, name="deviceGroupId", requiredness=Requiredness.REQUIRED) final int deviceGroupId
);
@ThriftMethod(value = "getFace",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getFace(
@ThriftField(value=1, name="faceId", requiredness=Requiredness.REQUIRED) final int faceId
);
@ThriftMethod(value = "getFaceApiParameters",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getFaceApiParameters(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "getFacesOfFeature",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getFacesOfFeature(
@ThriftField(value=1, name="featureMd5", requiredness=Requiredness.OPTIONAL) final String featureMd5
);
@ThriftMethod(value = "getFacesOfImage",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getFacesOfImage(
@ThriftField(value=1, name="imageMd5", requiredness=Requiredness.OPTIONAL) final String imageMd5
);
@ThriftMethod(value = "getFeature",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getFeature(
@ThriftField(value=1, name="md5", requiredness=Requiredness.OPTIONAL) final String md5
);
@ThriftMethod(value = "getFeatureBytes",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getFeatureBytes(
@ThriftField(value=1, name="md5", requiredness=Requiredness.OPTIONAL) final String md5
);
@ThriftMethod(value = "getFeatureBytesList",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getFeatureBytesList(
@ThriftField(value=1, name="md5List", requiredness=Requiredness.OPTIONAL) final List md5List,
@ThriftField(value=2, name="truncation", requiredness=Requiredness.REQUIRED) final boolean truncation
);
@ThriftMethod(value = "getFeatureBytesTruncation",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getFeatureBytesTruncation(
@ThriftField(value=1, name="md5", requiredness=Requiredness.OPTIONAL) final String md5,
@ThriftField(value=2, name="truncation", requiredness=Requiredness.REQUIRED) final boolean truncation
);
@ThriftMethod(value = "getFeatures",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getFeatures(
@ThriftField(value=1, name="md5List", requiredness=Requiredness.OPTIONAL) final List md5List
);
@ThriftMethod(value = "getFeaturesByPersonIdAndSdkVersion",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getFeaturesByPersonIdAndSdkVersion(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId,
@ThriftField(value=2, name="sdkVersion", requiredness=Requiredness.OPTIONAL) final String sdkVersion
);
@ThriftMethod(value = "getFeaturesOfImage",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getFeaturesOfImage(
@ThriftField(value=1, name="imageMd5", requiredness=Requiredness.OPTIONAL) final String imageMd5
);
@ThriftMethod(value = "getFeaturesOfPerson",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getFeaturesOfPerson(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId
);
@ThriftMethod(value = "getFeaturesPermittedOnDevice",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getFeaturesPermittedOnDevice(
@ThriftField(value=1, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId,
@ThriftField(value=2, name="ignoreSchedule", requiredness=Requiredness.REQUIRED) final boolean ignoreSchedule,
@ThriftField(value=3, name="sdkVersion", requiredness=Requiredness.OPTIONAL) final String sdkVersion,
@ThriftField(value=4, name="excludeFeatureIds", requiredness=Requiredness.OPTIONAL) final List excludeFeatureIds,
@ThriftField(value=5, name="timestamp", requiredness=Requiredness.OPTIONAL) final Long timestamp
);
@ThriftMethod(value = "getGroupIdsByPath",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getGroupIdsByPath(
@ThriftField(value=1, name="tablename", requiredness=Requiredness.OPTIONAL) final String tablename,
@ThriftField(value=2, name="path", requiredness=Requiredness.OPTIONAL) final String path
);
@ThriftMethod(value = "getGroupPermit",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getGroupPermit(
@ThriftField(value=1, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId,
@ThriftField(value=2, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId
);
@ThriftMethod(value = "getGroupPermitOnDeviceGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getGroupPermitOnDeviceGroup(
@ThriftField(value=1, name="deviceGroupId", requiredness=Requiredness.REQUIRED) final int deviceGroupId,
@ThriftField(value=2, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId
);
@ThriftMethod(value = "getGroupPermits",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getGroupPermits(
@ThriftField(value=1, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId,
@ThriftField(value=2, name="personGroupIdList", requiredness=Requiredness.OPTIONAL) final List personGroupIdList
);
@ThriftMethod(value = "getImage",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getImage(
@ThriftField(value=1, name="imageMD5", requiredness=Requiredness.OPTIONAL) final String imageMD5
);
@ThriftMethod(value = "getImageBytes",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getImageBytes(
@ThriftField(value=1, name="imageMD5", requiredness=Requiredness.OPTIONAL) final String imageMD5
);
@ThriftMethod(value = "getImageBytesRef",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getImageBytesRef(
@ThriftField(value=1, name="primaryKey", requiredness=Requiredness.OPTIONAL) final String primaryKey,
@ThriftField(value=2, name="refType", requiredness=Requiredness.OPTIONAL) final String refType
);
@ThriftMethod(value = "getImageRef",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getImageRef(
@ThriftField(value=1, name="primaryKey", requiredness=Requiredness.OPTIONAL) final String primaryKey,
@ThriftField(value=2, name="refType", requiredness=Requiredness.OPTIONAL) final String refType
);
@ThriftMethod(value = "getImagesAssociatedByFeature",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getImagesAssociatedByFeature(
@ThriftField(value=1, name="featureMd5", requiredness=Requiredness.OPTIONAL) final String featureMd5
);
@ThriftMethod(value = "getLogBeansByPersonId",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getLogBeansByPersonId(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId
);
@ThriftMethod(value = "getLogBeansByPersonIdSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getLogBeansByPersonIdSafe(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "getMessageQueueParameters",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getMessageQueueParameters(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "getPerson",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getPerson(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId
);
@ThriftMethod(value = "getPersonByMobilePhone",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getPersonByMobilePhone(
@ThriftField(value=1, name="mobilePhone", requiredness=Requiredness.OPTIONAL) final String mobilePhone
);
@ThriftMethod(value = "getPersonByMobilePhoneReal",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getPersonByMobilePhoneReal(
@ThriftField(value=1, name="mobilePhone", requiredness=Requiredness.OPTIONAL) final String mobilePhone,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "getPersonByPapersNum",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getPersonByPapersNum(
@ThriftField(value=1, name="papersNum", requiredness=Requiredness.OPTIONAL) final String papersNum
);
@ThriftMethod(value = "getPersonByPapersNumSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getPersonByPapersNumSafe(
@ThriftField(value=1, name="papersNum", requiredness=Requiredness.OPTIONAL) final String papersNum,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "getPersonGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getPersonGroup(
@ThriftField(value=1, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId
);
@ThriftMethod(value = "getPersonGroups",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getPersonGroups(
@ThriftField(value=1, name="groupIdList", requiredness=Requiredness.OPTIONAL) final List groupIdList
);
@ThriftMethod(value = "getPersonGroupsBelongs",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getPersonGroupsBelongs(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId
);
@ThriftMethod(value = "getPersonGroupsPermittedBy",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getPersonGroupsPermittedBy(
@ThriftField(value=1, name="deviceGroupId", requiredness=Requiredness.REQUIRED) final int deviceGroupId
);
@ThriftMethod(value = "getPersonPermit",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getPersonPermit(
@ThriftField(value=1, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId,
@ThriftField(value=2, name="personId", requiredness=Requiredness.REQUIRED) final int personId
);
@ThriftMethod(value = "getPersonPermits",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getPersonPermits(
@ThriftField(value=1, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId,
@ThriftField(value=2, name="personIdList", requiredness=Requiredness.OPTIONAL) final List personIdList
);
@ThriftMethod(value = "getPersonReal",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getPersonReal(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "getPersons",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getPersons(
@ThriftField(value=1, name="idList", requiredness=Requiredness.OPTIONAL) final List idList
);
@ThriftMethod(value = "getPersonsOfGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getPersonsOfGroup(
@ThriftField(value=1, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId
);
@ThriftMethod(value = "getPersonsPermittedOnDevice",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getPersonsPermittedOnDevice(
@ThriftField(value=1, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId,
@ThriftField(value=2, name="ignoreSchedule", requiredness=Requiredness.REQUIRED) final boolean ignoreSchedule,
@ThriftField(value=3, name="excludePersonIds", requiredness=Requiredness.OPTIONAL) final List excludePersonIds,
@ThriftField(value=4, name="timestamp", requiredness=Requiredness.OPTIONAL) final Long timestamp
);
@ThriftMethod(value = "getPersonsPermittedOnDeviceByGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getPersonsPermittedOnDeviceByGroup(
@ThriftField(value=1, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId,
@ThriftField(value=2, name="ignoreSchedule", requiredness=Requiredness.REQUIRED) final boolean ignoreSchedule,
@ThriftField(value=3, name="excludePersonIds", requiredness=Requiredness.OPTIONAL) final List excludePersonIds,
@ThriftField(value=4, name="timestamp", requiredness=Requiredness.OPTIONAL) final Long timestamp
);
@ThriftMethod(value = "getPersonsReal",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getPersonsReal(
@ThriftField(value=1, name="idList", requiredness=Requiredness.OPTIONAL) final List idList,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "getProperties",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getProperties(
@ThriftField(value=1, name="prefix", requiredness=Requiredness.OPTIONAL) final String prefix,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "getProperty",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getProperty(
@ThriftField(value=1, name="key", requiredness=Requiredness.OPTIONAL) final String key,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "getRedisParameters",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getRedisParameters(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "getServiceConfig",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getServiceConfig(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "getSubDeviceGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getSubDeviceGroup(
@ThriftField(value=1, name="deviceGroupId", requiredness=Requiredness.REQUIRED) final int deviceGroupId
);
@ThriftMethod(value = "getSubPersonGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> getSubPersonGroup(
@ThriftField(value=1, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId
);
@ThriftMethod(value = "getTargetInfo4PwdOnDevice",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture getTargetInfo4PwdOnDevice(
@ThriftField(value=1, name="pwd", requiredness=Requiredness.OPTIONAL) final String pwd,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "initTopGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture initTopGroup(
@ThriftField(value=1, name="groupInfo", requiredness=Requiredness.OPTIONAL) final TopGroupInfo groupInfo,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "isDisable",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture isDisable(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId
);
@ThriftMethod(value = "isLocal",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture isLocal();
@ThriftMethod(value = "isValidAckChannel",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture isValidAckChannel(
@ThriftField(value=1, name="ackChannel", requiredness=Requiredness.OPTIONAL) final String ackChannel
);
@ThriftMethod(value = "isValidCmdSn",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture isValidCmdSn(
@ThriftField(value=1, name="cmdSn", requiredness=Requiredness.REQUIRED) final int cmdSn
);
@ThriftMethod(value = "isValidDeviceToken",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture isValidDeviceToken(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "isValidPassword",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture isValidPassword(
@ThriftField(value=1, name="userId", requiredness=Requiredness.OPTIONAL) final String userId,
@ThriftField(value=2, name="password", requiredness=Requiredness.OPTIONAL) final String password,
@ThriftField(value=3, name="isMd5", requiredness=Requiredness.REQUIRED) final boolean isMd5
);
@ThriftMethod(value = "isValidPersonToken",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture isValidPersonToken(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "isValidRootToken",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture isValidRootToken(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "isValidToken",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture isValidToken(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "isValidUserToken",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture isValidUserToken(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "iso8601Time",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture iso8601Time();
@ThriftMethod(value = "listOfParentForDeviceGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> listOfParentForDeviceGroup(
@ThriftField(value=1, name="deviceGroupId", requiredness=Requiredness.REQUIRED) final int deviceGroupId
);
@ThriftMethod(value = "listOfParentForPersonGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> listOfParentForPersonGroup(
@ThriftField(value=1, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId
);
@ThriftMethod(value = "loadAllPerson",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadAllPerson();
@ThriftMethod(value = "loadAllPersonSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadAllPersonSafe(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadDeviceByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadDeviceByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows
);
@ThriftMethod(value = "loadDeviceByWhereSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadDeviceByWhereSafe(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadDeviceGroupByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadDeviceGroupByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows
);
@ThriftMethod(value = "loadDeviceGroupIdByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadDeviceGroupIdByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where
);
@ThriftMethod(value = "loadDeviceGroupIdByWhereSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadDeviceGroupIdByWhereSafe(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadDeviceIdByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadDeviceIdByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where
);
@ThriftMethod(value = "loadDeviceIdByWhereSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadDeviceIdByWhereSafe(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadDistinctIntegerColumn",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadDistinctIntegerColumn(
@ThriftField(value=1, name="table", requiredness=Requiredness.OPTIONAL) final String table,
@ThriftField(value=2, name="column", requiredness=Requiredness.OPTIONAL) final String column,
@ThriftField(value=3, name="where", requiredness=Requiredness.OPTIONAL) final String where
);
@ThriftMethod(value = "loadDistinctStringColumn",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadDistinctStringColumn(
@ThriftField(value=1, name="table", requiredness=Requiredness.OPTIONAL) final String table,
@ThriftField(value=2, name="column", requiredness=Requiredness.OPTIONAL) final String column,
@ThriftField(value=3, name="where", requiredness=Requiredness.OPTIONAL) final String where
);
@ThriftMethod(value = "loadErrorLogByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadErrorLogByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows
);
@ThriftMethod(value = "loadFeatureMd5ByUpdate",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadFeatureMd5ByUpdate(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.REQUIRED) final long timestamp
);
@ThriftMethod(value = "loadFeatureMd5ByUpdateSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadFeatureMd5ByUpdateSafe(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.REQUIRED) final long timestamp,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadFeatureMd5ByUpdateTimeStr",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadFeatureMd5ByUpdateTimeStr(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.OPTIONAL) final String timestamp
);
@ThriftMethod(value = "loadFeatureMd5ByUpdateTimeStrSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadFeatureMd5ByUpdateTimeStrSafe(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.OPTIONAL) final String timestamp,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadLogByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadLogByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows
);
@ThriftMethod(value = "loadLogByWhereSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadLogByWhereSafe(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadLogLightByVerifyTime",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadLogLightByVerifyTime(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.REQUIRED) final long timestamp,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows
);
@ThriftMethod(value = "loadLogLightByVerifyTimeSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadLogLightByVerifyTimeSafe(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.REQUIRED) final long timestamp,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadLogLightByVerifyTimeTimestr",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadLogLightByVerifyTimeTimestr(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.OPTIONAL) final String timestamp,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows
);
@ThriftMethod(value = "loadLogLightByVerifyTimeTimestrSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadLogLightByVerifyTimeTimestrSafe(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.OPTIONAL) final String timestamp,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadLogLightByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadLogLightByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows
);
@ThriftMethod(value = "loadLogLightByWhereSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadLogLightByWhereSafe(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadPermitByUpdate",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPermitByUpdate(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.REQUIRED) final long timestamp
);
@ThriftMethod(value = "loadPermitByUpdateTimestr",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPermitByUpdateTimestr(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.OPTIONAL) final String timestamp
);
@ThriftMethod(value = "loadPersonByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows
);
@ThriftMethod(value = "loadPersonByWhereReal",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonByWhereReal(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadPersonDataPackages",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonDataPackages(
@ThriftField(value=1, name="personIds", requiredness=Requiredness.OPTIONAL) final List personIds,
@ThriftField(value=2, name="sdkVersion", requiredness=Requiredness.OPTIONAL) final String sdkVersion,
@ThriftField(value=3, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId
);
@ThriftMethod(value = "loadPersonDataPackagesInSameGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonDataPackagesInSameGroup(
@ThriftField(value=1, name="personIds", requiredness=Requiredness.OPTIONAL) final List personIds,
@ThriftField(value=2, name="sdkVersion", requiredness=Requiredness.OPTIONAL) final String sdkVersion,
@ThriftField(value=3, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId
);
@ThriftMethod(value = "loadPersonDataPackagesPermittedOnDevice",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonDataPackagesPermittedOnDevice(
@ThriftField(value=1, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId,
@ThriftField(value=2, name="ignoreSchedule", requiredness=Requiredness.REQUIRED) final boolean ignoreSchedule,
@ThriftField(value=3, name="excludePersonIds", requiredness=Requiredness.OPTIONAL) final List excludePersonIds,
@ThriftField(value=4, name="timestamp", requiredness=Requiredness.OPTIONAL) final Long timestamp,
@ThriftField(value=5, name="sdkVersion", requiredness=Requiredness.OPTIONAL) final String sdkVersion
);
@ThriftMethod(value = "loadPersonGroupByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonGroupByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="startRow", requiredness=Requiredness.REQUIRED) final int startRow,
@ThriftField(value=3, name="numRows", requiredness=Requiredness.REQUIRED) final int numRows
);
@ThriftMethod(value = "loadPersonGroupIdByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonGroupIdByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where
);
@ThriftMethod(value = "loadPersonGroupIdByWhereSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonGroupIdByWhereSafe(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadPersonIdByUpdateTime",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonIdByUpdateTime(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.REQUIRED) final long timestamp
);
@ThriftMethod(value = "loadPersonIdByUpdateTimeSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonIdByUpdateTimeSafe(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.REQUIRED) final long timestamp,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadPersonIdByUpdateTimeTimeStr",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonIdByUpdateTimeTimeStr(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.OPTIONAL) final String timestamp
);
@ThriftMethod(value = "loadPersonIdByUpdateTimeTimeStrSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonIdByUpdateTimeTimeStrSafe(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.OPTIONAL) final String timestamp,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadPersonIdByWhere",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonIdByWhere(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where
);
@ThriftMethod(value = "loadPersonIdByWhereSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadPersonIdByWhereSafe(
@ThriftField(value=1, name="where", requiredness=Requiredness.OPTIONAL) final String where,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadUpdatedPersons",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadUpdatedPersons(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.REQUIRED) final long timestamp
);
@ThriftMethod(value = "loadUpdatedPersonsSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadUpdatedPersonsSafe(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.REQUIRED) final long timestamp,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "loadUpdatedPersonsTimestr",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadUpdatedPersonsTimestr(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.OPTIONAL) final String timestamp
);
@ThriftMethod(value = "loadUpdatedPersonsTimestrSafe",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture> loadUpdatedPersonsTimestrSafe(
@ThriftField(value=1, name="timestamp", requiredness=Requiredness.OPTIONAL) final String timestamp,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "lockWakeup",
exception = {
@ThriftException(type=ServiceSecurityException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture lockWakeup(
@ThriftField(value=1, name="deviceBean", requiredness=Requiredness.OPTIONAL) final DeviceBean deviceBean,
@ThriftField(value=2, name="ignoreSchedule", requiredness=Requiredness.REQUIRED) final boolean ignoreSchedule,
@ThriftField(value=3, name="sdkVersion", requiredness=Requiredness.OPTIONAL) final String sdkVersion
);
@ThriftMethod(value = "offline",
exception = {
@ThriftException(type=ServiceSecurityException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture offline(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "online",
exception = {
@ThriftException(type=ServiceSecurityException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture online(
@ThriftField(value=1, name="device", requiredness=Requiredness.OPTIONAL) final DeviceBean device
);
@ThriftMethod(value = "pathOf",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture pathOf(
@ThriftField(value=1, name="tablename", requiredness=Requiredness.OPTIONAL) final String tablename,
@ThriftField(value=2, name="groupId", requiredness=Requiredness.REQUIRED) final int groupId
);
@ThriftMethod(value = "registerDevice",
exception = {
@ThriftException(type=ServiceSecurityException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture registerDevice(
@ThriftField(value=1, name="newDevice", requiredness=Requiredness.OPTIONAL) final DeviceBean newDevice
);
@ThriftMethod(value = "releasePersonToken",
exception = {
@ThriftException(type=ServiceSecurityException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture releasePersonToken(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "releaseRootToken",
exception = {
@ThriftException(type=ServiceSecurityException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture releaseRootToken(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "releaseUserToken",
exception = {
@ThriftException(type=ServiceSecurityException.class, id=1),
@ThriftException(type=ServiceRuntimeException.class, id=2)
})
ListenableFuture releaseUserToken(
@ThriftField(value=1, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "replaceFeature",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture replaceFeature(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId,
@ThriftField(value=2, name="featureMd5", requiredness=Requiredness.OPTIONAL) final String featureMd5,
@ThriftField(value=3, name="deleteOldFeatureImage", requiredness=Requiredness.REQUIRED) final boolean deleteOldFeatureImage,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "rootGroupOfDevice",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture rootGroupOfDevice(
@ThriftField(value=1, name="deviceId", requiredness=Requiredness.REQUIRED) final int deviceId
);
@ThriftMethod(value = "rootGroupOfDeviceGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture rootGroupOfDeviceGroup(
@ThriftField(value=1, name="groupId", requiredness=Requiredness.REQUIRED) final int groupId
);
@ThriftMethod(value = "rootGroupOfPerson",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture rootGroupOfPerson(
@ThriftField(value=1, name="personId", requiredness=Requiredness.REQUIRED) final int personId
);
@ThriftMethod(value = "rootGroupOfPersonGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture rootGroupOfPersonGroup(
@ThriftField(value=1, name="groupId", requiredness=Requiredness.REQUIRED) final int groupId
);
@ThriftMethod(value = "runCmd",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture runCmd(
@ThriftField(value=1, name="target", requiredness=Requiredness.OPTIONAL) final List target,
@ThriftField(value=2, name="group", requiredness=Requiredness.REQUIRED) final boolean group,
@ThriftField(value=3, name="cmdpath", requiredness=Requiredness.OPTIONAL) final String cmdpath,
@ThriftField(value=4, name="jsonArgs", requiredness=Requiredness.OPTIONAL) final String jsonArgs,
@ThriftField(value=5, name="ackChannel", requiredness=Requiredness.OPTIONAL) final String ackChannel,
@ThriftField(value=6, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "runTask",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture runTask(
@ThriftField(value=1, name="taskQueue", requiredness=Requiredness.OPTIONAL) final String taskQueue,
@ThriftField(value=2, name="cmdpath", requiredness=Requiredness.OPTIONAL) final String cmdpath,
@ThriftField(value=3, name="jsonArgs", requiredness=Requiredness.OPTIONAL) final String jsonArgs,
@ThriftField(value=4, name="ackChannel", requiredness=Requiredness.OPTIONAL) final String ackChannel,
@ThriftField(value=5, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "runTaskSync",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture runTaskSync(
@ThriftField(value=1, name="taskQueue", requiredness=Requiredness.OPTIONAL) final String taskQueue,
@ThriftField(value=2, name="cmdpath", requiredness=Requiredness.OPTIONAL) final String cmdpath,
@ThriftField(value=3, name="jsonArgs", requiredness=Requiredness.OPTIONAL) final String jsonArgs,
@ThriftField(value=4, name="timeoutSecs", requiredness=Requiredness.REQUIRED) final int timeoutSecs,
@ThriftField(value=5, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "saveDevice",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture saveDevice(
@ThriftField(value=1, name="deviceBean", requiredness=Requiredness.OPTIONAL) final DeviceBean deviceBean,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "saveDeviceGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture saveDeviceGroup(
@ThriftField(value=1, name="deviceGroupBean", requiredness=Requiredness.OPTIONAL) final DeviceGroupBean deviceGroupBean,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "savePermit",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture savePermit(
@ThriftField(value=1, name="permitBean", requiredness=Requiredness.OPTIONAL) final PermitBean permitBean,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "savePermitWithColumn",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture savePermitWithColumn(
@ThriftField(value=1, name="deviceGroupId", requiredness=Requiredness.REQUIRED) final int deviceGroupId,
@ThriftField(value=2, name="personGroupId", requiredness=Requiredness.REQUIRED) final int personGroupId,
@ThriftField(value=3, name="column", requiredness=Requiredness.OPTIONAL) final String column,
@ThriftField(value=4, name="value", requiredness=Requiredness.OPTIONAL) final String value,
@ThriftField(value=5, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "savePerson",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture savePerson(
@ThriftField(value=1, name="personBean", requiredness=Requiredness.OPTIONAL) final PersonBean personBean,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "savePersonFull",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture savePersonFull(
@ThriftField(value=1, name="personBean", requiredness=Requiredness.OPTIONAL) final PersonBean personBean,
@ThriftField(value=2, name="idPhoto", requiredness=Requiredness.OPTIONAL) final byte [] idPhoto,
@ThriftField(value=3, name="feature", requiredness=Requiredness.OPTIONAL) final byte [] feature,
@ThriftField(value=4, name="featureVersion", requiredness=Requiredness.OPTIONAL) final String featureVersion,
@ThriftField(value=5, name="featureImage", requiredness=Requiredness.OPTIONAL) final byte [] featureImage,
@ThriftField(value=6, name="faceBean", requiredness=Requiredness.OPTIONAL) final FaceBean faceBean,
@ThriftField(value=7, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "savePersonGroup",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture savePersonGroup(
@ThriftField(value=1, name="personGroupBean", requiredness=Requiredness.OPTIONAL) final PersonGroupBean personGroupBean,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "savePersonWithPhoto",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture savePersonWithPhoto(
@ThriftField(value=1, name="personBean", requiredness=Requiredness.OPTIONAL) final PersonBean personBean,
@ThriftField(value=2, name="idPhoto", requiredness=Requiredness.OPTIONAL) final byte [] idPhoto,
@ThriftField(value=3, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "savePersonWithPhotoAndExtractFeature",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture savePersonWithPhotoAndExtractFeature(
@ThriftField(value=1, name="personBean", requiredness=Requiredness.OPTIONAL) final PersonBean personBean,
@ThriftField(value=2, name="idPhoto", requiredness=Requiredness.OPTIONAL) final byte [] idPhoto,
@ThriftField(value=3, name="exractFeature", requiredness=Requiredness.REQUIRED) final boolean exractFeature,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "savePersonWithPhotoAndFeature",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture savePersonWithPhotoAndFeature(
@ThriftField(value=1, name="personBean", requiredness=Requiredness.OPTIONAL) final PersonBean personBean,
@ThriftField(value=2, name="idPhoto", requiredness=Requiredness.OPTIONAL) final byte [] idPhoto,
@ThriftField(value=3, name="featureBean", requiredness=Requiredness.OPTIONAL) final FeatureBean featureBean,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "savePersonWithPhotoAndFeatureMultiFaces",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture savePersonWithPhotoAndFeatureMultiFaces(
@ThriftField(value=1, name="personBean", requiredness=Requiredness.OPTIONAL) final PersonBean personBean,
@ThriftField(value=2, name="idPhoto", requiredness=Requiredness.OPTIONAL) final byte [] idPhoto,
@ThriftField(value=3, name="feature", requiredness=Requiredness.OPTIONAL) final byte [] feature,
@ThriftField(value=4, name="featureVersion", requiredness=Requiredness.OPTIONAL) final String featureVersion,
@ThriftField(value=5, name="faceBeans", requiredness=Requiredness.OPTIONAL) final List faceBeans,
@ThriftField(value=6, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "savePersonWithPhotoAndFeatureMultiImage",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture savePersonWithPhotoAndFeatureMultiImage(
@ThriftField(value=1, name="personBean", requiredness=Requiredness.OPTIONAL) final PersonBean personBean,
@ThriftField(value=2, name="idPhoto", requiredness=Requiredness.OPTIONAL) final byte [] idPhoto,
@ThriftField(value=3, name="feature", requiredness=Requiredness.OPTIONAL) final byte [] feature,
@ThriftField(value=4, name="featureVersion", requiredness=Requiredness.OPTIONAL) final String featureVersion,
@ThriftField(value=5, name="photos", requiredness=Requiredness.OPTIONAL) final List photos,
@ThriftField(value=6, name="faces", requiredness=Requiredness.OPTIONAL) final List faces,
@ThriftField(value=7, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "savePersonWithPhotoAndFeatureSaved",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture savePersonWithPhotoAndFeatureSaved(
@ThriftField(value=1, name="personBean", requiredness=Requiredness.OPTIONAL) final PersonBean personBean,
@ThriftField(value=2, name="idPhotoMd5", requiredness=Requiredness.OPTIONAL) final String idPhotoMd5,
@ThriftField(value=3, name="featureMd5", requiredness=Requiredness.OPTIONAL) final String featureMd5,
@ThriftField(value=4, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "savePersons",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture savePersons(
@ThriftField(value=1, name="persons", requiredness=Requiredness.OPTIONAL) final List persons,
@ThriftField(value=2, name="token", requiredness=Requiredness.OPTIONAL) final Token token
);
@ThriftMethod(value = "savePersonsWithPhoto",
exception = {
@ThriftException(type=ServiceRuntimeException.class, id=1)
})
ListenableFuture