Package net.atthegate.server.service
Class EntryStatusService
java.lang.Object
net.atthegate.server.service.EntryStatusService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.appengine.api.search.Document
getDocumentFromEntryStatus
(EntryStatus status, Long rollOutCallId) static EntryStatus
getEntryStatus
(String id) static int
getEntryStatusCount
(String uid, Map<String, Object> filter) static com.google.appengine.api.search.Index
static EntryStatusRollOutCall
getRollOutCall
(Long id) static List<EntryStatusRollOutCall>
getRollOutCallList
(String uid) static void
hideEntryStatus
(EntryStatus status) static void
putOnSiteNowToIndex
(String uid, Collection<EntryStatus> statuses) static void
putOnSiteNowToIndex
(String uid, Collection<EntryStatus> statuses, Long rollOutCallId) static void
putOnSiteNowToIndex
(EntryStatus status) static void
putOnSiteNowToIndex
(EntryStatus status, Long rollOutCallId) static void
saveEntryStatus
(AtTheGateAppUser user, AtgEntry mainAtgSavingEntry) static Long
static StatusResult
searchStatuses
(String cursorStr, String searchRequest, boolean sortAsc, Boolean secured) static StatusResult
searchStatuses
(AtTheGateAppUser user, String cursorStr, Map<String, Object> filter, boolean sortAsc, Boolean secured) static void
updateEntryStatusChecked
(String id, boolean checked, Long rollOutCallId) static void
updateEntryStatusChecked
(String uid, Collection<String> ids, boolean checked) Deprecated.static void
updateEntryStatusCustomFields
(String uid, AtgEntry entry)
-
Field Details
-
STATUSES_LIMIT
public static final int STATUSES_LIMIT- See Also:
-
SEARCH_INDEX_NAME
- See Also:
-
-
Constructor Details
-
EntryStatusService
public EntryStatusService()
-
-
Method Details
-
getOnSiteNowIndex
public static com.google.appengine.api.search.Index getOnSiteNowIndex() -
getDocumentFromEntryStatus
public static com.google.appengine.api.search.Document getDocumentFromEntryStatus(EntryStatus status, Long rollOutCallId) -
putOnSiteNowToIndex
-
putOnSiteNowToIndex
-
putOnSiteNowToIndex
-
putOnSiteNowToIndex
public static void putOnSiteNowToIndex(String uid, Collection<EntryStatus> statuses, Long rollOutCallId) -
saveEntryStatus
-
updateEntryStatusCustomFields
-
updateEntryStatusChecked
-
updateEntryStatusChecked
@Deprecated public static void updateEntryStatusChecked(String uid, Collection<String> ids, boolean checked) Deprecated. -
getEntryStatus
-
hideEntryStatus
-
getEntryStatusCount
-
getDeviceNames
-
searchStatuses
public static StatusResult searchStatuses(String cursorStr, String searchRequest, boolean sortAsc, Boolean secured) -
searchStatuses
public static StatusResult searchStatuses(AtTheGateAppUser user, String cursorStr, Map<String, Object> filter, boolean sortAsc, Boolean secured) -
getRollOutCallList
-
saveRollOutCall
-
getRollOutCall
-