Package net.pricefx.domain
Enum Class AttachedDocument.DocumentStatus
- All Implemented Interfaces:
Serializable,Comparable<AttachedDocument.DocumentStatus>,Constable
- Enclosing class:
AttachedDocument
Common status of an attached document. Each kind of document has its own status list; the server maps each
status to one of these constants. A status that has no match is
UNKNOWN.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Manual Price List is active.The document was approved, or no approval was needed.The Model Object is being calculated.The calculation of the Price List, Live Price Grid or Simulation was cancelled.The Rebate Agreement or Compensation has the status Closed.The Quote was converted to a deal.The document is a draft.The calculation of the Model Object, Price List, Live Price Grid or Simulation failed.The Manual Price List is not active.The Model Object is not valid.The document is no longer valid.The Quote was marked as lost.The Quote is an offer to the customer.The Rebate Agreement or Compensation has the status Open.Only part of the Quote was converted to a deal.The calculation of the Price List, Live Price Grid or Simulation is waiting to start.The Price List, Live Price Grid or Simulation is being calculated.The calculation of the Model Object, Price List, Live Price Grid or Simulation finished.The document was revoked after approval.The calculation of the Price List, Live Price Grid or Simulation is scheduled.The Price List, Live Price Grid or Simulation is scheduled for a second calculation pass that recalculates the dirty items.The Manual Price List is used only in Simulations.The document was replaced by a newer revision.The status of the document cannot be mapped to any other constant. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AttachedDocument.DocumentStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DRAFT
The document is a draft. Used for Quotes, Contracts, Rebate Agreements, Claims, Compensations, Custom Forms and Model Objects, and for Price Lists, Live Price Grids and Simulations that were not calculated yet. -
OFFER
The Quote is an offer to the customer. -
DEAL
The Quote was converted to a deal. -
REVOKED
The document was revoked after approval. Used for Quotes, Contracts, Rebate Agreements, Claims, Compensations and Custom Forms. -
SUPERSEDED
The document was replaced by a newer revision. Used for Quotes, Contracts, Rebate Agreements, Compensations and Custom Forms. -
INVALIDATED
The document is no longer valid. Used for Quotes, Contracts, Rebate Agreements, Compensations and Custom Forms. -
LOST
The Quote was marked as lost. -
PARTIALDEAL
Only part of the Quote was converted to a deal. -
APPROVED
The document was approved, or no approval was needed. Used for Contracts, Rebate Agreements, Claims, Compensations and Custom Forms. -
OPEN
The Rebate Agreement or Compensation has the status Open. It can still be revoked. -
CLOSED
The Rebate Agreement or Compensation has the status Closed. -
UNKNOWN
The status of the document cannot be mapped to any other constant. -
INVALID
The Model Object is not valid. -
CALCULATING
The Model Object is being calculated. -
ERROR
The calculation of the Model Object, Price List, Live Price Grid or Simulation failed. -
READY
The calculation of the Model Object, Price List, Live Price Grid or Simulation finished. -
ACTIVE
The Manual Price List is active. -
SIMULATIONONLY
The Manual Price List is used only in Simulations. -
INACTIVE
The Manual Price List is not active. -
PENDING
The calculation of the Price List, Live Price Grid or Simulation is waiting to start. -
SCHEDULED
The calculation of the Price List, Live Price Grid or Simulation is scheduled. -
PROCESSING
The Price List, Live Price Grid or Simulation is being calculated. -
SCHEDULED_DIRTY
The Price List, Live Price Grid or Simulation is scheduled for a second calculation pass that recalculates the dirty items. -
CANCELLED
The calculation of the Price List, Live Price Grid or Simulation was cancelled.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-