Class DataSetRegistrationPersistentMap

  • All Implemented Interfaces:
    java.io.Serializable

    public class DataSetRegistrationPersistentMap
    extends java.lang.Object
    implements java.io.Serializable
    A container for a jython dropbox that can be used to store information during the registration process. This is the suggested way for the users of dropboxes to share some data beetween the dropbox scripts and and the functions like post_registration, post_storage etc.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      boolean containsKey​(java.lang.Object key)  
      boolean containsValue​(java.lang.Object value)  
      java.io.Serializable get​(java.lang.Object key)  
      boolean isEmpty()  
      java.util.Set<java.lang.String> keySet()  
      java.io.Serializable put​(java.lang.String key, java.lang.Object value)  
      void putAll​(DataSetRegistrationPersistentMap other)
      Add all entries from other persistent map.
      java.io.Serializable remove​(java.lang.Object key)  
      int size()  
      java.util.Collection<java.io.Serializable> values()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataSetRegistrationPersistentMap

        public DataSetRegistrationPersistentMap()
    • Method Detail

      • size

        public int size()
      • isEmpty

        public boolean isEmpty()
      • get

        public java.io.Serializable get​(java.lang.Object key)
      • containsKey

        public boolean containsKey​(java.lang.Object key)
      • put

        public java.io.Serializable put​(java.lang.String key,
                                        java.lang.Object value)
        Parameters:
        value - object to put into the map. Method accepts Object instead of Serializable, so that it can fail with informative message if the jython script calls the method with inappropriate type
        Throws:
        java.lang.IllegalArgumentException - if the value is not Serializable.
      • remove

        public java.io.Serializable remove​(java.lang.Object key)
      • clear

        public void clear()
      • containsValue

        public boolean containsValue​(java.lang.Object value)
      • keySet

        public java.util.Set<java.lang.String> keySet()
      • values

        public java.util.Collection<java.io.Serializable> values()