◆ entityId()
Object org.turro.financials.entity.ContractDefinition.entityId |
( |
| ) |
|
◆ getAsCash()
String org.turro.financials.entity.ContractDefinition.getAsCash |
( |
| ) |
|
◆ getAsContact()
String org.turro.financials.entity.ContractDefinition.getAsContact |
( |
| ) |
|
◆ getContractPreferences()
Set<ContractPreference> org.turro.financials.entity.ContractDefinition.getContractPreferences |
( |
| ) |
|
Definition at line 102 of file ContractDefinition.java.
103 Dao dao =
new FinancialsPU();
104 if(
id > 0 && dao.isNotLoaded(contractPreferences)) {
105 contractPreferences = dao.lazyLoader(ContractDefinition.class,
this,
"contractPreferences").contractPreferences;
107 return contractPreferences;
◆ getDefaultContractPreference()
ContractPreference org.turro.financials.entity.ContractDefinition.getDefaultContractPreference |
( |
| ) |
|
Definition at line 208 of file ContractDefinition.java.
209 ContractPreference result =
null;
211 if(cp.getName().contentEquals(
"#")) {
Set< ContractPreference > getContractPreferences()
◆ getDescription()
String org.turro.financials.entity.ContractDefinition.getDescription |
( |
| ) |
|
Definition at line 222 of file ContractDefinition.java.
223 PhraseBuilder pb =
new PhraseBuilder(name);
245 if(asContact !=
null) {
246 pb.addPendingSeparator(
",");
247 pb.addWord(
"c:" + asContact);
250 pb.addPendingSeparator(
",");
251 pb.addWord(
"d:" + asCash);
254 return pb.toString();
◆ getDocumentWorkflows()
Set<DocumentWorkflow> org.turro.financials.entity.ContractDefinition.getDocumentWorkflows |
( |
| ) |
|
Definition at line 114 of file ContractDefinition.java.
115 Dao dao =
new FinancialsPU();
116 if(
id > 0 && dao.isNotLoaded(documentWorkflows)) {
117 documentWorkflows = dao.lazyLoader(ContractDefinition.class,
this,
"documentWorkflows").documentWorkflows;
119 return documentWorkflows;
◆ getId()
long org.turro.financials.entity.ContractDefinition.getId |
( |
| ) |
|
◆ getName()
String org.turro.financials.entity.ContractDefinition.getName |
( |
| ) |
|
◆ getNotes()
Definition at line 259 of file ContractDefinition.java.
261 Dao dao =
new FinancialsPU();
262 notes = (ContractDefinitionNotes) dao.getSingleResultOrNull(
263 "select cdn from ContractDefinitionNotes cdn " +
264 "where cdn.contractDefinition = ?",
265 new Object[] {
this });
◆ getRelatedDocuments()
Set<RelatedDocument> org.turro.financials.entity.ContractDefinition.getRelatedDocuments |
( |
| ) |
|
Definition at line 150 of file ContractDefinition.java.
151 Dao dao =
new FinancialsPU();
152 if(
id > 0 && dao.isNotLoaded(relatedDocuments)) {
153 relatedDocuments = dao.lazyLoader(ContractDefinition.class,
this,
"relatedDocuments").relatedDocuments;
155 return relatedDocuments;
◆ getWorkflow()
Definition at line 270 of file ContractDefinition.java.
271 ArrayList<DocumentDefinition> v =
new ArrayList<DocumentDefinition>();
273 int pos1 = getPosition(v, dw.getAncestor());
274 int pos2 = getPosition(v, dw.getDescendant());
276 v.add(0, dw.getAncestor());
279 if(pos1 + 1 >= v.size()) {
280 v.add(dw.getDescendant());
282 v.add(pos1 + 1, dw.getDescendant());
287 int pos1 = getPosition(v, dw.getAncestor());
288 int pos2 = getPosition(v, dw.getDescendant());
290 v.set(pos1, dw.getDescendant());
291 v.set(pos2, dw.getAncestor());
Set< DocumentWorkflow > getDocumentWorkflows()
◆ isCash()
boolean org.turro.financials.entity.ContractDefinition.isCash |
( |
| ) |
|
◆ isEmpty()
boolean org.turro.financials.entity.ContractDefinition.isEmpty |
( |
| ) |
|
◆ isStock()
boolean org.turro.financials.entity.ContractDefinition.isStock |
( |
| ) |
|
◆ isUseContractorCode()
boolean org.turro.financials.entity.ContractDefinition.isUseContractorCode |
( |
| ) |
|
◆ setAsCash()
void org.turro.financials.entity.ContractDefinition.setAsCash |
( |
String |
asCash | ) |
|
◆ setAsContact()
void org.turro.financials.entity.ContractDefinition.setAsContact |
( |
String |
asContact | ) |
|
◆ setCash()
void org.turro.financials.entity.ContractDefinition.setCash |
( |
boolean |
cash | ) |
|
◆ setContractPreferences()
void org.turro.financials.entity.ContractDefinition.setContractPreferences |
( |
Set< ContractPreference > |
contractPreferences | ) |
|
◆ setDocumentWorkflows()
void org.turro.financials.entity.ContractDefinition.setDocumentWorkflows |
( |
Set< DocumentWorkflow > |
documentWorkflows | ) |
|
◆ setId()
void org.turro.financials.entity.ContractDefinition.setId |
( |
long |
id | ) |
|
◆ setName()
void org.turro.financials.entity.ContractDefinition.setName |
( |
String |
name | ) |
|
◆ setRelatedDocuments()
void org.turro.financials.entity.ContractDefinition.setRelatedDocuments |
( |
Set< RelatedDocument > |
relatedDocuments | ) |
|
◆ setStock()
void org.turro.financials.entity.ContractDefinition.setStock |
( |
boolean |
stock | ) |
|
◆ setUseContractorCode()
void org.turro.financials.entity.ContractDefinition.setUseContractorCode |
( |
boolean |
useContractorCode | ) |
|
The documentation for this class was generated from the following file: