public class CollectionEntries extends Object
Constructor and Description |
---|
CollectionEntries(String userId,
CollectionType type) |
Modifier and Type | Method and Description |
---|---|
protected Results<PartData> |
getAvailableEntries(ColumnField field,
boolean asc,
int offset,
int limit,
String filter)
Retrieves entries available to user.
|
Results<PartData> |
getEntries(ColumnField field,
boolean asc,
int offset,
int limit)
Retrieves list of entries without filter text
getEntries which this delegates to with
null filter value |
Results<PartData> |
getEntries(ColumnField field,
boolean asc,
int offset,
int limit,
String filter)
Retrieves parts (paged and sorted by the specified parameter values) based on the type of collection.
|
protected Results<PartData> |
getEntriesByVisibility(Visibility visibility,
ColumnField field,
boolean asc,
int offset,
int limit,
String user,
String filter)
Retrieves entries by the specified visibility.
|
protected Results<PartData> |
getPersonalEntries(ColumnField field,
boolean asc,
int offset,
int limit,
String filter)
Retrieves entries owned by user
|
protected Results<PartData> |
getSharedEntries(ColumnField field,
boolean asc,
int offset,
int limit,
String filter)
Retrieves entries shared with user.
|
public CollectionEntries(String userId, CollectionType type)
public Results<PartData> getEntries(ColumnField field, boolean asc, int offset, int limit)
getEntries
which this delegates to with
null filter valuefield
- sort fieldasc
- sort orderoffset
- paging startlimit
- maximum number of entries to retrievepublic Results<PartData> getEntries(ColumnField field, boolean asc, int offset, int limit, String filter)
field
- sort fieldasc
- sort orderoffset
- paging startlimit
- maximum number of entries to retrievefilter
- optional textprotected Results<PartData> getPersonalEntries(ColumnField field, boolean asc, int offset, int limit, String filter)
field
- sort fieldasc
- sort orderoffset
- paging startlimit
- maximum number of entries to retrievefilter
- optional text to filter entries byPermissionException
- on null user id which is required for owner entriesprotected Results<PartData> getAvailableEntries(ColumnField field, boolean asc, int offset, int limit, String filter)
field
- sort fieldasc
- sort orderoffset
- paging startlimit
- maximum number of entries to retrievefilter
- optional text to filter entries byprotected Results<PartData> getSharedEntries(ColumnField field, boolean asc, int offset, int limit, String filter)
field
- sort fieldasc
- sort order ascending if true, descending if falseoffset
- paging parameter startlimit
- maximum number of entries to retrievefilter
- optional text to filter entries byprotected Results<PartData> getEntriesByVisibility(Visibility visibility, ColumnField field, boolean asc, int offset, int limit, String user, String filter)
Visibility
is used to create
collections of entriesvisibility
- visibility to retrieve entries byfield
- sort fieldasc
- sort orderoffset
- paging startlimit
- maximum number of entries to retrieveuser
- additional user filterfilter
- optional text to filter entries byCopyright © 2017. All rights reserved.