public interface ParameterProcessorEnablerAdminSession extends OsidSession
This session creates and removes parameter processor enablers. The data
for create and update is provided via the
ParameterProcessorEnablerForm.
| Modifier and Type | Method and Description |
|---|---|
void |
aliasParameterProcessorEnabler(Id parameterProcessorEnablerId,
Id aliasId)
Adds an
Id to a ParameterProcessorEnabler
for the purpose of creating compatibility. |
boolean |
canCreateParameterProcessorEnabler()
Tests if this user can create parameter processor enablers.
|
boolean |
canCreateParameterProcessorEnablerWithRecordTypes(Type[] parameterProcessorEnablerRecordTypes)
Tests if this user can create a single
ParameterProcessorEnabler using the desired record types. |
boolean |
canDeleteParameterProcessorEnablers()
Tests if this user can delete parameter processor enablers.
|
boolean |
canManageParameterProcessorEnablerAliases()
Tests if this user can manage
Id aliases for parameter
processor enablers. |
boolean |
canUpdateParameterProcessorEnablers()
Tests if this user can update parameter processor enablers.
|
ParameterProcessorEnabler |
createParameterProcessorEnabler(ParameterProcessorEnablerForm parameterProcessorEnablerForm)
Creates a new
ParameterProcessorEnabler. |
void |
deleteParameterProcessorEnabler(Id parameterProcessorEnablerId)
Deletes a
ParameterProcessorEnabler. |
Configuration |
getConfiguration()
Gets the
Configuration associated with this session. |
Id |
getConfigurationId()
Gets the
Configuration Id associated
with this session. |
ParameterProcessorEnablerForm |
getParameterProcessorEnablerFormForCreate(Type[] parameterProcessorEnablerRecordTypes)
Gets the parameter processor enabler form for creating new parameter
processor enablers.
|
ParameterProcessorEnablerForm |
getParameterProcessorEnablerFormForUpdate(Id parameterProcessorEnablerId)
Gets the parameter processor enabler form for updating an existing
parameter processor enabler.
|
void |
updateParameterProcessorEnabler(ParameterProcessorEnablerForm parameterProcessorEnablerForm)
Updates an existing parameter processor enabler.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getConfigurationId()
Configuration Id associated
with this session. Configuration Id associated with this
sessionmandatory - This method must be implemented. Configuration getConfiguration() throws OperationFailedException, PermissionDeniedException
Configuration associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canCreateParameterProcessorEnabler()
ParameterProcessorEnabler
will result in a PERMISSION_DENIED. This is
intended as a hint to an application that may opt not to offer create
operations to an unauthorized user. false if ParameterProcessorEnabler
creation is not authorized, true
otherwisemandatory - This method must be implemented. boolean canCreateParameterProcessorEnablerWithRecordTypes(Type[] parameterProcessorEnablerRecordTypes)
ParameterProcessorEnabler using the desired record types.
While
ConfigurationRulesManager.getParameterProcessorEnablerRecordTypes()
can be used to examine which records are supported, this
method tests which record(s) are required for creating a specific
ParameterProcessorEnabler. Providing an empty array
tests if a ParameterProcessorEnabler can be created
with no records.parameterProcessorEnablerRecordTypes - array of parameter
processor enabler record types true if ParameterProcessorEnabler
creation using the specified record Types
is supported, false otherwiseNullArgumentException -
parameterProcessorEnablerRecordTypes is null
mandatory - This method must be implemented. ParameterProcessorEnablerForm getParameterProcessorEnablerFormForCreate(Type[] parameterProcessorEnablerRecordTypes) throws OperationFailedException, PermissionDeniedException
parameterProcessorEnablerRecordTypes - array of parameter
processor enabler record typesNullArgumentException -
parameterProcessorEnablerRecordTypes is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - unable to get form for requested
record typesmandatory - This method must be implemented. ParameterProcessorEnabler createParameterProcessorEnabler(ParameterProcessorEnablerForm parameterProcessorEnablerForm) throws OperationFailedException, PermissionDeniedException
ParameterProcessorEnabler. parameterProcessorEnablerForm - the form for this
ParameterProcessorEnabler ParameterProcessorEnabler IllegalStateException -
parameterProcessorEnablerForm already used in a create
transactionInvalidArgumentException - one or more of the form
elements is invalidNullArgumentException -
parameterProcessorEnablerForm is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException -
parameterProcessorEnablerForm did not originate from
getParameterProcessorEnablerFormForCreate() mandatory - This method must be implemented. boolean canUpdateParameterProcessorEnablers()
ParameterProcessorEnabler
will result in a PERMISSION_DENIED. This is
intended as a hint to an application that may opt not to offer update
operations to an unauthorized user. false if ParameterProcessorEnabler
modification is not authorized, true
otherwisemandatory - This method must be implemented. ParameterProcessorEnablerForm getParameterProcessorEnablerFormForUpdate(Id parameterProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
parameterProcessorEnablerId - the Id of the
ParameterProcessorEnabler NotFoundException - parameterProcessorEnablerId
is not foundNullArgumentException -
parameterProcessorEnablerId is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void updateParameterProcessorEnabler(ParameterProcessorEnablerForm parameterProcessorEnablerForm) throws OperationFailedException, PermissionDeniedException
parameterProcessorEnablerForm - the form containing the elements
to be updatedIllegalStateException -
parameterProcessorEnablerForm already used in an
update transactionInvalidArgumentException - the form contains an invalid
valueNullArgumentException -
parameterProcessorEnablerForm is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException -
parameterProcessorEnablerForm did not originate from
getParameterProcessorEnablerFormForUpdate() mandatory - This method must be implemented. boolean canDeleteParameterProcessorEnablers()
ParameterProcessorEnabler
will result in a PERMISSION_DENIED. This is
intended as a hint to an application that may opt not to offer delete
operations to an unauthorized user. false if ParameterProcessorEnabler
deletion is not authorized, true
otherwisemandatory - This method must be implemented. void deleteParameterProcessorEnabler(Id parameterProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
ParameterProcessorEnabler. parameterProcessorEnablerId - the Id of the
ParameterProcessorEnabler to removeNotFoundException - parameterProcessorEnablerId
not foundNullArgumentException -
parameterProcessorEnablerId is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canManageParameterProcessorEnablerAliases()
Id aliases for parameter
processor enablers. A return of true does not guarantee successful
authorization. A return of false indicates that it is known changing
an alias will result in a PERMISSION_DENIED. This is
intended as a hint to an application that may opt not to offer alias
operations to an unauthorized user. false if ParameterProcessorEnabler
aliasing is not authorized, true
otherwisemandatory - This method must be implemented. void aliasParameterProcessorEnabler(Id parameterProcessorEnablerId, Id aliasId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
Id to a ParameterProcessorEnabler
for the purpose of creating compatibility. The primary
Id of the ParameterProcessorEnabler is
determined by the provider. The new Id performs as an
alias to the primary Id . If the alias is a pointer to
another parameter processor enabler. it is reassigned to the given
parameter processor enabler Id. parameterProcessorEnablerId - the Id of a
ParameterProcessorEnabler aliasId - the alias Id AlreadyExistsException - aliasId is
already assignedNotFoundException - parameterProcessorEnablerId
not foundNullArgumentException -
parameterProcessorEnablerId or aliasId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.