public interface StepForm extends OsidGovernatorForm, OsidSubjugateableForm
This is the form for creating and updating Steps. Like
all OsidForm objects, various data elements may be set here
for use in the create and update methods in the StepAdminSession.
For each data element that may be set, metadata may be examined to
provide display hints or data constraints.
| Modifier and Type | Method and Description |
|---|---|
void |
clearInputStates()
Removes the input states.
|
void |
clearNextState()
Removes the next state.
|
Metadata |
getInputStatesMetadata()
Gets the metadata for the input states.
|
Metadata |
getNextStateMetadata()
Gets the metadata for the next state.
|
StepFormRecord |
getStepFormRecord(Type stepRecordType)
Gets the
StepFormRecord corresponding to the given step
record Type. |
void |
seInputStates(IdList stateIds)
Sets the input states.
|
void |
setNextState(Id stateId)
Sets the next state.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypegetRequiredRecordTypesgetRecordTypes, hasRecordTypegetDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentclearDisabled, clearEnabled, getDisabledMetadata, getEnabledMetadata, setDisabled, setEnabledclearBranding, clearLicense, clearProvider, getBrandingMetadata, getLicenseMetadata, getProviderMetadata, setBranding, setLicense, setProviderMetadata getInputStatesMetadata()
mandatory - This method must be implemented. void seInputStates(IdList stateIds)
stateIds - the new input statesInvalidArgumentException - stateId is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - stateId is
null mandatory - This method must be implemented. void clearInputStates()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented. Metadata getNextStateMetadata()
mandatory - This method must be implemented. void setNextState(Id stateId)
stateId - the new next stateInvalidArgumentException - stateId is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - stateId is
null mandatory - This method must be implemented. void clearNextState()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented. StepFormRecord getStepFormRecord(Type stepRecordType) throws OperationFailedException
StepFormRecord corresponding to the given step
record Type. stepRecordType - a step record typeNullArgumentException - stepRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(stepRecordType) is false mandatory - This method must be implemented.