Tabnine Logo
SrvEntitySyncAccEntry.getSrvOrm
Code IndexAdd Tabnine to your IDE (free)

How to use
getSrvOrm
method
in
org.beigesoft.replicator.service.SrvEntitySyncAccEntry

Best Java code snippets using org.beigesoft.replicator.service.SrvEntitySyncAccEntry.getSrvOrm (Showing top 2 results out of 315)

origin: org.beigesoft/beige-accounting

final Map<String, Object> pAddParam) throws Exception {
AccountingEntry entityPb = (AccountingEntry) pEntity;
int currDbId = getSrvOrm().getIdDatabase();
if (currDbId == entityPb.getIdDatabaseBirth()) {
 throw new ExceptionWithCode(ExceptionWithCode.SOMETHING_WRONG,
String whereStr = " where " + tblNm + ".IDBIRTH=" + entityPb.getItsId()
 + " and " + tblNm + ".IDDATABASEBIRTH=" + entityPb.getIdDatabaseBirth();
AccountingEntry entityPbDb = getSrvOrm()
 .retrieveEntityWithConditions(entityPb.getClass(), whereStr);
if (entityPb.getSourceType().equals(this.accountingEntriesCode)) {
 whereStr = " where " + tblNm + ".IDBIRTH=" + entityPb.getSourceId()
 + " and " + tblNm + ".IDDATABASEBIRTH=" + entityPb.getIdDatabaseBirth();
 AccountingEntries accountingEntries = getSrvOrm()
 .retrieveEntityWithConditions(AccountingEntries.class, whereStr);
 if (accountingEntries == null) {
origin: org.beigesoft/beigesoft-accounting

final Object pEntity) throws Exception {
AccountingEntry entityPb = (AccountingEntry) pEntity;
int currDbId = getSrvOrm().getIdDatabase();
if (currDbId == entityPb.getIdDatabaseBirth()) {
 throw new ExceptionWithCode(ExceptionWithCode.SOMETHING_WRONG,
String whereStr = " where " + tblNm + ".IDBIRTH=" + entityPb.getItsId()
 + " and " + tblNm + ".IDDATABASEBIRTH=" + entityPb.getIdDatabaseBirth();
AccountingEntry entityPbDb = getSrvOrm()
 .retrieveEntityWithConditions(pAddParam, entityPb.getClass(), whereStr);
if (entityPb.getSourceType().equals(this.accountingEntriesCode)) {
 whereStr = " where " + tblNm + ".IDBIRTH=" + entityPb.getSourceId()
 + " and " + tblNm + ".IDDATABASEBIRTH=" + entityPb.getIdDatabaseBirth();
 AccountingEntries accountingEntries = getSrvOrm()
 .retrieveEntityWithConditions(pAddParam, AccountingEntries.class,
  whereStr);
org.beigesoft.replicator.serviceSrvEntitySyncAccEntrygetSrvOrm

Javadoc

Getter for srvOrm.

Popular methods of SrvEntitySyncAccEntry

  • <init>
  • getSrvBalance
    Getter for srvBalance.
  • setSrvBalance
    Setter for srvBalance.
  • setSrvOrm
    Setter for srvOrm.

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • setContentView (Activity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Permission (java.security)
    Legacy security code; do not use.
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JTable (javax.swing)
  • JTextField (javax.swing)
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now