Class ReplacementEntity

  • All Implemented Interfaces:
    Serializable, WebEntity

    public class ReplacementEntity
    extends Object
    implements WebEntity
    The web entity that is carried by an HTTP request or an HTTP response between a web client and the replacement web resource. The web entity is marshaled into a representation negotiated between the client and the resource. In Silverpeas, usually the supported representation is JSON.
    Author:
    mmoquillon
    See Also:
    Serialized Form
    • Constructor Detail

      • ReplacementEntity

        protected ReplacementEntity()
    • Method Detail

      • getURI

        public URI getURI()
        Description copied from interface: WebEntity
        Gets the URI at which this web entity is published and can be accessed.
        Specified by:
        getURI in interface WebEntity
        Returns:
        the web entity URI.
      • getSubstitute

        public UserEntity getSubstitute()
      • getStartDate

        public LocalDate getStartDate()
      • getWorkflowInstanceId

        public String getWorkflowInstanceId()
      • setSubstitute

        public void setSubstitute​(User substitute)
      • setStartDate

        public void setStartDate​(LocalDate date)
      • setEndDate

        public void setEndDate​(LocalDate date)