Skip to content

creating new CDB domain

craigmcchesney edited this page Dec 21, 2019 · 1 revision
  • modify db/sql/static/populate_domain.sql to add a row for the new domain item
  • modify gov/anl/aps/cdb/portal/constants/ItemDomainName.java to add values to ItemDomainName enum for new domain item
  • add controller settings class in gov/anl/aps/cdb/portal/controllers/settings/
  • add facade class in gov/anl/aps/cdb/portal/model/db/beans/
  • add entity class for new domain in gov/anl/aps/cdb/portal/model/db/entities/
  • add controller class in gov/anl/aps/cdb/portal/controllers/
  • create view directory in views directory
  • create basic views in new view directory
    • create.xhtml
    • edit.xhtml
    • list.xhtml
    • view.xhtml
  • build project
  • stop netbeans / payara
  • backup db / make db / restore backup