Package com.orientechnologies.orient.core.db.object

Examples of com.orientechnologies.orient.core.db.object.OObjectNotManagedException


    if (iPojo == null)
      return;

    final ODocument record = getRecordByUserObject(iPojo, false);
    if (record == null)
      throw new OObjectNotManagedException("The object " + iPojo + " is not managed by the current database");

    record.setDirty();
  }
View Full Code Here


   */
  public int getVersion(final Object iPojo) {
    final ODocument record = getRecordByUserObject(iPojo, false);

    if (record == null)
      throw new OObjectNotManagedException("The object " + iPojo + " is not managed by the current database");

    return record.getVersion();
  }
View Full Code Here

   *          User object
   */
  public ORID getIdentity(final Object iPojo) {
    final ODocument record = getRecordByUserObject(iPojo, false);
    if (record == null)
      throw new OObjectNotManagedException("The object " + iPojo + " is not managed by the current database");

    return record.getIdentity();
  }
View Full Code Here

    checkOpeness();

    final ODocument record = getRecordByUserObject(iPojo, false);
    if (record == null)
      throw new OObjectNotManagedException("The object " + iPojo + " is not managed by the current database");

    record.setDirty();
  }
View Full Code Here

    checkOpeness();

    final ODocument record = getRecordByUserObject(iPojo, false);

    if (record == null)
      throw new OObjectNotManagedException("The object " + iPojo + " is not managed by the current database");

    return record.getVersion();
  }
View Full Code Here

  public ORID getIdentity(final Object iPojo) {
    checkOpeness();

    final ODocument record = getRecordByUserObject(iPojo, false);
    if (record == null)
      throw new OObjectNotManagedException("The object " + iPojo + " is not managed by the current database");

    return record.getIdentity();
  }
View Full Code Here

    checkOpeness();

    final ODocument record = getRecordByUserObject(iPojo, false);
    if (record == null)
      throw new OObjectNotManagedException("The object " + iPojo + " is not managed by the current database");

    record.setDirty();
  }
View Full Code Here

    checkOpeness();

    final ODocument record = getRecordByUserObject(iPojo, false);

    if (record == null)
      throw new OObjectNotManagedException("The object " + iPojo + " is not managed by the current database");

    return record.getVersion();
  }
View Full Code Here

  public ORID getIdentity(final Object iPojo) {
    checkOpeness();

    final ODocument record = getRecordByUserObject(iPojo, false);
    if (record == null)
      throw new OObjectNotManagedException("The object " + iPojo + " is not managed by the current database");

    return record.getIdentity();
  }
View Full Code Here

    checkOpeness();

    final ODocument record = getRecordByUserObject(iPojo, false);
    if (record == null)
      throw new OObjectNotManagedException("The object " + iPojo + " is not managed by the current database");

    record.setDirty();
  }
View Full Code Here

TOP

Related Classes of com.orientechnologies.orient.core.db.object.OObjectNotManagedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.