Interface QueueForm
- All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidGovernatorForm, OsidIdentifiableForm, OsidObjectForm, OsidOperableForm, OsidSourceableForm, Suppliable
- All Known Subinterfaces:
QueueBatchForm
This is the form for creating and updating Queues.Like all
OsidForm objects, various data elements may be set here for use in
the create and update methods in the QueueAdminSession. For each
data element that may be set, metadata may be examined to provide display
hints or data constraints.
Like all OsidForms, QueueForm is stateful and must not
be accessed by multiple processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves the managers.Gets the metadata for the managers.getQueueFormRecord(Type queueRecordType) Gets theQueueFormRecordcorresponding to the given queue recordType.voidsetManagers(IdList managerIds) Sets the managers.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface OsidExtensibleForm
getRequiredRecordTypesMethods inherited from interface OsidForm
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocaleMethods inherited from interface OsidObjectForm
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypeMethods inherited from interface OsidOperableForm
clearDisabled, clearEnabled, getDisabledMetadata, getEnabledMetadata, setDisabled, setEnabledMethods inherited from interface OsidSourceableForm
clearBranding, clearLicense, clearProvider, getBrandingMetadata, getLicenseMetadata, getProviderMetadata, setBranding, setLicense, setProvider
-
Method Details
-
getManagersMetadata
Metadata getManagersMetadata()Gets the metadata for the managers.- Returns:
- metadata for the managers
- Compliance:
mandatory- This method must be implemented.
-
setManagers
Sets the managers.- Parameters:
managerIds- the new managers- Throws:
InvalidArgumentException-managerIdsis invalidNoAccessException-Metadata.isReadOnly()istrueNullArgumentException-managerIdsisnull- Compliance:
mandatory- This method must be implemented.
-
clearManagers
void clearManagers()Removes the managers.- Throws:
NoAccessException-Metadata.isRequired()istrueorMetadata.isReadOnly()istrue- Compliance:
mandatory- This method must be implemented.
-
getQueueFormRecord
Gets theQueueFormRecordcorresponding to the given queue recordType.- Parameters:
queueRecordType- a queue record type- Returns:
- the queue form record
- Throws:
NullArgumentException-queueRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(queueRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-