Class ExportManifestEntity
- java.lang.Object
-
- org.pentaho.platform.plugin.services.importexport.exportManifest.ExportManifestEntity
-
public class ExportManifestEntity extends Object
This Object represents the information stored in the ExportManifest for one file or folder. TheExportManifest
object contains a Hashmap of these objects keyed by the path.- Author:
- tkafalas
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ExportManifestEntity()
protected
ExportManifestEntity(File file, String userId, String projectId, Boolean isFolder, Boolean isHidden, Boolean isSchedulable)
protected
ExportManifestEntity(String rootFolder, org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile, org.pentaho.platform.api.repository2.unified.RepositoryFileAcl repositoryFileAcl)
ExportManifestEntity(ExportManifestEntityDto exportManifestEntity)
Create this object from the Jaxb bound version of the object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CustomProperty>
getCustomProperties()
EntityAcl
getEntityAcl()
EntityExtraMetaData
getEntityExtraMetaData()
EntityMetaData
getEntityMetaData()
String
getPath()
org.pentaho.platform.api.repository2.unified.RepositoryFile
getRepositoryFile()
Helper method for importing.org.pentaho.platform.api.repository2.unified.RepositoryFileAcl
getRepositoryFileAcl()
Helper method for importing.org.pentaho.platform.api.repository2.unified.RepositoryFileExtraMetaData
getRepositoryFileExtraMetaData()
Helper method for importing.boolean
isValid()
void
setCustomProperties(List<CustomProperty> customProperties)
void
setEntityAcl(EntityAcl entityAcl)
void
setEntityMetaData(EntityMetaData entityMetaData)
void
setExtraEntityMetaData(EntityExtraMetaData entityExtraMetaData)
void
setPath(String path)
-
-
-
Constructor Detail
-
ExportManifestEntity
protected ExportManifestEntity()
-
ExportManifestEntity
protected ExportManifestEntity(String rootFolder, org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile, org.pentaho.platform.api.repository2.unified.RepositoryFileAcl repositoryFileAcl) throws ExportManifestFormatException
- Throws:
ExportManifestFormatException
-
ExportManifestEntity
protected ExportManifestEntity(File file, String userId, String projectId, Boolean isFolder, Boolean isHidden, Boolean isSchedulable)
-
ExportManifestEntity
public ExportManifestEntity(ExportManifestEntityDto exportManifestEntity)
Create this object from the Jaxb bound version of the object.- Parameters:
exportManifestEntity
-
-
-
Method Detail
-
getRepositoryFile
public org.pentaho.platform.api.repository2.unified.RepositoryFile getRepositoryFile()
Helper method for importing. Returns a FileRepository object for the the ExportManifestEntity. Will return null if there is no EntityMetaData present although this should not happen if the manifest is present at all.- Returns:
- RepositoryFile
-
getRepositoryFileAcl
public org.pentaho.platform.api.repository2.unified.RepositoryFileAcl getRepositoryFileAcl() throws ExportManifestFormatException
Helper method for importing. Returns a FileRepositoryAcl object for the the ExportManifestEntity. Will return null if there is no EntityAcl present.- Returns:
- RepositoryFile
- Throws:
ExportManifestFormatException
-
getRepositoryFileExtraMetaData
public org.pentaho.platform.api.repository2.unified.RepositoryFileExtraMetaData getRepositoryFileExtraMetaData() throws ExportManifestFormatException
Helper method for importing. Returns a FileRepositoryExtraMetaData object for the the ExportManifestEntity. Will return null if there is no EntityExtraMetaData present.- Returns:
- RepositoryFileExtraMetaData
- Throws:
ExportManifestFormatException
-
isValid
public boolean isValid()
-
getEntityMetaData
public EntityMetaData getEntityMetaData()
- Returns:
- the entityMetaData
-
setEntityMetaData
public void setEntityMetaData(EntityMetaData entityMetaData)
- Parameters:
entityMetaData
- the entityMetaData to set
-
getEntityExtraMetaData
public EntityExtraMetaData getEntityExtraMetaData()
- Returns:
- the entityExtraMetaData
-
setExtraEntityMetaData
public void setExtraEntityMetaData(EntityExtraMetaData entityExtraMetaData)
- Parameters:
entityExtraMetaData
- the entityExtraMetaData to set
-
getEntityAcl
public EntityAcl getEntityAcl()
- Returns:
- the entityAcl
-
setEntityAcl
public void setEntityAcl(EntityAcl entityAcl)
- Parameters:
entityAcl
- the entityAcl to set
-
getCustomProperties
public List<CustomProperty> getCustomProperties()
- Returns:
- the customProperty
-
setCustomProperties
public void setCustomProperties(List<CustomProperty> customProperties)
- Parameters:
customProperties
- the customProperty to set
-
getPath
public String getPath()
- Returns:
- the path
-
setPath
public void setPath(String path)
- Parameters:
path
- the path to set
-
-