Interface IRepositoryFile

    • Method Detail

      • setAccessControls

        void setAccessControls​(List acls)
        This method's purpose is to allow Hibernate to initialize the ACLs from the data-store. Application clients should likely use resetAccessControls.
      • resetAccessControls

        void resetAccessControls​(List acls)
      • getRevision

        int getRevision()
      • getFileId

        String getFileId()
      • getSolution

        String getSolution()
      • getSolutionPath

        String getSolutionPath()
      • getFileName

        String getFileName()
      • getFullPath

        String getFullPath()
      • getSearchableColumns

        String[] getSearchableColumns()
        Specified by:
        getSearchableColumns in interface ISearchable
        Returns:
        Returns an array of the char/varchar columns that can be searched.
      • getSearchableTable

        String getSearchableTable()
        Specified by:
        getSearchableTable in interface ISearchable
        Returns:
        Returns the name of the hibernated object which will be used in the search.
      • getPhraseSearchQueryName

        String getPhraseSearchQueryName()
        Specified by:
        getPhraseSearchQueryName in interface ISearchable
        Returns:
        Returns the fully-package-qualified name of a named query in the Hibernate Schema that supports a full-text search of all searchable columns. The parameter name for the search term in the query must be :searchTerm or the query will fail.
      • isDirectory

        boolean isDirectory()
      • getChildrenFiles

        Set getChildrenFiles()
        Returns:
        Returns the childrenResources.
      • setChildrenFiles

        void setChildrenFiles​(Set childrenFiles)
        Parameters:
        childrenResources - The childrenResources to set.
      • getData

        byte[] getData()
        Returns:
        Returns the data.
      • setData

        void setData​(byte[] data)
        Parameters:
        data - The data to set.
      • compareTo

        int compareTo​(Object o)
      • getLastModified

        long getLastModified()
        Returns:
        Returns the modDate.
      • setLastModified

        void setLastModified​(long modDate)
        Parameters:
        modDate - The modDate to set.
      • containsActions

        boolean containsActions()
      • isRoot

        boolean isRoot()
      • hasExtension

        boolean hasExtension()
        Returns:
        a boolean indicating if this file has an extension
      • getExtension

        String getExtension()
        Returns:
        the extension (including the . seperator) of this file
      • exists

        boolean exists()