Class LegacyRepositoryFile
- java.lang.Object
-
- org.pentaho.platform.repository.legacy.acl.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
-
-
Field Summary
Fields Modifier and Type Field Description static char
EXTENSION_CHAR
Deprecated.protected Serializable
id
Deprecated.protected LegacyRepositoryFile
parent
Deprecated.
-
Constructor Summary
Constructors Constructor Description LegacyRepositoryFile(String fileName, String fullPath, boolean directory)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object other)
Deprecated.boolean
exists()
Deprecated.List<org.pentaho.platform.api.engine.IPentahoAclEntry>
getAccessControls()
Deprecated.Set
getChildrenFiles()
Deprecated.byte[]
getData()
Deprecated.List<org.pentaho.platform.api.engine.IPentahoAclEntry>
getEffectiveAccessControls()
Deprecated.Chains up to find the access controls that are in force on this object.String
getExtension()
Deprecated.String
getFileName()
Deprecated.String
getFullPath()
Deprecated.Serializable
getId()
Deprecated.long
getLastModified()
Deprecated.LegacyRepositoryFile
getParent()
Deprecated.String
getSolution()
Deprecated.String
getSolutionPath()
Deprecated.int
hashCode()
Deprecated.boolean
isDirectory()
Deprecated.boolean
isRoot()
Deprecated.org.pentaho.platform.api.engine.ISolutionFile[]
listFiles()
Deprecated.org.pentaho.platform.api.engine.ISolutionFile[]
listFiles(org.pentaho.platform.api.engine.IFileFilter filter)
Deprecated.void
resetAccessControls(List<org.pentaho.platform.api.engine.IPentahoAclEntry> arg0)
Deprecated.org.pentaho.platform.api.engine.ISolutionFile
retrieveParent()
Deprecated.void
setAccessControls(List<org.pentaho.platform.api.engine.IPentahoAclEntry> arg0)
Deprecated.void
setChildrenFiles(Set childrenFiles)
Deprecated.void
setData(byte[] data)
Deprecated.void
setDirectory(boolean directory)
Deprecated.void
setFileName(String fileName)
Deprecated.void
setFullPath(String fullPath)
Deprecated.void
setId(Serializable id)
Deprecated.void
setId(String id)
Deprecated.void
setLastModified(long lastModified)
Deprecated.void
setParent(LegacyRepositoryFile parent)
Deprecated.void
setRoot(boolean root)
Deprecated.void
setSolution(String solution)
Deprecated.void
setSolutionPath(String solutionPath)
Deprecated.
-
-
-
Field Detail
-
EXTENSION_CHAR
public static final char EXTENSION_CHAR
Deprecated.- See Also:
- Constant Field Values
-
id
protected Serializable id
Deprecated.
-
parent
protected LegacyRepositoryFile parent
Deprecated.
-
-
Method Detail
-
getFileName
public String getFileName()
Deprecated.- Specified by:
getFileName
in interfaceorg.pentaho.platform.api.engine.ISolutionFile
-
getFullPath
public String getFullPath()
Deprecated.- Specified by:
getFullPath
in interfaceorg.pentaho.platform.api.engine.ISolutionFile
-
getExtension
public String getExtension()
Deprecated.- Specified by:
getExtension
in interfaceorg.pentaho.platform.api.engine.ISolutionFile
-
getLastModified
public long getLastModified()
Deprecated.- Specified by:
getLastModified
in interfaceorg.pentaho.platform.api.engine.ISolutionFile
-
isDirectory
public boolean isDirectory()
Deprecated.- Specified by:
isDirectory
in interfaceorg.pentaho.platform.api.engine.ISolutionFile
-
isRoot
public boolean isRoot()
Deprecated.- Specified by:
isRoot
in interfaceorg.pentaho.platform.api.engine.ISolutionFile
-
getData
public byte[] getData()
Deprecated.- Specified by:
getData
in interfaceorg.pentaho.platform.api.engine.ISolutionFile
-
getSolution
public String getSolution()
Deprecated.- Specified by:
getSolution
in interfaceorg.pentaho.platform.api.engine.ISolutionFile
-
getSolutionPath
public String getSolutionPath()
Deprecated.- Specified by:
getSolutionPath
in interfaceorg.pentaho.platform.api.engine.ISolutionFile
-
getAccessControls
public List<org.pentaho.platform.api.engine.IPentahoAclEntry> getAccessControls()
Deprecated.- Specified by:
getAccessControls
in interfaceorg.pentaho.platform.api.engine.IAclHolder
-
resetAccessControls
public void resetAccessControls(List<org.pentaho.platform.api.engine.IPentahoAclEntry> arg0)
Deprecated.- Specified by:
resetAccessControls
in interfaceorg.pentaho.platform.api.engine.IAclHolder
-
setAccessControls
public void setAccessControls(List<org.pentaho.platform.api.engine.IPentahoAclEntry> arg0)
Deprecated.- Specified by:
setAccessControls
in interfaceorg.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 interfaceorg.pentaho.platform.api.engine.IAclHolder
-
exists
public boolean exists()
Deprecated.- Specified by:
exists
in interfaceorg.pentaho.platform.api.engine.ISolutionFile
-
listFiles
public org.pentaho.platform.api.engine.ISolutionFile[] listFiles()
Deprecated.- Specified by:
listFiles
in interfaceorg.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 interfaceorg.pentaho.platform.api.engine.ISolutionFile
-
retrieveParent
public org.pentaho.platform.api.engine.ISolutionFile retrieveParent()
Deprecated.- Specified by:
retrieveParent
in interfaceorg.pentaho.platform.api.engine.ISolutionFile
-
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.
-
getId
public Serializable getId()
Deprecated.
-
setId
public void setId(String id)
Deprecated.
-
getParent
public LegacyRepositoryFile getParent()
Deprecated.
-
setParent
public void setParent(LegacyRepositoryFile parent)
Deprecated.
-
setId
public void setId(Serializable id)
Deprecated.
-
-