public interface ProfileQuerySession extends OsidSession
This session provides methods for searching among Profile
objects. The search query is constructed using the
ProfileQuery.
Profiles may have a profile record indicated by their respective
record types. The profile record is accessed via the ProfileQuery.
Modifier and Type | Method and Description |
---|---|
boolean |
canSearchProfiles()
Tests if this user can perform
Profile searches. |
ProfileQuery |
getProfileQuery()
Gets a profile query.
|
ProfileList |
getProfilesByQuery(ProfileQuery profileQuery)
Gets a list of
Profiles matching the given profile
query. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
boolean canSearchProfiles()
Profile
searches. A
return of true does not guarantee successful authorization. A return
of false indicates that it is known all methods in this session will
result in a PERMISSION_DENIED.
This is intended as a
hint to an application that may opt not to offer search operations to
unauthorized users. false
if search methods are not authorized,
true
otherwisemandatory
- This method must be implemented. ProfileQuery getProfileQuery()
mandatory
- This method must be implemented. ProfileList getProfilesByQuery(ProfileQuery profileQuery) throws OperationFailedException, PermissionDeniedException
Profiles
matching the given profile
query.profileQuery
- the profile query ProfileList
NullArgumentException
- profileQuery
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- profileQuery
is
not of this servicemandatory
- This method must be implemented.