Class 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 Builder RepositoryFileImportBundle.Builder User: nbaker Date: 6/13/12
    • Constructor Detail

      • RepositoryFileImportBundle

        protected RepositoryFileImportBundle()
    • 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 interface org.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 interface org.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 interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
        Returns:
      • setExtraMetaData

        public void setExtraMetaData​(org.pentaho.platform.api.repository2.unified.RepositoryFileExtraMetaData extraMetaData)
        Specified by:
        setExtraMetaData in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • getChildBundles

        public List<org.pentaho.platform.api.repository2.unified.IPlatformImportBundle> getChildBundles()
        Specified by:
        getChildBundles in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • getInputStream

        public InputStream getInputStream()
                                   throws IOException
        Specified by:
        getInputStream in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
        Throws:
        IOException
      • setInputStream

        public void setInputStream​(InputStream inStr)
      • getPath

        public String getPath()
        Specified by:
        getPath in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • setPath

        public void setPath​(String path)
        Specified by:
        setPath in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • getName

        public String getName()
        Specified by:
        getName in interface org.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 interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • setCharSet

        public void setCharSet​(String charSet)
      • getMimeType

        public String getMimeType()
        Specified by:
        getMimeType in interface org.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 interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • setApplyAclSettings

        public void setApplyAclSettings​(boolean applyAclSettings)
        Specified by:
        setApplyAclSettings in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • isOverwriteAclSettings

        public boolean isOverwriteAclSettings()
        Specified by:
        isOverwriteAclSettings in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • setOverwriteAclSettings

        public void setOverwriteAclSettings​(boolean overwriteAclSettings)
        Specified by:
        setOverwriteAclSettings in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • isRetainOwnership

        public boolean isRetainOwnership()
        Specified by:
        isRetainOwnership in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • setRetainOwnership

        public void setRetainOwnership​(boolean retainOwnership)
        Specified by:
        setRetainOwnership in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • getProperty

        public Object getProperty​(String prop)
        Specified by:
        getProperty in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • overwriteInRepository

        public boolean overwriteInRepository()
        Specified by:
        overwriteInRepository in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • isPreserveDsw

        public boolean isPreserveDsw()
        Specified by:
        isPreserveDsw in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle
      • setPreserveDsw

        public void setPreserveDsw​(boolean preserveDsw)
        Specified by:
        setPreserveDsw in interface org.pentaho.platform.api.repository2.unified.IPlatformImportBundle