Class RepositoryFileImportBundle
- java.lang.Object
-
- org.pentaho.platform.plugin.services.importer.RepositoryFileImportBundle
-
- All Implemented Interfaces:
org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
public class RepositoryFileImportBundle extends Object implements org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
Repository implementation of IPlatformImportBundle. Instances of this class are contructed using the supplied BuilderRepositoryFileImportBundle.Builder
User: nbaker Date: 6/13/12
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RepositoryFileImportBundle.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protected
RepositoryFileImportBundle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
List<org.pentaho.platform.api.repository2.unified.IPlatformImportBundle>
getChildBundles()
String
getComment()
org.pentaho.platform.api.repository2.unified.RepositoryFileExtraMetaData
getExtraMetaData()
When set this extra meta data will be applied to the importing content if that content is to be managed by the repository.org.pentaho.platform.api.repository2.unified.RepositoryFile
getFile()
InputStream
getInputStream()
String
getMimeType()
String
getName()
String
getPath()
Object
getProperty(String prop)
String
getTitle()
boolean
isApplyAclSettings()
boolean
isFolder()
Boolean
isHidden()
boolean
isOverwriteAclSettings()
boolean
isOverwriteInRepository()
boolean
isPreserveDsw()
boolean
isRetainOwnership()
Boolean
isSchedulable()
boolean
overwriteInRepository()
boolean
overwriteInRepossitory()
void
setAcl(org.pentaho.platform.api.repository2.unified.RepositoryFileAcl acl)
void
setApplyAclSettings(boolean applyAclSettings)
void
setCharSet(String charSet)
void
setComment(String comment)
void
setExtraMetaData(org.pentaho.platform.api.repository2.unified.RepositoryFileExtraMetaData extraMetaData)
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)
void
setOverwriteInRepository(boolean overwrite)
void
setPath(String path)
void
setPreserveDsw(boolean preserveDsw)
void
setRetainOwnership(boolean retainOwnership)
void
setSchedulable(Boolean schedulable)
void
setTitle(String title)
-
-
-
Method Detail
-
getAcl
public 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. NOTE: this may be better placed in a sub-interface- Specified by:
getAcl
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
- Returns:
- Repository ACL
-
setAcl
public void setAcl(org.pentaho.platform.api.repository2.unified.RepositoryFileAcl acl)
- Specified by:
setAcl
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
getExtraMetaData
public org.pentaho.platform.api.repository2.unified.RepositoryFileExtraMetaData getExtraMetaData()
When set this extra meta data will be applied to the importing content if that content is to be managed by the repository.- Specified by:
getExtraMetaData
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
- Returns:
-
setExtraMetaData
public void setExtraMetaData(org.pentaho.platform.api.repository2.unified.RepositoryFileExtraMetaData extraMetaData)
- Specified by:
setExtraMetaData
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
getChildBundles
public List<org.pentaho.platform.api.repository2.unified.IPlatformImportBundle> getChildBundles()
- Specified by:
getChildBundles
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
- Throws:
IOException
-
setInputStream
public void setInputStream(InputStream inStr)
-
getPath
public String getPath()
- Specified by:
getPath
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
setPath
public void setPath(String path)
- Specified by:
setPath
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
setName
public void setName(String name)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getCharSet
public String getCharSet()
- Specified by:
getCharSet
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
setCharSet
public void setCharSet(String charSet)
-
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
setMimeType
public void setMimeType(String mimeType)
-
getComment
public String getComment()
-
setComment
public void setComment(String comment)
-
overwriteInRepossitory
public boolean overwriteInRepossitory()
-
setOverwriteInRepository
public void setOverwriteInRepository(boolean overwrite)
-
isHidden
public Boolean isHidden()
-
setHidden
public void setHidden(Boolean hidden)
-
isSchedulable
public Boolean isSchedulable()
-
setSchedulable
public void setSchedulable(Boolean schedulable)
-
isFolder
public boolean isFolder()
-
getFile
public org.pentaho.platform.api.repository2.unified.RepositoryFile getFile()
-
setFile
public void setFile(org.pentaho.platform.api.repository2.unified.RepositoryFile file)
-
isOverwriteInRepository
public boolean isOverwriteInRepository()
-
isApplyAclSettings
public boolean isApplyAclSettings()
- Specified by:
isApplyAclSettings
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
setApplyAclSettings
public void setApplyAclSettings(boolean applyAclSettings)
- Specified by:
setApplyAclSettings
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
isOverwriteAclSettings
public boolean isOverwriteAclSettings()
- Specified by:
isOverwriteAclSettings
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
setOverwriteAclSettings
public void setOverwriteAclSettings(boolean overwriteAclSettings)
- Specified by:
setOverwriteAclSettings
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
isRetainOwnership
public boolean isRetainOwnership()
- Specified by:
isRetainOwnership
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
setRetainOwnership
public void setRetainOwnership(boolean retainOwnership)
- Specified by:
setRetainOwnership
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
getProperty
public Object getProperty(String prop)
- Specified by:
getProperty
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
overwriteInRepository
public boolean overwriteInRepository()
- Specified by:
overwriteInRepository
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
isPreserveDsw
public boolean isPreserveDsw()
- Specified by:
isPreserveDsw
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
setPreserveDsw
public void setPreserveDsw(boolean preserveDsw)
- Specified by:
setPreserveDsw
in interfaceorg.pentaho.platform.api.repository2.unified.IPlatformImportBundle
-
-