Class ClientPrimaryDataEntityVersion

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected de.ipk_gatersleben.bit.bi.edal.rmi.interfaces.PrimaryDataEntityVersionRmiInterface myEntityVersionRMI  
    • Method Summary

      Modifier and Type Method Description
      int compareTo​(ClientPrimaryDataEntityVersion o)  
      java.util.Calendar getCreationDate()
      PrimaryDataEntityVersion.getCreationDate()
      ClientPrimaryDataEntity getEntity()
      PrimaryDataEntityVersion.getEntity()
      de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.MetaData getMetaData()
      PrimaryDataEntityVersion.getMetaData()
      java.security.Principal getOwner()
      PrimaryDataEntityVersion.getOwner()
      de.ipk_gatersleben.bit.bi.edal.primary_data.file.PublicReference getPublicReference​(de.ipk_gatersleben.bit.bi.edal.primary_data.reference.PersistentIdentifier identifierType)
      PrimaryDataEntityVersion.getPublicReference(PersistentIdentifier)
      java.util.List<de.ipk_gatersleben.bit.bi.edal.primary_data.file.PublicReference> getPublicReferences()
      PrimaryDataEntityVersion.getPublicReferences()
      java.lang.Long getRevision()
      PrimaryDataEntityVersion.getRevision()
      java.util.Calendar getRevisionDate()
      PrimaryDataEntityVersion.getRevisionDate()
      boolean isDeleted()
      PrimaryDataEntityVersion.isDeleted()
      void setAllReferencesPublic​(javax.mail.internet.InternetAddress emailNotificationAddress, java.util.Calendar releaseDate)
      PrimaryDataEntityVersion.setAllReferencesPublic(InternetAddress)
      • Methods inherited from class java.lang.Object

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

      • myEntityVersionRMI

        protected de.ipk_gatersleben.bit.bi.edal.rmi.interfaces.PrimaryDataEntityVersionRmiInterface myEntityVersionRMI
    • Constructor Detail

      • ClientPrimaryDataEntityVersion

        protected ClientPrimaryDataEntityVersion​(de.ipk_gatersleben.bit.bi.edal.rmi.interfaces.PrimaryDataEntityVersionRmiInterface version,
                                                 ClientDataManager client)
    • Method Detail

      • getCreationDate

        public java.util.Calendar getCreationDate()
                                           throws java.rmi.RemoteException
        PrimaryDataEntityVersion.getCreationDate()
        Returns:
        creationDate
        Throws:
        java.rmi.RemoteException - if unable to call remote function.
      • getEntity

        public ClientPrimaryDataEntity getEntity()
                                          throws java.rmi.RemoteException
        PrimaryDataEntityVersion.getEntity()
        Returns:
        the corresponding ClientPrimaryDataEntity
        Throws:
        java.rmi.RemoteException - if unable to call remote function.
      • getMetaData

        public de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.MetaData getMetaData()
                                                                                  throws java.rmi.RemoteException
        PrimaryDataEntityVersion.getMetaData()
        Returns:
        the corresponding meta data
        Throws:
        java.rmi.RemoteException - if unable to call remote function.
      • getOwner

        public java.security.Principal getOwner()
                                         throws java.rmi.RemoteException
        PrimaryDataEntityVersion.getOwner()
        Returns:
        the owner.
        Throws:
        java.rmi.RemoteException - if unable to call remote function.
      • getPublicReference

        public de.ipk_gatersleben.bit.bi.edal.primary_data.file.PublicReference getPublicReference​(de.ipk_gatersleben.bit.bi.edal.primary_data.reference.PersistentIdentifier identifierType)
                                                                                            throws java.rmi.RemoteException,
                                                                                                   de.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataEntityVersionException
        PrimaryDataEntityVersion.getPublicReference(PersistentIdentifier)
        Parameters:
        identifierType - of the PublicReference
        Returns:
        the found PublicReference
        Throws:
        de.ipk_gatersleben.bit.bi.edal.primary_data.file.PrimaryDataEntityVersionException - if there is no PublicReference with this PersistentIdentifier defined.
        java.rmi.RemoteException - if unable to call remote function.
      • getPublicReferences

        public java.util.List<de.ipk_gatersleben.bit.bi.edal.primary_data.file.PublicReference> getPublicReferences()
                                                                                                             throws java.rmi.RemoteException
        PrimaryDataEntityVersion.getPublicReferences()
        Returns:
        read only List of PublicReference.
        Throws:
        java.rmi.RemoteException - if unable to call remote function.
      • getRevision

        public java.lang.Long getRevision()
                                   throws java.rmi.RemoteException
        PrimaryDataEntityVersion.getRevision()
        Returns:
        the revision number
        Throws:
        java.rmi.RemoteException - if unable to call remote function.
      • getRevisionDate

        public java.util.Calendar getRevisionDate()
                                           throws java.rmi.RemoteException
        PrimaryDataEntityVersion.getRevisionDate()
        Returns:
        revisionDate
        Throws:
        java.rmi.RemoteException - if unable to call remote function.
      • isDeleted

        public boolean isDeleted()
                          throws java.rmi.RemoteException
        PrimaryDataEntityVersion.isDeleted()
        Returns:
        true if the ClientPrimaryDataEntityVersion is marked as deleted;false otherwise.
        Throws:
        java.rmi.RemoteException - if unable to call remote function.
      • setAllReferencesPublic

        public void setAllReferencesPublic​(javax.mail.internet.InternetAddress emailNotificationAddress,
                                           java.util.Calendar releaseDate)
                                    throws de.ipk_gatersleben.bit.bi.edal.primary_data.file.PublicReferenceException,
                                           java.rmi.RemoteException
        PrimaryDataEntityVersion.setAllReferencesPublic(InternetAddress)
        Parameters:
        emailNotificationAddress - the eMail address of the requesting user.
        releaseDate - the release data
        Throws:
        de.ipk_gatersleben.bit.bi.edal.primary_data.file.PublicReferenceException - if unable to request the PublicReference to set public.
        java.rmi.RemoteException - if unable to call remote function.