public interface RaceConstrainerEnablerRuleApplicationSession extends OsidSession
This session provides methods to apply RaceConstrainerEnablers
to RaceConstrainers.
a RaceConstrainer
with multiple RaceConstrainerEnablers
means any
positive rule evaluation across the enablers result in an effective
RaceConstrainer.
Modifier and Type | Method and Description |
---|---|
void |
assignRaceConstrainerEnablerToRaceConstrainer(Id raceConstrainerEnablerId,
Id raceConstrainerId)
Adds an existing
RaceConstrainerEnabler to a
RaceConstrainer. |
boolean |
canAssignRaceConstrainerEnablers()
Tests if this user can alter race constrainer enabler/race constrainer
mappings.
|
boolean |
canSequenceRaceConstrainerEnablers()
Tests if this user can order
RaceConstrainerEnablers. |
Polls |
getPolls()
Gets the
Polls associated with this session. |
Id |
getPollsId()
Gets the
Polls Id associated with this
session. |
void |
moveRaceConstrainerEnablerAhead(Id raceConstrainerEnablerId,
Id raceConstrainerId,
Id referenceId)
Reorders race constrainer enablers for a race constrainer by moving
the specified race constrainer enabler in front of a reference race
constrainer enabler.
|
void |
moveRaceConstrainerEnablerBehind(Id raceConstrainerEnablerId,
Id raceConstrainerId,
Id referenceId)
Reorders race constrainer enablers for a race constrainer by moving
the specified race constrainer enabler behind a reference race
constrainer enabler.
|
void |
orderRaceConstrainerEnablers(Id[] raceConstrainerEnablerIds,
Id raceConstrainerId)
Reorders a set of race constrainer enablers for a race constrainer.
|
void |
unassignRaceConstrainerEnablerFromRaceConstrainer(Id raceConstrainerEnablerId,
Id raceConstrainerId)
Removes a
RaceConstrainerEnabler from a
RaceConstrainer. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getPollsId()
Polls
Id
associated with this
session. Polls Id
associated with this sessionmandatory
- This method must be implemented. Polls getPolls() throws OperationFailedException, PermissionDeniedException
Polls
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canAssignRaceConstrainerEnablers()
PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer lookup operations to unauthorized users. false
if mapping is not authorized, true
otherwisemandatory
- This method must be implemented. void assignRaceConstrainerEnablerToRaceConstrainer(Id raceConstrainerEnablerId, Id raceConstrainerId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
RaceConstrainerEnabler
to a
RaceConstrainer.
raceConstrainerEnablerId
- the Id
of the
RaceConstrainerEnabler
raceConstrainerId
- the Id
of the
RaceConstrainer
AlreadyExistsException
-
raceConstrainerEnablerId
is already applied to
raceConstrainerId
NotFoundException
- raceConstrainerEnablerId
or raceConstrainerId
not foundNullArgumentException
- raceConstrainerEnablerId
or raceConstrainerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void unassignRaceConstrainerEnablerFromRaceConstrainer(Id raceConstrainerEnablerId, Id raceConstrainerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
RaceConstrainerEnabler
from a
RaceConstrainer.
raceConstrainerEnablerId
- the Id
of the
RaceConstrainerEnabler
raceConstrainerId
- the Id
of the
RaceConstrainer
NotFoundException
- raceConstrainerEnablerId
or raceConstrainerId
not found or
raceConstrainerEnablerId
not applied to
raceConstrainerId
NullArgumentException
- raceConstrainerEnablerId
or raceConstrainerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canSequenceRaceConstrainerEnablers()
RaceConstrainerEnablers.
A
return of true does not guarantee successful authorization. A return
of false indicates that it is known sequencing operations will result
in a PERMISSION_DENIED.
This is intended as a hint to
an application that may opt not to offer sequencing operations to an
unauthorized user. false
if RaceConstrainerEnabler
ordering is not authorized, true
otherwisemandatory
- This method must be implemented. void moveRaceConstrainerEnablerAhead(Id raceConstrainerEnablerId, Id raceConstrainerId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
raceConstrainerEnablerId
- the Id
of a
RaceConstrainerEnabler
raceConstrainerId
- the Id
of a
RaceConstrainer
referenceId
- the reference race constrainer enabler Id
NotFoundException
- raceConstrainerEnablerId,
raceConstrainerId,
or referenceId
not
found or, raceConstrainerEnablerId
or
referenceId
not related to raceConstrainerId
NullArgumentException
-
raceConstrainerEnablerId, raceConstrainerId,
or
referenceId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void moveRaceConstrainerEnablerBehind(Id raceConstrainerEnablerId, Id raceConstrainerId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
raceConstrainerEnablerId
- the Id
of a
RaceConstrainerEnabler
raceConstrainerId
- the Id
of a
RaceConstrainer
referenceId
- the reference race constrainer enabler Id
NotFoundException
- raceConstrainerEnablerId,
raceConstrainerId,
or referenceId
not
found or, raceConstrainerEnablerId
or
referenceId
not related to raceConstrainerId
NullArgumentException
-
raceConstrainerEnablerId, raceConstrainerId,
or
referenceId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void orderRaceConstrainerEnablers(Id[] raceConstrainerEnablerIds, Id raceConstrainerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
raceConstrainerEnablerIds
- the Ids
for a set of
RaceConstrainerEnablers
raceConstrainerId
- the Id
of a
RaceConstrainer
NotFoundException
- raceConstrainerId
not found or, a raceConstrainerEnablerId
not
related to raceConstrainerId
NullArgumentException
-
raceConstrainerEnablerIds
or raceConstrainerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.