Class Application

    • Field Detail

      • adminOnlyDetails

        public static Set<String> adminOnlyDetails
      • preventClearDetails

        public static final Set<String> preventClearDetails
      • originalToCopy

        public Map originalToCopy
        Map (populated in deepCopy()) of the original persistant object from the copy source Application to the new object in this copy used for updating the references in component JSON config using id's in postPersist().
      • isMashup_cached

        public Boolean isMashup_cached
        keep a cached copy of our mashup status.
    • Constructor Detail

      • Application

        public Application()
    • Method Detail

      • getId

        public Long getId()
      • setId

        public void setId​(Long id)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getVersion

        public String getVersion()
      • setVersion

        public void setVersion​(String version)
      • getTitle

        public String getTitle()
      • setLang

        public void setLang​(String lang)
      • getLang

        public String getLang()
      • setTitle

        public void setTitle​(String title)
      • getLayout

        public String getLayout()
      • setLayout

        public void setLayout​(String layout)
      • isAuthenticatedRequired

        public boolean isAuthenticatedRequired()
      • setAuthenticatedRequired

        public void setAuthenticatedRequired​(boolean authenticatedRequired)
      • setMaxExtent

        public void setMaxExtent​(BoundingBox maxExtent)
      • getOwner

        public User getOwner()
      • setOwner

        public void setOwner​(User owner)
      • getRoot

        public Level getRoot()
      • setRoot

        public void setRoot​(Level root)
      • setStartExtent

        public void setStartExtent​(BoundingBox startExtent)
      • getAuthorizationsModified

        public Date getAuthorizationsModified()
      • setAuthorizationsModified

        public void setAuthorizationsModified​(Date authorizationsModified)
      • setBookmarks

        public void setBookmarks​(List<Bookmark> bookmarks)
      • setStartLayers

        public void setStartLayers​(List<StartLayer> startLayers)
      • setStartLevels

        public void setStartLevels​(List<StartLevel> startLevels)
      • getReaders

        public Set<String> getReaders()
      • setReaders

        public void setReaders​(Set<String> readers)
      • getProjectionCode

        public String getProjectionCode()
      • setProjectionCode

        public void setProjectionCode​(String projectionCode)
      • getNameWithVersion

        public String getNameWithVersion()
      • authorizationsModified

        public void authorizationsModified()
      • isMashup

        public Boolean isMashup()
        slow method -especially on Oracle- because it will need all keys and Oracle lazy loading sucks so clob's get pulled in as well.
        Returns:
        true if we are a mashup
        See Also:
        isMashup(org.hibernate.Session)
      • isMashup

        public Boolean isMashup​(org.hibernate.Session sess)
        fast access to determine if we are mashup.
        Parameters:
        sess - the hibernate session
        Returns:
        true if we are a mashup, this may be a cached value
        See Also:
        isMashup()
      • findLevel

        public Level findLevel​(Level oldLevel)
      • postPersist

        public void postPersist()
      • processCopyMap

        public void processCopyMap()
      • removeOldProperties

        public void removeOldProperties()
      • setGlobalLayout

        public void setGlobalLayout​(String globalLayout)
      • getGlobalLayout

        public org.json.JSONObject getGlobalLayout()
                                            throws org.json.JSONException
        Throws:
        org.json.JSONException