public interface JobConstrainerEnablerFoundrySession extends OsidSession
This session provides methods to retrieve JobConstrainerEnabler
to Foundry
mappings. A JobConstrainerEnabler
may appear in multiple Foundry
objects. Each
foundry may have its own authorizations governing who is allowed to look
at it.
This lookup session defines several views:
Modifier and Type | Method and Description |
---|---|
boolean |
canLookupJobConstrainerEnablerFoundryMappings()
Tests if this user can perform lookups of job constrainer
enabler/foundry mappings.
|
IdList |
getFoundryIdsByJobConstrainerEnabler(Id jobConstrainerEnablerId)
Gets the
Foundry Ids mapped to a
JobConstrainerEnabler. |
FoundryList |
getFoundrysByJobConstrainerEnabler(Id jobConstrainerEnablerId)
Gets the
Foundries mapped to a
JobConstrainerEnabler. |
IdList |
getJobConstrainerEnablerIdsByFoundries(IdList foundryIds)
Gets the list of
JobConstrainerEnabler Ids
corresponding to a list of Foundries. |
IdList |
getJobConstrainerEnablerIdsByFoundry(Id foundryId)
Gets the list of
JobConstrainerEnablerIds associated
with a Foundry. |
JobConstrainerEnablerList |
getJobConstrainerEnablersByFoundries(IdList foundryIds)
Gets the list of job constrainer enablers corresponding to a list of
Foundries. |
JobConstrainerEnablerList |
getJobConstrainerEnablersByFoundry(Id foundryId)
Gets the list of job constrainer enablers associated with a
Foundry. |
void |
useComparativeJobConstrainerEnablerFoundryView()
The returns from the lookup methods may omit or translate elements
based on this session, such as authorization, and not result in an
error.
|
void |
usePlenaryJobConstrainerEnablerFoundryView()
A complete view of the
JobConstrainerEnabler and
Foundry returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
boolean canLookupJobConstrainerEnablerFoundryMappings()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer lookup operations to
unauthorized users. false
if looking up mappings is not authorized,
true
otherwisemandatory
- This method must be implemented. void useComparativeJobConstrainerEnablerFoundryView()
mandatory
- This method is must be implemented. void usePlenaryJobConstrainerEnablerFoundryView()
JobConstrainerEnabler
and
Foundry
returns is desired. Methods will return what is
requested or result in an error. This view is used when greater
precision is desired at the expense of interoperability.mandatory
- This method is must be implemented. IdList getJobConstrainerEnablerIdsByFoundry(Id foundryId) throws NotFoundException, OperationFailedException, PermissionDeniedException
JobConstrainerEnablerIds
associated
with a Foundry.
foundryId
- Id
of the Foundry
Ids
NotFoundException
- foundryId
is not
foundNullArgumentException
- foundryId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. JobConstrainerEnablerList getJobConstrainerEnablersByFoundry(Id foundryId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Foundry.
foundryId
- Id
of the Foundry
NotFoundException
- foundryId
is not
foundNullArgumentException
- foundryId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IdList getJobConstrainerEnablerIdsByFoundries(IdList foundryIds) throws OperationFailedException, PermissionDeniedException
JobConstrainerEnabler Ids
corresponding to a list of Foundries.
foundryIds
- list of foundry Ids
Ids
NullArgumentException
- foundryIds
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. JobConstrainerEnablerList getJobConstrainerEnablersByFoundries(IdList foundryIds) throws OperationFailedException, PermissionDeniedException
Foundries.
foundryIds
- list of foundry Ids
NullArgumentException
- foundryIds
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IdList getFoundryIdsByJobConstrainerEnabler(Id jobConstrainerEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Foundry
Ids
mapped to a
JobConstrainerEnabler.
jobConstrainerEnablerId
- Id
of a
JobConstrainerEnabler
NotFoundException
- jobConstrainerEnablerId
is not foundNullArgumentException
- jobConstrainerEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. FoundryList getFoundrysByJobConstrainerEnabler(Id jobConstrainerEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Foundries
mapped to a
JobConstrainerEnabler.
jobConstrainerEnablerId
- Id
of a
JobConstrainerEnabler
NotFoundException
- jobConstrainerEnablerId
is not foundNullArgumentException
- jobConstrainerEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.