Package sk.iway.iwcm.doc
Class DocTreeDB
java.lang.Object
sk.iway.iwcm.DB
sk.iway.iwcm.doc.DocTreeDB
Vytvori stromovu strukturu adresarov a dokumentov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDocs()
vrati zoznam dokumentovgetFirst()
vrati korenovy objektvrati navigacnu listuvoid
load
(int group_id, Connection db_conn, int group_default_doc, int doc_parent) Description of the Methodvoid
nastavi navigacnu listu (default bude na nazov korenoveho objektu)Methods inherited from class sk.iway.iwcm.DB
dumpResultSet, execute, filterEscaped, filterHtml, fixAiCiCol, fixAiCiValue, getBoolean, getBooleanSql, getDate, getDbDate, getDbDateTime, getDbDateTime, getDbString, getDbString, getDbTime, getDbTimestamp, getDbTimestamp, getDynaList, getDynaList, getDynaList, getFullName, getFullName, getInteger, getIntValue, getLongValue, getOnlyNumbersIn, getOnlyNumbersIn, getSqlParamsDatatable, getSqlQueryDatatable, getTimestamp, getTimestamp, getTimestamp, getTimestampNotAfterYear, getTimestampNotBeforeAfterYear, getTimestampNotBeforeYear, internationalToEnglish, isHtmlAllowed, prepareString, queryForBigDecimal, queryForDouble, queryForInt, queryForList, queryForLong, queryForString, removeSlashes, replace, resetHtmlAllowedFields, setClob
-
Constructor Details
-
DocTreeDB
Constructor for the DocTreeDB object- Parameters:
group_id
- Description of the ParametergroupsDB
- Description of the ParameterserverName
- 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 Parameterdb_conn
- Description of the Parametergroup_default_doc
- Description of the Parameterdoc_parent
- Description of the Parameter- Throws:
Exception
- Description of the Exception
-
getDocs
vrati zoznam dokumentov- Returns:
- The docs value
-
getFirst
vrati korenovy objekt- Returns:
- The first value
-