Interface OsidEnablerForm

All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, OsidOperableForm, OsidRuleForm, OsidTemporalForm, Suppliable
All Known Subinterfaces:
ActionEnablerForm, AuctionConstrainerEnablerForm, AuctionProcessorEnablerForm, AuditConstrainerEnablerForm, AuditEnablerForm, AuditProcessorEnablerForm, AuthorizationEnablerForm, AvailabilityEnablerForm, BallotConstrainerEnablerForm, BidEnablerForm, BrokerConstrainerEnablerForm, BrokerEnablerForm, BrokerProcessorEnablerForm, CanonicalUnitEnablerForm, CanonicalUnitProcessorEnablerForm, CatalogEnablerForm, CommissionEnablerForm, CommitmentEnablerForm, CompositionEnablerForm, ContactEnablerForm, DemographicEnablerForm, DeviceEnablerForm, DispatchConstrainerEnablerForm, DispatchEnablerForm, DispatchProcessorEnablerForm, EdgeEnablerForm, HoldEnablerForm, InputEnablerForm, InquiryEnablerForm, InstructionForm, IssueConstrainerEnablerForm, IssueEnablerForm, IssueProcessorEnablerForm, JobConstrainerEnablerForm, JobProcessorEnablerForm, ObstacleEnablerForm, OfferingConstrainerEnablerForm, OffsetEventEnablerForm, OsidEffectuatorForm, OsidOperatorForm, OsidRuleApplicatorForm, ParameterProcessorEnablerForm, PoolConstrainerEnablerForm, PoolEnablerForm, PoolProcessorEnablerForm, PriceEnablerForm, ProcessConstrainerEnablerForm, ProcessEnablerForm, ProcessProcessorEnablerForm, ProfileEntryEnablerForm, ProvisionableEnablerForm, ProvisionEnablerForm, QueueConstrainerEnablerForm, QueueConstrainerEnablerForm, QueueEnablerForm, QueueEnablerForm, QueueProcessorEnablerForm, QueueProcessorEnablerForm, RaceConstrainerEnablerForm, RaceProcessorEnablerForm, RecurringEventEnablerForm, RelationshipEnablerForm, RequisiteForm, SequenceRuleEnablerForm, SignalEnablerForm, SpeedZoneEnablerForm, StepConstrainerEnablerForm, StepEnablerForm, StepProcessorEnablerForm, SubscriptionEnablerForm, SupersedingEventEnablerForm, TriggerEnablerForm, ValueEnablerForm, VoteEnablerForm

public interface OsidEnablerForm extends OsidRuleForm, OsidTemporalForm

This form is used to create and update enablers.

  • Method Details

    • getRequirementMetadata

      Metadata getRequirementMetadata()
      Gets the metadata for the requirement flag.
      Returns:
      metadata for the requirement flag
      Compliance:
      mandatory - This method must be implemented.
    • setRequirement

      void setRequirement(boolean requirement)
      Sets the requirement flag.
      Parameters:
      requirement - the new requirement flag
      Throws:
      InvalidArgumentException - requirement is invalid
      NoAccessException - Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • clearRequirement

      void clearRequirement()
      Removes the requirement flag.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getScheduleMetadata

      Metadata getScheduleMetadata()
      Gets the metadata for an associated schedule.
      Returns:
      metadata for the schedule
      Compliance:
      mandatory - This method must be implemented.
    • setSchedule

      void setSchedule(Id scheduleId)
      Sets a schedule.
      Parameters:
      scheduleId - the new schedule
      Throws:
      InvalidArgumentException - scheduleId is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - scheduleId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearSchedule

      void clearSchedule()
      Removes the schedule.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getEventMetadata

      Metadata getEventMetadata()
      Gets the metadata for an associated event.
      Returns:
      metadata for the event
      Compliance:
      mandatory - This method must be implemented.
    • setEvent

      void setEvent(Id eventId)
      Sets an event.
      Parameters:
      eventId - the new event
      Throws:
      InvalidArgumentException - eventId is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - eventId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearEvent

      void clearEvent()
      Removes the event.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getCyclicEventMetadata

      Metadata getCyclicEventMetadata()
      Gets the metadata for the cyclic event.
      Returns:
      metadata for the cyclic event
      Compliance:
      mandatory - This method must be implemented.
    • setCyclicEvent

      void setCyclicEvent(Id cyclicEventId)
      Sets the cyclic event.
      Parameters:
      cyclicEventId - the new cyclic event
      Throws:
      InvalidArgumentException - cyclicEventId is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - cyclicEventId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearCyclicEvent

      void clearCyclicEvent()
      Removes the cyclic event.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getTimePeriodPeriodMetadata

      Metadata getTimePeriodPeriodMetadata()
      Gets the metadata for the time period.
      Returns:
      metadata for the time period
      Compliance:
      mandatory - This method must be implemented.
    • setTimePeriod

      void setTimePeriod(Id timePeriodId)
      Sets the time period.
      Parameters:
      timePeriodId - the new time period
      Throws:
      InvalidArgumentException - timePeriodId is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - timePeriodId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearTimePeriod

      void clearTimePeriod()
      Removes the time period.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getCyclicTimePeriodPeriodMetadata

      Metadata getCyclicTimePeriodPeriodMetadata()
      Gets the metadata for the cyclic time period.
      Returns:
      metadata for the cyclic time period
      Compliance:
      mandatory - This method must be implemented.
    • setCyclicTimePeriod

      void setCyclicTimePeriod(Id cyclicTimePeriodId)
      Sets the cyclic time period.
      Parameters:
      cyclicTimePeriodId - the new cyclic time period
      Throws:
      InvalidArgumentException - cyclicTimePeriodId is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - cyclicTimePeriodId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearCyclicTimePeriod

      void clearCyclicTimePeriod()
      Removes the cyclic time period.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.