public class ExportManifest extends Object
Constructor and Description |
---|
ExportManifest() |
ExportManifest(ExportManifestDto exportManifestDto) |
public ExportManifest()
public ExportManifest(ExportManifestDto exportManifestDto)
public void add(org.pentaho.platform.api.repository2.unified.RepositoryFile repositoryFile, org.pentaho.platform.api.repository2.unified.RepositoryFileAcl repositoryFileAcl) throws ExportManifestFormatException
repositoryFile
- repositoryFileAcl
- ExportManifestFormatException
- if the RepositoryFile path does not start with the manifest's rootFolder of manifest ispublic void add(File file, String userId, String projectId, Boolean isFolder, Boolean isHidden) throws ExportManifestFormatException
ExportManifestFormatException
public HashMap<String,ExportManifestEntity> getExportManifestEntities()
public ExportManifestEntity getExportManifestEntity(String path)
public void toXml(OutputStream outputStream) throws JAXBException, ExportManifestFormatException
outputStream
- JAXBException
ExportManifestFormatException
public String toXmlString() throws JAXBException
JAXBException
public static ExportManifest fromXml(ByteArrayInputStream input) throws JAXBException
JAXBException
public ExportManifestEntity createExportManifestEntry()
public boolean isValid()
public ExportManifestDto.ExportManifestInformation getManifestInformation()
public void setManifestInformation(ExportManifestDto.ExportManifestInformation manifestInformation)
manifestInformation
- the manifestInformation to setpublic ExportManifestDto.ExportManifestInformation createExportManifestInformation()
public void addMetadata(ExportManifestMetadata metadata)
public void addMondrian(ExportManifestMondrian mondrian)
public void addSchedule(JobScheduleRequest schedule)
public void addDatasource(org.pentaho.database.model.DatabaseConnection connection)
public List<ExportManifestMetadata> getMetadataList()
public List<ExportManifestMondrian> getMondrianList()
public List<JobScheduleRequest> getScheduleList()
public List<org.pentaho.database.model.DatabaseConnection> getDatasourceList()
public List<UserExport> getUserExports()
public void addUserExport(UserExport userExport)
public List<RoleExport> getRoleExports()
public void addRoleExport(RoleExport roleExport)
public void setMetaStore(ExportManifestMetaStore metaStore)
public ExportManifestMetaStore getMetaStore()
public List<ExportManifestUserSetting> getGlobalUserSettings()
public void addGlobalUserSetting(ExportManifestUserSetting globalSetting)