Class CustomerContractCopyContribution

java.lang.Object
ch.tocco.nice2.optional.customercontract.impl.action.CustomerContractCopyContribution

public class CustomerContractCopyContribution extends Object
example:

 @Bean
 public CustomerContractCopyContribution CustomerContractCopy() {
     CustomerContractCopyContribution contribution = new CustomerContractCopyContribution();
     contribution.setContractStatusToSet("planning");
     contribution.setFieldsToExclude("billing_date, signed, valid_until, terminated, resigned");
     contribution.setRelationsToCopy("relBilling_position");
     return contribution;
 }
 
  • Constructor Details

    • CustomerContractCopyContribution

      public CustomerContractCopyContribution()
  • Method Details

    • getRelationsToCopyAsSet

      public Set<String> getRelationsToCopyAsSet()
    • setRelationsToCopy

      public void setRelationsToCopy(String relationsToCopy)
    • getRelationsToExcludeAsSet

      public Set<String> getRelationsToExcludeAsSet()
    • setRelationsToExclude

      public void setRelationsToExclude(String relationsToExclude)
    • getFieldsToExcludeAsSet

      public Set<String> getFieldsToExcludeAsSet()
    • setFieldsToExclude

      public void setFieldsToExclude(String fieldsToExclude)
    • getContractStatusToSet

      public String getContractStatusToSet()
    • setContractStatusToSet

      public void setContractStatusToSet(String contractStatusToSet)