public class RepositoryFileImportBundle extends Object implements IPlatformImportBundle
RepositoryFileImportBundle.Builder
User: nbaker Date: 6/13/12Modifier and Type | Class and Description |
---|---|
static class |
RepositoryFileImportBundle.Builder |
Modifier and Type | Method and Description |
---|---|
org.pentaho.platform.api.repository2.unified.RepositoryFileAcl |
getAcl()
When set this ACL will be applied to the importing content if that content is to be managed by the repository.
|
String |
getCharset()
Optional character set for the binary InputStream.
|
String |
getCharSet() |
List<IPlatformImportBundle> |
getChildBundles()
This allows for arbitrary parent-child trees to be imported.
|
String |
getComment() |
org.pentaho.platform.api.repository2.unified.RepositoryFile |
getFile() |
InputStream |
getInputStream()
Optional InputStream for content with a binary component.
|
String |
getMimeType()
mime-type to be used to resolve an IPlatformImportHandler.
|
String |
getName()
Optional content name.
|
String |
getPath()
Path which may be used to indicate where a bundle belongs in the repository.
|
Object |
getProperty(String prop)
Convenience method for extra properties.
|
String |
getTitle() |
boolean |
isApplyAclSettings() |
boolean |
isFolder() |
boolean |
isHidden() |
boolean |
isOverwriteAclSettings() |
boolean |
isOverwriteInRepository() |
boolean |
isPreserveDsw()
Preserve DSW OLAP model data
|
boolean |
isRetainOwnership() |
boolean |
overwriteInRepository()
pass in flag to allow overwrite in repository (if exists)
|
boolean |
overwriteInRepossitory() |
void |
setAcl(org.pentaho.platform.api.repository2.unified.RepositoryFileAcl acl) |
void |
setApplyAclSettings(boolean applyAclSettings)
use the import manfiest file to apply ACL settings to files and folders
|
void |
setCharSet(String charSet) |
void |
setComment(String comment) |
void |
setFile(org.pentaho.platform.api.repository2.unified.RepositoryFile file) |
void |
setHidden(boolean hidden) |
void |
setInputStream(InputStream inStr) |
void |
setMimeType(String mimeType) |
void |
setName(String name) |
void |
setOverwriteAclSettings(boolean overwriteAclSettings)
use the import manifest ACL settings and overwrite existing settings
|
void |
setOverwriteInRepository(boolean overwrite) |
void |
setPath(String path)
Path which may be used to indicate where a bundle belongs in the repository.
|
void |
setPreserveDsw(boolean preserveDsw)
Preserve DSW OLAP model data
|
void |
setRetainOwnership(boolean retainOwnership)
retain the file metadata ownership
|
void |
setTitle(String title) |
public org.pentaho.platform.api.repository2.unified.RepositoryFileAcl getAcl()
getAcl
in interface IPlatformImportBundle
public void setAcl(org.pentaho.platform.api.repository2.unified.RepositoryFileAcl acl)
setAcl
in interface IPlatformImportBundle
public List<IPlatformImportBundle> getChildBundles()
IPlatformImportBundle
getChildBundles
in interface IPlatformImportBundle
public InputStream getInputStream() throws IOException
IPlatformImportBundle
getInputStream
in interface IPlatformImportBundle
IOException
public void setInputStream(InputStream inStr)
public String getPath()
IPlatformImportBundle
getPath
in interface IPlatformImportBundle
public void setPath(String path)
IPlatformImportBundle
setPath
in interface IPlatformImportBundle
public String getName()
IPlatformImportBundle
getName
in interface IPlatformImportBundle
public void setName(String name)
public String getTitle()
public void setTitle(String title)
public String getCharset()
IPlatformImportBundle
getCharset
in interface IPlatformImportBundle
public void setCharSet(String charSet)
public String getMimeType()
IPlatformImportBundle
getMimeType
in interface IPlatformImportBundle
public void setMimeType(String mimeType)
public String getComment()
public void setComment(String comment)
public boolean overwriteInRepossitory()
public void setOverwriteInRepository(boolean overwrite)
public boolean isHidden()
public void setHidden(boolean hidden)
public boolean isFolder()
public org.pentaho.platform.api.repository2.unified.RepositoryFile getFile()
public void setFile(org.pentaho.platform.api.repository2.unified.RepositoryFile file)
public boolean isOverwriteInRepository()
public boolean isApplyAclSettings()
isApplyAclSettings
in interface IPlatformImportBundle
public void setApplyAclSettings(boolean applyAclSettings)
IPlatformImportBundle
setApplyAclSettings
in interface IPlatformImportBundle
public boolean isOverwriteAclSettings()
isOverwriteAclSettings
in interface IPlatformImportBundle
public void setOverwriteAclSettings(boolean overwriteAclSettings)
IPlatformImportBundle
setOverwriteAclSettings
in interface IPlatformImportBundle
public boolean isRetainOwnership()
isRetainOwnership
in interface IPlatformImportBundle
public void setRetainOwnership(boolean retainOwnership)
IPlatformImportBundle
setRetainOwnership
in interface IPlatformImportBundle
public String getCharSet()
public Object getProperty(String prop)
IPlatformImportBundle
getProperty
in interface IPlatformImportBundle
public boolean overwriteInRepository()
IPlatformImportBundle
overwriteInRepository
in interface IPlatformImportBundle
public boolean isPreserveDsw()
IPlatformImportBundle
isPreserveDsw
in interface IPlatformImportBundle
public void setPreserveDsw(boolean preserveDsw)
IPlatformImportBundle
setPreserveDsw
in interface IPlatformImportBundle