public interface BranchedIssueAdminSession extends OsidSession
This session branches issues.
| Modifier and Type | Method and Description |
|---|---|
Issue |
branchIssue(Id issueId)
Branches an
Issue. |
boolean |
canBranchIssues()
Tests if this user can branch
Issues. |
void |
copyLogEntry(Id branchedIssueId,
Id logEntryId)
Copies a log entry from the root issue to be visible in the branched
issue.
|
FrontOffice |
getFrontOffice()
Gets the
FrontOffice associated with this session. |
Id |
getFrontOfficeId()
Gets the
FrontOffice Id associated with
this session. |
void |
removeLogEntry(Id branchedIssueId,
Id logEntryId)
Removes a log entry from the branch issue.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getFrontOfficeId()
FrontOffice Id associated with
this session. FrontOffice Id associated with this sessionmandatory - This method must be implemented. FrontOffice getFrontOffice() throws OperationFailedException, PermissionDeniedException
FrontOffice associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canBranchIssues()
Issues. A return of true
does not guarantee successful authorization. A return of false
indicates that it is known creating a subtask will result in a
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer branching operations to an
unauthorized user. false if Issue branching is not
authorized, true otherwisemandatory - This method must be implemented. Issue branchIssue(Id issueId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Issue. The new issue is initialized with
all the data from the root issue except for the log entries.issueId - the Id of the Issue Issue NotFoundException - issueId not foundNullArgumentException - issueId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void copyLogEntry(Id branchedIssueId, Id logEntryId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
branchedIssueId - the Id of the Issue
logEntryId - the Id of the Issue AlreadyExistsException - branchedIssueId
already has logEntryId NotFoundException - branchedIssueId or
logEntryId not foundNullArgumentException - branchedIssueId
or logEntryId is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void removeLogEntry(Id branchedIssueId, Id logEntryId) throws NotFoundException, OperationFailedException, PermissionDeniedException
branchedIssueId - the Id of the Issue
logEntryId - the Id of the Issue NotFoundException - logEntryId is not in
branchedIssueId NullArgumentException - branchedIssueId
or logEntryId is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.