public class Entries extends HasEntry
Modifier and Type | Method and Description |
---|---|
protected List<Long> |
getCollectionEntries(String collection,
boolean all,
EntryType type) |
List<Long> |
getEntriesFromSelectionContext(EntrySelection context) |
protected List<Long> |
getFolderEntries(long folderId,
boolean all,
EntryType type) |
protected List<Long> |
getSearchResults(SearchQuery searchQuery) |
List<Long> |
updateVisibility(List<Long> entryIds,
Visibility visibility) |
List<ParsedEntryId> |
validateEntries(InputStream stream) |
public Entries(String userId)
userId
- unique identifier for user creating permissions. Must have write privileges on the entry
if one existspublic List<Long> updateVisibility(List<Long> entryIds, Visibility visibility)
public List<Long> getEntriesFromSelectionContext(EntrySelection context)
public List<ParsedEntryId> validateEntries(InputStream stream) throws IOException
stream
- csv file input streamIOException
protected List<Long> getCollectionEntries(String collection, boolean all, EntryType type)
protected List<Long> getSearchResults(SearchQuery searchQuery)
Copyright © 2017. All rights reserved.