Class ExportManifestEntity


  • public class ExportManifestEntity
    extends Object
    This Object represents the information stored in the ExportManifest for one file or folder. The ExportManifest object contains a Hashmap of these objects keyed by the path.
    Author:
    tkafalas
    • Constructor Detail

      • ExportManifestEntity

        protected ExportManifestEntity()
      • 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