Matterial API Object - Person
com.matterial.mtr.api.object.Person
Constants
Gender
public static final int GENDER_MALE = 1;
public static final int GENDER_FEMALE = 2;
index field
public static final String INDEX_FIELD_ACCOUNT_ID = "accountId";
public static final String INDEX_FIELD_ACCOUNT_LOGIN = "accountLogin";
public static final String INDEX_FIELD_SUPERIOR_ACCOUNT_ID = "superiorAccountId";
public static final String INDEX_FIELD_ACCOUNT_CREATE_TIME_IN_SECONDS = "accountCreateTimeInSeconds";
public static final String INDEX_FIELD_ACCOUNT_LAST_LOGIN_IN_SECONDS = "accountLastLoginInSeconds";
public static final String INDEX_FIELD_INSTANCE_OWNER = "instanceOwner";
public static final String INDEX_FIELD_DEMO = "demo";
public static final String INDEX_FIELD_LIMITED = "limited";
public static final String INDEX_FIELD_ACTIVE = "active";
public static final String INDEX_FIELD_CONTACT_ID = "contactId";
public static final String INDEX_FIELD_FIRST_NAME = "firstName";
public static final String INDEX_FIELD_LAST_NAME = "lastName";
public static final String INDEX_FIELD_POSITION = "position";
public static final String INDEX_FIELD_BIRTHDAY_IN_SECONDS = "birthdayInSeconds";
public static final String INDEX_FIELD_GENDER = "gender";
public static final String INDEX_FIELD_CONTACT_IMAGE = "contactImage";
public static final String INDEX_FIELD_ROLE_PERSONAL = "rolePersonal";
public static final String INDEX_FIELD_ROLE_CLIENT_GATE = "roleClientGate";
public static final String INDEX_FIELD_BIO_DOCUMENT = "bioDocument";
public static final String INDEX_FIELD_ROLES_FUNCTIONAL = "rolesFunctional";
public static final String INDEX_FIELD_ROLES_CONTENT = "rolesContent";
public static final String INDEX_FIELD_ROLES_REVIEW = "rolesReview";
public static final String INDEX_FIELD_CLIENTS = "clients";
public static final String INDEX_FIELD_ADDRESSES = "addresses";
public static final String INDEX_FIELD_COMMUNICATION_DATA = "communicationData";
public static final String INDEX_FIELD_CONTACT_IMAGES = "contactImages";
// *** should never be indexed;
public static final String INDEX_FIELD_PARTIAL_UPDATE_INSTANCE_OWNER = "partialUpdateInstanceOwner";
public static final String INDEX_FIELD_PARTIAL_UPDATE_DEMO = "partialUpdateDemo";
public static final String INDEX_FIELD_PARTIAL_UPDATE_LIMITED = "partialUpdateLimited";
public static final String INDEX_FIELD_PARTIAL_UPDATE_ACTIVE = "partialUpdateActive";
public static final String INDEX_FIELD_PARTIAL_UPDATE_LAST_LOGIN = "partialUpdateLastLogin";
public static final String INDEX_FIELD_PARTIAL_UPDATE_ROLES = "partialUpdateRoles";
Order by
public static final String ORDER_BY_ACCOUNT_ID = "id";
public static final String ORDER_BY_ACCOUNT_LOGIN = "login";
public static final String ORDER_BY_ACCOUNT_ACTIVE = "active";
public static final String ORDER_BY_ACCOUNT_CREATE_TIME = "createTime";
public static final String ORDER_BY_ACCOUNT_LAST_LOGIN = "lastLogin";
public static final String ORDER_BY_CONTACT_LAST_NAME = "lastName";
public static final String ORDER_BY_CONTACT_FIRST_NAME = "firstName";
public static final String ORDER_BY_AUTHORSHIP_LAST_WRITE_DATE = "lastWrite";
Partial update
private static final List<String> PARTIAL_UPDATE_KEYSET_INSTANCE_OWNER = Arrays.asList(INDEX_FIELD_INSTANCE_OWNER);
private static final List<String> PARTIAL_UPDATE_KEYSET_DEMO = Arrays.asList(INDEX_FIELD_DEMO);
private static final List<String> PARTIAL_UPDATE_KEYSET_LIMITED = Arrays.asList(INDEX_FIELD_LIMITED);
private static final List<String> PARTIAL_UPDATE_KEYSET_ACTIVE = Arrays.asList(INDEX_FIELD_ACTIVE);
private static final List<String> PARTIAL_UPDATE_KEYSET_LAST_LOGIN = Arrays.asList(INDEX_FIELD_ACCOUNT_LAST_LOGIN_IN_SECONDS,
INDEX_FIELD_ACTIVE);
private static final List<String> PARTIAL_UPDATE_KEYSET_ROLES = Arrays.asList(INDEX_FIELD_ROLES_CONTENT,
INDEX_FIELD_ROLES_FUNCTIONAL,
INDEX_FIELD_ROLES_REVIEW);