Class RepositoryFileAdapter


  • public class RepositoryFileAdapter
    extends XmlAdapter<org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto,​org.pentaho.platform.api.repository2.unified.RepositoryFile>
    Converts RepositoryFile into JAXB-safe object and vice-versa.
    Author:
    mlowery
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.slf4j.Logger getLogger()  
      org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto marshal​(org.pentaho.platform.api.repository2.unified.RepositoryFile v)  
      org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto marshal​(org.pentaho.platform.api.repository2.unified.RepositoryFileTree repositoryFileTree)  
      static String marshalDate​(Date date)  
      static org.pentaho.platform.api.repository2.unified.RepositoryFile toFile​(org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto v)  
      static org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto toFileDto​(org.pentaho.platform.api.repository2.unified.RepositoryFile v, Set<String> memberSet, boolean exclude)  
      static org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto toFileDto​(org.pentaho.platform.api.repository2.unified.RepositoryFile v, Set<String> memberSet, boolean exclude, boolean includeAcls)  
      static org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto toFileDto​(org.pentaho.platform.api.repository2.unified.RepositoryFileTree repositoryFileTree, Set<String> memberSet, boolean exclude, boolean includeAcls)  
      org.pentaho.platform.api.repository2.unified.RepositoryFile unmarshal​(org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto v)  
      static Date unmarshalDate​(String date)  
    • Constructor Detail

      • RepositoryFileAdapter

        public RepositoryFileAdapter()
      • RepositoryFileAdapter

        public RepositoryFileAdapter​(org.pentaho.platform.api.repository2.unified.RepositoryRequest repositoryRequest)
    • Method Detail

      • getLogger

        public static org.slf4j.Logger getLogger()
      • marshal

        public org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto marshal​(org.pentaho.platform.api.repository2.unified.RepositoryFile v)
        Specified by:
        marshal in class XmlAdapter<org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto,​org.pentaho.platform.api.repository2.unified.RepositoryFile>
      • marshal

        public org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto marshal​(org.pentaho.platform.api.repository2.unified.RepositoryFileTree repositoryFileTree)
      • toFileDto

        public static org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto toFileDto​(org.pentaho.platform.api.repository2.unified.RepositoryFileTree repositoryFileTree,
                                                                                                           Set<String> memberSet,
                                                                                                           boolean exclude,
                                                                                                           boolean includeAcls)
      • toFileDto

        public static org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto toFileDto​(org.pentaho.platform.api.repository2.unified.RepositoryFile v,
                                                                                                           Set<String> memberSet,
                                                                                                           boolean exclude)
      • toFileDto

        public static org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto toFileDto​(org.pentaho.platform.api.repository2.unified.RepositoryFile v,
                                                                                                           Set<String> memberSet,
                                                                                                           boolean exclude,
                                                                                                           boolean includeAcls)
      • unmarshal

        public org.pentaho.platform.api.repository2.unified.RepositoryFile unmarshal​(org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto v)
        Specified by:
        unmarshal in class XmlAdapter<org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto,​org.pentaho.platform.api.repository2.unified.RepositoryFile>
      • toFile

        public static org.pentaho.platform.api.repository2.unified.RepositoryFile toFile​(org.pentaho.platform.api.repository2.unified.webservices.RepositoryFileDto v)
      • unmarshalDate

        public static Date unmarshalDate​(String date)
      • marshalDate

        public static String marshalDate​(Date date)