Class Layout

    • Field Detail

      • project

        public final Project project
      • browses

        public final Folder<com.wisecoders.dbs.browse.model.Browse> browses
      • queries

        public final Folder<com.wisecoders.dbs.query.model.items.Query> queries
      • forms

        public final Folder<com.wisecoders.dbs.forms.model.unit.Form> forms
    • Constructor Detail

      • Layout

        public Layout​(Project project,
                      java.lang.String name)
    • Method Detail

      • getEntities

        public java.util.List<Entity> getEntities()
      • createScript

        public Script createScript​(java.lang.String name)
      • createBrowse

        public com.wisecoders.dbs.browse.model.Browse createBrowse​(java.lang.String name)
      • createQuery

        public com.wisecoders.dbs.query.model.items.Query createQuery​(java.lang.String name)
      • createForm

        public com.wisecoders.dbs.forms.model.unit.Form createForm​(java.lang.String name)
      • refresh

        public void refresh()
        Calculates new size
        Specified by:
        refresh in class AbstractUnit
      • setConfirmed

        public void setConfirmed​(boolean confirmed)
      • isConfirmed

        public boolean isConfirmed()
      • findUnitByName

        public Unit findUnitByName​(java.lang.String unitNameWithOrWithoutSchemaName)
      • setStoreId

        public void setStoreId​(java.lang.String id)
      • generateHtmlDocumentation

        public void generateHtmlDocumentation​(java.io.File file,
                                              boolean showImage,
                                              boolean showHtmlText)
                                       throws java.io.IOException,
                                              java.net.URISyntaxException
        Generate HTML documentation. Can be called from Groovy code
        Parameters:
        file - to save in
        showImage - to include the image
        showHtmlText - to include the html text
        Throws:
        java.io.IOException - on file operation
        java.net.URISyntaxException - on file operation
      • autoArrange

        public void autoArrange()