public interface FloorSmartCampusSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. A FloorQuery
can be retrieved from this session
and mapped to this Campus
to create a virtual collection of
Floors.
The floors may be sequenced using the
FloorSearchOrder
from this session.
This Campus
has a default query that matches any floor
and a default search order that specifies no sequencing. The queries may
be examined using a FloorQueryInspector.
The query may be
modified by converting the inspector back to a FloorQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyFloorQuery(FloorQuery floorQuery)
Applies a floor query to this campus.
|
void |
applyFloorSequencing(FloorSearchOrder floorSearchOrder)
Applies a floor search order to this campus.
|
boolean |
canManageSmartCampuses()
Tests if this user can manage smart campuses.
|
Campus |
getCampus()
Gets the
Campus associated with this session. |
Id |
getCampusId()
Gets the
Campus Id associated with this
session. |
FloorQuery |
getFloorQuery()
Gets a floor query.
|
FloorQuery |
getFloorQueryFromInspector(FloorQueryInspector floorQueryInspector)
Gets a floor query from an inspector.
|
FloorSearchOrder |
getFloorSearchOrder()
Gets a floor search order.
|
FloorQueryInspector |
inspectFloorQuery()
Gets a floor query inspector for this campus.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getCampusId()
Campus
Id
associated with this
session. Campus Id
associated with this sessionmandatory
- This method must be implemented. Campus getCampus() throws OperationFailedException, PermissionDeniedException
Campus
associated with this session. Campus
associated with this sessionOperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageSmartCampuses()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false
if smart campus management is not
authorized, true
otherwisemandatory
- This method must be implemented. FloorQuery getFloorQuery()
mandatory
- This method must be implemented. FloorSearchOrder getFloorSearchOrder()
mandatory
- This method must be implemented. void applyFloorQuery(FloorQuery floorQuery) throws OperationFailedException, PermissionDeniedException
floorQuery
- the floor queryNullArgumentException
- floorQuery
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- floorQuery
not of
this servicemandatory
- This method must be implemented. FloorQueryInspector inspectFloorQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyFloorSequencing(FloorSearchOrder floorSearchOrder) throws OperationFailedException, PermissionDeniedException
floorSearchOrder
- the floor search orderNullArgumentException
- floorSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- floorSearchOrder
not of this servicemandatory
- This method must be implemented. FloorQuery getFloorQueryFromInspector(FloorQueryInspector floorQueryInspector)
floorQueryInspector
- a query inspectorNullArgumentException
- floorQueryInspector
is null
UnsupportedException
- floorQueryInspector
is not of this servicemandatory
- This method must be implemented.