@Deprecated public class LegacyRepositoryFile extends Object implements org.pentaho.platform.api.engine.ISolutionFile, org.pentaho.platform.api.engine.IAclHolder, Serializable
Modifier and Type | Field and Description |
---|---|
static char |
EXTENSION_CHAR
Deprecated.
|
protected Serializable |
id
Deprecated.
|
protected LegacyRepositoryFile |
parent
Deprecated.
|
Constructor and Description |
---|
LegacyRepositoryFile(String fileName,
String fullPath,
boolean directory)
Deprecated.
|
Modifier and Type | Method and 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.
|
public static final char EXTENSION_CHAR
protected Serializable id
protected LegacyRepositoryFile parent
public String getFileName()
getFileName
in interface org.pentaho.platform.api.engine.ISolutionFile
public String getFullPath()
getFullPath
in interface org.pentaho.platform.api.engine.ISolutionFile
public String getExtension()
getExtension
in interface org.pentaho.platform.api.engine.ISolutionFile
public long getLastModified()
getLastModified
in interface org.pentaho.platform.api.engine.ISolutionFile
public boolean isDirectory()
isDirectory
in interface org.pentaho.platform.api.engine.ISolutionFile
public boolean isRoot()
isRoot
in interface org.pentaho.platform.api.engine.ISolutionFile
public byte[] getData()
getData
in interface org.pentaho.platform.api.engine.ISolutionFile
public String getSolution()
getSolution
in interface org.pentaho.platform.api.engine.ISolutionFile
public String getSolutionPath()
getSolutionPath
in interface org.pentaho.platform.api.engine.ISolutionFile
public List<org.pentaho.platform.api.engine.IPentahoAclEntry> getAccessControls()
getAccessControls
in interface org.pentaho.platform.api.engine.IAclHolder
public void resetAccessControls(List<org.pentaho.platform.api.engine.IPentahoAclEntry> arg0)
resetAccessControls
in interface org.pentaho.platform.api.engine.IAclHolder
public void setAccessControls(List<org.pentaho.platform.api.engine.IPentahoAclEntry> arg0)
setAccessControls
in interface org.pentaho.platform.api.engine.IAclHolder
public List<org.pentaho.platform.api.engine.IPentahoAclEntry> getEffectiveAccessControls()
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.
getEffectiveAccessControls
in interface org.pentaho.platform.api.engine.IAclHolder
public boolean exists()
exists
in interface org.pentaho.platform.api.engine.ISolutionFile
public org.pentaho.platform.api.engine.ISolutionFile[] listFiles()
listFiles
in interface org.pentaho.platform.api.engine.ISolutionFile
public org.pentaho.platform.api.engine.ISolutionFile[] listFiles(org.pentaho.platform.api.engine.IFileFilter filter)
listFiles
in interface org.pentaho.platform.api.engine.ISolutionFile
public org.pentaho.platform.api.engine.ISolutionFile retrieveParent()
retrieveParent
in interface org.pentaho.platform.api.engine.ISolutionFile
public void setFileName(String fileName)
public void setFullPath(String fullPath)
public void setLastModified(long lastModified)
public void setRoot(boolean root)
public void setDirectory(boolean directory)
public void setData(byte[] data)
public void setSolution(String solution)
public void setSolutionPath(String solutionPath)
public Set getChildrenFiles()
public void setChildrenFiles(Set childrenFiles)
public Serializable getId()
public void setId(String id)
public LegacyRepositoryFile getParent()
public void setParent(LegacyRepositoryFile parent)
public void setId(Serializable id)
Copyright © 2019 Hitachi Vantara. All rights reserved.