public interface DiscoveredPortalQuery extends PortalObjectListQuery<DiscoveredPortal>
Modifier and Type | Method and Description |
---|---|
void |
setAdmin(boolean admin)
Sets whether the query is for an admin user.
|
void |
setAll(boolean all)
Sets whether the query should query all the portls or just a subset based on the values of the other flags
|
void |
setClosed(java.lang.Boolean closed)
Sets whether the query should include or exclude closed portals.
|
void |
setDiscoverable(boolean discoverable)
Sets whether the query the discoverable portals.
|
void |
setJoined(boolean joined)
Sets whether the query the portals joined by the current user.
|
void |
setModerated(boolean moderated)
Sets whether the query the portals moderated by the current user.
|
void |
setNameContains(java.lang.String nameContains)
Sets a name contains filter.
|
void |
setPublic(boolean showPublic)
Sets whether the public portals.
|
void |
setSearchFilter(java.lang.String searchFilter)
Sets a search filter.
|
execute, getResultList, setLimit, setOffset, setOrder
getPortal, getQueryType, setPortal
void setAll(boolean all)
all
- true to query all portals, otherwise falsevoid setDiscoverable(boolean discoverable)
all
flag is set to true then this setting will be ignored.discoverable
- true to query the discoverable portals, otherwise falsevoid setModerated(boolean moderated)
all
flag is set to true then this setting will be ignored.moderated
- true to query the moderated portals, otherwise falsevoid setPublic(boolean showPublic)
all
flag is set to true then this setting will be ignored.showPublic
- true to query the public portals, otherwise falsevoid setJoined(boolean joined)
all
flag is set to true then this setting will be ignored.joined
- true to query the joined portals, otherwise falsevoid setAdmin(boolean admin)
admin
- true if the user is an admin user, otherwise falsevoid setSearchFilter(java.lang.String searchFilter)
searchFilter
- the text to matchvoid setNameContains(java.lang.String nameContains)
nameContains
- the name to matchvoid setClosed(java.lang.Boolean closed)
closed
- true to query portals with the closed flag set to true, false to query portals with the closed flag set to false, otherwise null.