Package omero.grid

Class ImportLocation

  • All Implemented Interfaces:
    Ice.Object, java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    ManagedImportLocationI

    public class ImportLocation
    extends Ice.ObjectImpl
    Returned by ManagedRepository.importFileset with the information needed to proceed with an FS import. For the examples that follow, assume that the used files passed to importFileset were:
     /Users/jack/Documents/Data/Experiment-1/1.dv
     /Users/jack/Documents/Data/Experiment-1/1.dv.log
     /Users/jack/Documents/Data/Experiment-2/2.dv
     /Users/jack/Documents/Data/Experiment-2/2.dv.log
     
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[] __ids  
      OriginalFile directory
      Represents the directory to which all files will be uploaded.
      int omittedLevels
      Number of directories which have been omitted from the original paths passed to the server.
      static long serialVersionUID  
      java.lang.String sharedPath
      The shared base of all the paths passed to the server.
      java.util.List<java.lang.String> usedFiles
      Parsed string names which should be used by the clients during upload.
      • Fields inherited from interface Ice.Object

        ice_staticId
    • Constructor Summary

      Constructors 
      Constructor Description
      ImportLocation()  
      ImportLocation​(java.lang.String sharedPath, int omittedLevels, java.util.List<java.lang.String> usedFiles, OriginalFile directory)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void __readImpl​(IceInternal.BasicStream __is)  
      protected void __writeImpl​(IceInternal.BasicStream __os)  
      ImportLocation clone()  
      static Ice.ObjectFactory ice_factory()  
      java.lang.String ice_id()  
      java.lang.String ice_id​(Ice.Current __current)  
      java.lang.String[] ice_ids()  
      java.lang.String[] ice_ids​(Ice.Current __current)  
      boolean ice_isA​(java.lang.String s)  
      boolean ice_isA​(java.lang.String s, Ice.Current __current)  
      static java.lang.String ice_staticId()  
      • Methods inherited from class Ice.ObjectImpl

        ___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __dispatch, __read, __read, __readImpl, __write, __write, __writeImpl, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • __ids

        public static final java.lang.String[] __ids
      • sharedPath

        public java.lang.String sharedPath
        The shared base of all the paths passed to the server.
      • omittedLevels

        public int omittedLevels
        Number of directories which have been omitted from the original paths passed to the server.
      • usedFiles

        public java.util.List<java.lang.String> usedFiles
        Parsed string names which should be used by the clients during upload. This array will be of the same length as the argument passed to ManagedRepository.importFileset but will have shortened paths.
         Experiment/1.dv
         Experiment/1.dv.log
         
      • directory

        public OriginalFile directory
        Represents the directory to which all files will be uploaded.
    • Constructor Detail

      • ImportLocation

        public ImportLocation()
      • ImportLocation

        public ImportLocation​(java.lang.String sharedPath,
                              int omittedLevels,
                              java.util.List<java.lang.String> usedFiles,
                              OriginalFile directory)
    • Method Detail

      • ice_factory

        public static Ice.ObjectFactory ice_factory()
      • ice_isA

        public boolean ice_isA​(java.lang.String s)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class Ice.ObjectImpl
      • ice_isA

        public boolean ice_isA​(java.lang.String s,
                               Ice.Current __current)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class Ice.ObjectImpl
      • ice_ids

        public java.lang.String[] ice_ids()
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class Ice.ObjectImpl
      • ice_ids

        public java.lang.String[] ice_ids​(Ice.Current __current)
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class Ice.ObjectImpl
      • ice_id

        public java.lang.String ice_id()
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class Ice.ObjectImpl
      • ice_id

        public java.lang.String ice_id​(Ice.Current __current)
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class Ice.ObjectImpl
      • ice_staticId

        public static java.lang.String ice_staticId()
      • __writeImpl

        protected void __writeImpl​(IceInternal.BasicStream __os)
        Overrides:
        __writeImpl in class Ice.ObjectImpl
      • __readImpl

        protected void __readImpl​(IceInternal.BasicStream __is)
        Overrides:
        __readImpl in class Ice.ObjectImpl
      • clone

        public ImportLocation clone()
        Specified by:
        clone in interface Ice.Object
        Overrides:
        clone in class Ice.ObjectImpl