Class DocTreeDB

java.lang.Object
sk.iway.iwcm.DB
sk.iway.iwcm.doc.DocTreeDB

public class DocTreeDB extends DB
Vytvori stromovu strukturu adresarov a dokumentov
  • Constructor Details

    • DocTreeDB

      public DocTreeDB(int group_id, GroupsDB groupsDB, String serverName)
      Constructor for the DocTreeDB object
      Parameters:
      group_id - Description of the Parameter
      groupsDB - Description of the Parameter
      serverName - Description of the Parameter
  • Method Details

    • load

      public void load(int group_id, Connection db_conn, int group_default_doc, int doc_parent) throws Exception
      Description of the Method
      Parameters:
      group_id - Description of the Parameter
      db_conn - Description of the Parameter
      group_default_doc - Description of the Parameter
      doc_parent - Description of the Parameter
      Throws:
      Exception - Description of the Exception
    • getDocs

      public List<DocTreeDetails> getDocs()
      vrati zoznam dokumentov
      Returns:
      The docs value
    • setNavbar

      public void setNavbar(String newNavbar)
      nastavi navigacnu listu (default bude na nazov korenoveho objektu)
      Parameters:
      newNavbar - The new navbar value
    • getNavbar

      public String getNavbar()
      vrati navigacnu listu
      Returns:
      The navbar value
    • getFirst

      public DocTreeDetails getFirst()
      vrati korenovy objekt
      Returns:
      The first value