Class LegacyRepositoryFile

  • All Implemented Interfaces:
    Serializable, org.pentaho.platform.api.engine.IAclHolder, org.pentaho.platform.api.engine.ISolutionFile

    @Deprecated
    public class LegacyRepositoryFile
    extends Object
    implements org.pentaho.platform.api.engine.ISolutionFile, org.pentaho.platform.api.engine.IAclHolder, Serializable
    Deprecated.
    See Also:
    Serialized Form
    • Constructor Detail

      • LegacyRepositoryFile

        public LegacyRepositoryFile​(String fileName,
                                    String fullPath,
                                    boolean directory)
        Deprecated.
    • Method Detail

      • getFileName

        public String getFileName()
        Deprecated.
        Specified by:
        getFileName in interface org.pentaho.platform.api.engine.ISolutionFile
      • getFullPath

        public String getFullPath()
        Deprecated.
        Specified by:
        getFullPath in interface org.pentaho.platform.api.engine.ISolutionFile
      • getExtension

        public String getExtension()
        Deprecated.
        Specified by:
        getExtension in interface org.pentaho.platform.api.engine.ISolutionFile
      • getLastModified

        public long getLastModified()
        Deprecated.
        Specified by:
        getLastModified in interface org.pentaho.platform.api.engine.ISolutionFile
      • isDirectory

        public boolean isDirectory()
        Deprecated.
        Specified by:
        isDirectory in interface org.pentaho.platform.api.engine.ISolutionFile
      • isRoot

        public boolean isRoot()
        Deprecated.
        Specified by:
        isRoot in interface org.pentaho.platform.api.engine.ISolutionFile
      • getData

        public byte[] getData()
        Deprecated.
        Specified by:
        getData in interface org.pentaho.platform.api.engine.ISolutionFile
      • getSolution

        public String getSolution()
        Deprecated.
        Specified by:
        getSolution in interface org.pentaho.platform.api.engine.ISolutionFile
      • getSolutionPath

        public String getSolutionPath()
        Deprecated.
        Specified by:
        getSolutionPath in interface org.pentaho.platform.api.engine.ISolutionFile
      • getAccessControls

        public List<org.pentaho.platform.api.engine.IPentahoAclEntry> getAccessControls()
        Deprecated.
        Specified by:
        getAccessControls in interface org.pentaho.platform.api.engine.IAclHolder
      • resetAccessControls

        public void resetAccessControls​(List<org.pentaho.platform.api.engine.IPentahoAclEntry> arg0)
        Deprecated.
        Specified by:
        resetAccessControls in interface org.pentaho.platform.api.engine.IAclHolder
      • setAccessControls

        public void setAccessControls​(List<org.pentaho.platform.api.engine.IPentahoAclEntry> arg0)
        Deprecated.
        Specified by:
        setAccessControls in interface org.pentaho.platform.api.engine.IAclHolder
      • getEffectiveAccessControls

        public List<org.pentaho.platform.api.engine.IPentahoAclEntry> getEffectiveAccessControls()
        Deprecated.
        Chains up to find the access controls that are in force on this object. Could end up chaining all the way to the root.

        Note that (1) defining no access control entries of your own and (2) removing all of your access control entries is indistiguishable in the current design. In #1, we chain up because we inherit. But in #2, it might be expected that by explicitly removing all access control entries, the chaining up ends. That is not the case in the current design.

        Specified by:
        getEffectiveAccessControls in interface org.pentaho.platform.api.engine.IAclHolder
      • exists

        public boolean exists()
        Deprecated.
        Specified by:
        exists in interface org.pentaho.platform.api.engine.ISolutionFile
      • listFiles

        public org.pentaho.platform.api.engine.ISolutionFile[] listFiles()
        Deprecated.
        Specified by:
        listFiles in interface org.pentaho.platform.api.engine.ISolutionFile
      • listFiles

        public org.pentaho.platform.api.engine.ISolutionFile[] listFiles​(org.pentaho.platform.api.engine.IFileFilter filter)
        Deprecated.
        Specified by:
        listFiles in interface org.pentaho.platform.api.engine.ISolutionFile
      • retrieveParent

        public org.pentaho.platform.api.engine.ISolutionFile retrieveParent()
        Deprecated.
        Specified by:
        retrieveParent in interface org.pentaho.platform.api.engine.ISolutionFile
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object other)
        Deprecated.
        Overrides:
        equals in class Object
      • setFileName

        public void setFileName​(String fileName)
        Deprecated.
      • setFullPath

        public void setFullPath​(String fullPath)
        Deprecated.
      • setLastModified

        public void setLastModified​(long lastModified)
        Deprecated.
      • setRoot

        public void setRoot​(boolean root)
        Deprecated.
      • setDirectory

        public void setDirectory​(boolean directory)
        Deprecated.
      • setData

        public void setData​(byte[] data)
        Deprecated.
      • setSolution

        public void setSolution​(String solution)
        Deprecated.
      • setSolutionPath

        public void setSolutionPath​(String solutionPath)
        Deprecated.
      • getChildrenFiles

        public Set getChildrenFiles()
        Deprecated.
      • setChildrenFiles

        public void setChildrenFiles​(Set childrenFiles)
        Deprecated.
      • setId

        public void setId​(String id)
        Deprecated.
      • setId

        public void setId​(Serializable id)
        Deprecated.