Commits

Sebastian Sdorra  committed 63f90eb

improve AbstractOrientDBModelDAO

  • Participants
  • Parent commits cc5191c

Comments (0)

Files changed (1)

File scm-dao-orientdb/src/main/java/sonia/scm/orientdb/AbstractOrientDBModelDAO.java

         implements GenericDAO<T>
 {
 
+  /** Field description */
+  public static final String TYPE = "orientdb";
+
+  //~--- constructors ---------------------------------------------------------
+
   /**
    * Constructs ...
    *
    *
    * @param item
    */
-  public void remove(T item)
+  @Override
+  public void delete(T item)
   {
     ODatabaseDocumentTx connection = connectionProvider.get();
 
    *
    * @param item
    */
-  public void update(T item)
+  @Override
+  public void modify(T item)
   {
     ODatabaseDocumentTx connection = connectionProvider.get();
 
     return item;
   }
 
+  /**
+   * Method description
+   *
+   *
+   * @return
+   */
+  @Override
+  public Long getCreationTime()
+  {
+
+    // TODO
+    throw new UnsupportedOperationException("Not supported yet.");
+  }
+
+  /**
+   * Method description
+   *
+   *
+   * @return
+   */
+  @Override
+  public Long getLastModified()
+  {
+
+    // TODO
+    throw new UnsupportedOperationException("Not supported yet.");
+  }
+
+  /**
+   * Method description
+   *
+   *
+   * @return
+   */
+  @Override
+  public String getType()
+  {
+    return TYPE;
+  }
+
   //~--- fields ---------------------------------------------------------------
 
   /** Field description */