public interface PositionForm extends OsidObjectForm, OsidTemporalForm, OsidSubjugateableForm
This is the form for creating and updating Position
objects. Like all OsidForm
objects, various data elements
may be set here for use in the create and update methods in the
PositionAdminSession.
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 |
clearBenefitsType()
Clears the benefits type.
|
void |
clearCompensationFrequency()
Clears the compensation frequency.
|
void |
clearExempt()
Clears the exempt flag.
|
void |
clearHighSalaryRange()
Clears the high salary.
|
void |
clearLevel()
Clears the level.
|
void |
clearLowSalaryRange()
Clears the low salary.
|
void |
clearMidpointSalaryRange()
Clears the midpoint salary.
|
void |
clearQualifications()
Clears the qualifications.
|
void |
clearRequiredCommitment()
Clears the required commitment.
|
void |
clearTargetAppointments()
Clears the target appointments.
|
void |
clearTitle()
Clears the title.
|
Metadata |
getBenefitsTypeMetadata()
Gets the metadata for a benefits type.
|
Metadata |
getCompensationFrequencyMetadata()
Gets the metadata for a compensation frequency.
|
Metadata |
getExemptMetadata()
Gets the metadata for the exempt flag.
|
Metadata |
getHighSalaryRangeMetadata()
Gets the metadata for a high salary range.
|
Metadata |
getLevelMetadata()
Gets the metadata for a level.
|
Metadata |
getLowSalaryRangeMetadata()
Gets the metadata for a low salary range.
|
Metadata |
getMidpointSalaryRangeMetadata()
Gets the metadata for a midpoint salary range.
|
PositionFormRecord |
getPositionFormRecord(Type positionRecordType)
Gets the
PositionFormRecord interface corresponding to
the given position record Type. |
Metadata |
getQualificationsMetadata()
Gets the metadata for the qualifications.
|
Metadata |
getRequiredCommitmentMetadata()
Gets the metadata for a required commitment.
|
Metadata |
getTargetAppointmenstMetadata()
Gets the metadata for a target appointments.
|
Metadata |
getTitleMetadata()
Gets the metadata for a title.
|
void |
setBenefitsType(Type type)
Sets the benefits type.
|
void |
setCompensationFrequency(Duration frequency)
Sets the compensation frequency.
|
void |
setExempt(boolean eempt)
Sets the exempt flag.
|
void |
setHighSalaryRange(Currency salary)
Sets the high salary range.
|
void |
setLevel(Id gradeId)
Sets the job level.
|
void |
setLowSalaryRange(Currency salary)
Sets the low salary range.
|
void |
setMidpointSalaryRange(Currency salary)
Sets the midpoint salary range.
|
void |
setQualifications(Id[] objectivesIds)
Sets the position qualifications.
|
void |
setRequiredCommitment(long commitment)
Sets the required commitment percentage (0-100).
|
void |
setTargetAppointments(long appointments)
Sets the target appointments.
|
void |
setTitle(java.lang.String title)
Sets the title.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusType
getRequiredRecordTypes
getRecordTypes, hasRecordType
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocale
getId, isCurrent
clearEndDate, clearStartDate, getEndDateMetadata, getStartDateMetadata, setEndDate, setStartDate
Metadata getTitleMetadata()
mandatory
- This method must be implemented. void setTitle(java.lang.String title)
title
- the titleInvalidArgumentException
- title
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- title
is nullmandatory
- This method must be implemented. void clearTitle()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getLevelMetadata()
mandatory
- This method must be implemented. void setLevel(Id gradeId)
gradeId
- the levelInvalidArgumentException
- gradeId
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- gradeId
is nullmandatory
- This method must be implemented. void clearLevel()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getQualificationsMetadata()
mandatory
- This method must be implemented. void setQualifications(Id[] objectivesIds)
objectivesIds
- the learning objective Ids
InvalidArgumentException
- objectiveIds
is invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- objectiveIds
is
nullmandatory
- This method must be implemented. void clearQualifications()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getTargetAppointmenstMetadata()
mandatory
- This method must be implemented. void setTargetAppointments(long appointments)
appointments
- the target appointmentsInvalidArgumentException
- appointments
is invalidNoAccessException
- Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. void clearTargetAppointments()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getRequiredCommitmentMetadata()
mandatory
- This method must be implemented. void setRequiredCommitment(long commitment)
commitment
- the required commitmentInvalidArgumentException
- commitment
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. void clearRequiredCommitment()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getLowSalaryRangeMetadata()
mandatory
- This method must be implemented. void setLowSalaryRange(Currency salary)
salary
- the low salary rangeInvalidArgumentException
- salary
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- salary
is nullmandatory
- This method must be implemented. void clearLowSalaryRange()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getMidpointSalaryRangeMetadata()
mandatory
- This method must be implemented. void setMidpointSalaryRange(Currency salary)
salary
- the midpoint salary rangeInvalidArgumentException
- salary
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- salary
is nullmandatory
- This method must be implemented. void clearMidpointSalaryRange()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getHighSalaryRangeMetadata()
mandatory
- This method must be implemented. void setHighSalaryRange(Currency salary)
salary
- the high salary rangeInvalidArgumentException
- salary
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- salary
is nullmandatory
- This method must be implemented. void clearHighSalaryRange()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getCompensationFrequencyMetadata()
mandatory
- This method must be implemented. void setCompensationFrequency(Duration frequency)
frequency
- the compensation frequencyInvalidArgumentException
- frequency
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- frequency
is
nullmandatory
- This method must be implemented. void clearCompensationFrequency()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getExemptMetadata()
mandatory
- This method must be implemented. void setExempt(boolean eempt)
eempt
- the exempt flagInvalidArgumentException
- exempt
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. void clearExempt()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. Metadata getBenefitsTypeMetadata()
mandatory
- This method must be implemented. void setBenefitsType(Type type)
type
- the benefits typeInvalidArgumentException
- type
is
invalidNoAccessException
- Metadata.isReadOnly()
is true
NullArgumentException
- type
is nullmandatory
- This method must be implemented. void clearBenefitsType()
NoAccessException
- Metadata.isRequired()
or Metadata.isReadOnly()
is true
mandatory
- This method must be implemented. PositionFormRecord getPositionFormRecord(Type positionRecordType) throws OperationFailedException
PositionFormRecord
interface corresponding to
the given position record Type.
positionRecordType
- the position record typeNullArgumentException
- positionRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(positionRecordType)
is false
mandatory
- This method must be implemented.