Class OneStandardValueEntityListenerContribution
java.lang.Object
ch.tocco.nice2.entityoperation.api.OneStandardValueEntityListenerContribution
example:
Listen to Voucher_type Entities whose standard Field is called standard
@Bean
public OneStandardValueEntityListenerContribution exportTemplateOneStandardValueEntityListenerContribution() {
OneStandardValueEntityListenerContribution contribution = new OneStandardValueEntityListenerContribution();
contribution.setStandardValueNeeded(false);
contribution.setGroupingField("entity");
contribution.setEntityName("Export_template");
contribution.setStandardValueFieldName("default_template");
return contribution;
}
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@Nullable String
@Nullable String
boolean
int
hashCode()
void
setEntityName
(String entityName) void
setGroupingField
(@Nullable String groupingField) void
setGroupingRelation
(@Nullable String groupingRelation) void
setStandardValueFieldName
(String standardValueFieldName) void
setStandardValueNeeded
(boolean standardValueNeeded)
-
Constructor Details
-
OneStandardValueEntityListenerContribution
public OneStandardValueEntityListenerContribution()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getEntityName
-
setEntityName
-
getStandardValueFieldName
-
setStandardValueFieldName
-
getStandardValueNeeded
public boolean getStandardValueNeeded() -
setStandardValueNeeded
public void setStandardValueNeeded(boolean standardValueNeeded) -
getGroupingRelation
-
setGroupingRelation
-
getGroupingField
-
setGroupingField
-