Matterial API Object - TrackingItem
com.matterial.mtr.api.object.TrackingItem
Constants
Index type
public static final String INDEX_TYPE_NAME = TrackingItem.class.getSimpleName().toLowerCase();
Index field
public static final String INDEX_FIELD_ID = "id";
/** accountId - this.loginBean.getAccountId() */
public static final String INDEX_FIELD_USER_ID = "userId";
/** objectId - id of handled Identifiable */
public static final String INDEX_FIELD_OBJECT_ID = "objectId";
/** creationDate in seconds - Instant.now().getEpochSecond() */
public static final String INDEX_FIELD_CREATION_DATE_IN_SECONDS = "creationDateInSeconds";
public static final String INDEX_FIELD_CREATION_DATE = "creationDate";
/** sessionId - this.loginBean.getSessionId() */
public static final String INDEX_FIELD_SESSION_ID = "sessionId";
/** applicationType - always `MTR` */
public static final String INDEX_FIELD_APP_TYPE = "appType";
/** applicationInstance - instance + client - this.loginBean.getCurrentDataSourceName()+":"+this.loginBean.getClientId() */
public static final String INDEX_FIELD_APP_INSTANCE = "appInstance";
/** actionType - related object */
public static final String INDEX_FIELD_ACTION_TYPE = "actionType";
/** actionId - method-name */
public static final String INDEX_FIELD_ACTION_ID = "actionId";
/** reference - Handled Type + id OR param-name + id - actionType+": "+bean.getId() / paramName+": "+param */
public static final String INDEX_FIELD_OBJECT_REF = "objectRef";
/** context - RestResource ( - "Resource") */
public static final String INDEX_FIELD_APP_CONTEXT = "appContext";
/** currently unused */
public static final String INDEX_FIELD_CHANGE_LOG = "changeLog";
Order by
public static final String ORDER_BY_ID = "id";
public static final String ORDER_BY_DATE = "date";