BrightSide Workbench Full Report + Source Code
org.turro.financials.contract.logic.ContractDefinitionWrapper Class Reference
Inheritance diagram for org.turro.financials.contract.logic.ContractDefinitionWrapper:
Collaboration diagram for org.turro.financials.contract.logic.ContractDefinitionWrapper:

Public Member Functions

 ContractDefinitionWrapper (ContractDefinition contractDefinition)
 
void setGrids (EditableGrid docs, EditableGrid workflows, EditableGrid preferences)
 
ContractDefinition save ()
 
boolean delete ()
 
- Public Member Functions inherited from org.turro.financials.model.contract.ContractDefinitionWrapper
Collection< LineTypegetLineTypesFor (DocumentDefinition ancestor, DocumentDefinition descendant)
 

Additional Inherited Members

- Static Public Member Functions inherited from org.turro.financials.model.contract.ContractDefinitionWrapper
static Collection< ContractDefinitiongetContractDefinitions ()
 
- Protected Attributes inherited from org.turro.financials.model.contract.ContractDefinitionWrapper
ContractDefinition contractDefinition
 

Detailed Description

Constructor & Destructor Documentation

◆ ContractDefinitionWrapper()

Member Function Documentation

◆ delete()

boolean org.turro.financials.contract.logic.ContractDefinitionWrapper.delete ( )

Definition at line 63 of file bsfinancials-www/src/main/java/org/turro/financials/contract/logic/ContractDefinitionWrapper.java.

63  {
64  new FinancialsPU().deleteObject(contractDefinition);
65  return true;
66  }
Here is the call graph for this function:

◆ save()

ContractDefinition org.turro.financials.contract.logic.ContractDefinitionWrapper.save ( )

Definition at line 42 of file bsfinancials-www/src/main/java/org/turro/financials/contract/logic/ContractDefinitionWrapper.java.

42  {
43  if(docs != null) {
46  }
47 
48  if(workflows != null) {
51  }
52 
53  if(preferences != null) {
55  contractDefinition.getContractPreferences().addAll(preferences.getValues());
56  }
57 
58  contractDefinition = new FinancialsPU().saveObject(contractDefinition);
59 
60  return contractDefinition;
61  }
Here is the call graph for this function:

◆ setGrids()

void org.turro.financials.contract.logic.ContractDefinitionWrapper.setGrids ( EditableGrid  docs,
EditableGrid  workflows,
EditableGrid  preferences 
)

Definition at line 36 of file bsfinancials-www/src/main/java/org/turro/financials/contract/logic/ContractDefinitionWrapper.java.

36  {
37  this.docs = docs;
38  this.workflows = workflows;
39  this.preferences = preferences;
40  }

The documentation for this class was generated from the following file: