Package net.atthegate.server.service
Class AssetObjectService
java.lang.Object
net.atthegate.server.service.AssetObjectService
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final SimpleDateFormat
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
assetObjectMeetCondition
(AssetObject object, AssetAction action, Asset asset) static boolean
deleteAllFromIndex
(String queryString) static AssetObjectResult
filterAssetObjects
(Long assetId, List<List<AssetFilter>> assetFilters, String filterStr, String cursorStr) static AssetObject
getAssetObject
(String id) static List<AssetObject>
getAssetObjects
(List<String> ids) static com.google.appengine.api.search.Index
static com.google.appengine.api.search.Document
getDocumentFromAssetObject
(AssetObject assetObject, int i) static void
putAssetObjectsToIndex
(List<AssetObject> assetObjects) static void
putAssetObjectToIndex
(AssetObject assetObject) static AssetObjectResult
searchAssetObjects
(Long assetId, String searchRequest, String cursorStr) validate
(AssetObject assetObject, boolean tagsAllowed)
-
Field Details
-
LIMIT
public static final int LIMIT- See Also:
-
sdf
-
SEARCH_INDEX_NAME
- See Also:
-
-
Constructor Details
-
AssetObjectService
public AssetObjectService()
-
-
Method Details
-
getAssetObjectsIndex
public static com.google.appengine.api.search.Index getAssetObjectsIndex() -
getDocumentFromAssetObject
public static com.google.appengine.api.search.Document getDocumentFromAssetObject(AssetObject assetObject, int i) -
validate
-
putAssetObjectToIndex
-
putAssetObjectsToIndex
-
deleteAllFromIndex
-
getAssetObject
-
getAssetObjects
-
filterAssetObjects
public static AssetObjectResult filterAssetObjects(Long assetId, List<List<AssetFilter>> assetFilters, String filterStr, String cursorStr) -
searchAssetObjects
public static AssetObjectResult searchAssetObjects(Long assetId, String searchRequest, String cursorStr) -
assetObjectMeetCondition
-