public interface IssueFrontOfficeSession extends OsidSession
This session provides methods to retrieve Issue to
FrontOffice mappings. An Issue may appear in
multiple FrontOffice objects. Each front office 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 |
canLookupIssueFrontOfficeMappings()
Tests if this user can perform lookups of issue/front office mappings.
|
IdList |
getFrontOfficeIdsByIssue(Id issueId)
Gets the
FrontOffice Ids frontOfficeped
to an Issue. |
FrontOfficeList |
getFrontOfficesByIssue(Id issueId)
Gets the
FrontOffices frontOfficeped to an
Issue. |
IdList |
getIssueIdsByFrontOffice(Id frontOfficeId)
Gets the list of
Issue Ids associated with a
FrontOffice. |
IdList |
getIssueIdsByFrontOffices(IdList frontOfficeIds)
Gets the list of
Issue Ids corresponding to a list of
FrontOffices. |
IssueList |
getIssuesByFrontOffice(Id frontOfficeId)
Gets the list of
Issues associated with a
FrontOffice. |
IssueList |
getIssuesByFrontOffices(IdList frontOfficeIds)
Gets the list of
Issues corresponding to a list of
FrontOffices. |
void |
useComparativeIssueFrontOfficeView()
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 |
usePlenaryIssueFrontOfficeView()
A complete view of the
Issue and FrontOffice
returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseboolean canLookupIssueFrontOfficeMappings()
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 useComparativeIssueFrontOfficeView()
mandatory - This method is must be implemented. void usePlenaryIssueFrontOfficeView()
Issue and FrontOffice
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 getIssueIdsByFrontOffice(Id frontOfficeId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Issue Ids associated with a
FrontOffice. frontOfficeId - Id of the FrontOffice
Ids NotFoundException - frontOfficeId is not
foundNullArgumentException - frontOfficeId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IssueList getIssuesByFrontOffice(Id frontOfficeId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Issues associated with a
FrontOffice. frontOfficeId - Id of the FrontOffice
NotFoundException - frontOfficeId is not
foundNullArgumentException - frontOfficeId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getIssueIdsByFrontOffices(IdList frontOfficeIds) throws OperationFailedException, PermissionDeniedException
Issue Ids corresponding to a list of
FrontOffices. frontOfficeIds - list of front office Ids Ids NullArgumentException - frontOfficeIds
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IssueList getIssuesByFrontOffices(IdList frontOfficeIds) throws OperationFailedException, PermissionDeniedException
Issues corresponding to a list of
FrontOffices. frontOfficeIds - list of front office Ids NullArgumentException - frontOfficeIds
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getFrontOfficeIdsByIssue(Id issueId) throws NotFoundException, OperationFailedException, PermissionDeniedException
FrontOffice Ids frontOfficeped
to an Issue. issueId - Id of an Issue NotFoundException - issueId is not foundNullArgumentException - issueId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. FrontOfficeList getFrontOfficesByIssue(Id issueId) throws NotFoundException, OperationFailedException, PermissionDeniedException
FrontOffices frontOfficeped to an
Issue. issueId - Id of an Issue NotFoundException - issueId is not foundNullArgumentException - issueId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.