Package org.cipres.treebase.domain.matrix

Examples of org.cipres.treebase.domain.matrix.MatrixHome


    if (tl == null) return;
    tlh.delete(tl);
  }

  public void doDeleteMatrix(Long id) {
    MatrixHome mh = (MatrixHome) ContextManager.getBean("matrixHome");
    Matrix m = mh.findPersistedObjectByID(Matrix.class, id);
    if (m == null) return;
   
    if (m instanceof CharacterMatrix) {
      CharacterMatrix cm = (CharacterMatrix) m;
      mh.cascadeDeleteRows(cm.getRowsReadOnly());
      mh.cascadeDeleteElements(cm);
      mh.cascadeDeleteColumns(cm);
    }
    mh.delete(m);
  }
View Full Code Here

TOP

Related Classes of org.cipres.treebase.domain.matrix.MatrixHome

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.