public interface ProfileEntryQuerySession extends OsidSession
This session provides methods for searching ProfileEntry
objects. The search query is constructed using the
ProfileEntryQuery.
This session defines views that offer differing behaviors for searching.
Profiles of which this profile is a ancestor in the
profile hierarchy Profile | Modifier and Type | Method and Description |
|---|---|
boolean |
canSearchProfileEntries()
Tests if this user can perform profile entry searches.
|
Profile |
getProfile()
Gets the
Profile associated with this session. |
ProfileEntryList |
getProfileEntriesByQuery(ProfileEntryQuery profileEntryQuery)
Gets a list of
ProfileEntries matching the given query |
ProfileEntryQuery |
getProfileEntryQuery()
Gets a profile entry query.
|
Id |
getProfileId()
Gets the
Profile Id associated with this
session. |
void |
useExplicitProfileEntryView()
Sets the view for methods in this session to explicit proffile
entries.
|
void |
useFederatedProfileView()
Federates the view for methods in this session.
|
void |
useImplicitProfileEntryView()
Sets the view for methods in this session to implicit profile entry.
|
void |
useIsolatedProfileView()
Isolates the view for methods in this session.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getProfileId()
Profile Id associated with this
session. Profile Id associated with this sessionmandatory - This method must be implemented. Profile getProfile() throws OperationFailedException, PermissionDeniedException
Profile associated with this session. Profile associated with this sessionOperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canSearchProfileEntries()
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. void useFederatedProfileView()
mandatory - This method is must be implemented. void useIsolatedProfileView()
mandatory - This method is must be implemented. void useImplicitProfileEntryView()
ProfileItem or
Resource hierarchies. This method is the opposite of
explicitProfileEntryView(). mandatory - This method is must be implemented. void useExplicitProfileEntryView()
implicitProfileEntryView(). mandatory - This method is must be implemented. ProfileEntryQuery getProfileEntryQuery()
mandatory - This method must be implemented. ProfileEntryList getProfileEntriesByQuery(ProfileEntryQuery profileEntryQuery) throws OperationFailedException, PermissionDeniedException
ProfileEntries matching the given queryprofileEntryQuery - the profile entry query ProfileEntryList NullArgumentException - profileEntryQuery
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - profileEntryQuery
is not of this servicemandatory - This method must be implemented.