Interface PrimaryDataEntityVersionRmiInterface
-
- All Superinterfaces:
java.rmi.Remote
- All Known Implementing Classes:
PrimaryDataEntityVersionWrapper
public interface PrimaryDataEntityVersionRmiInterface extends java.rmi.Remote
RMI Interface forPrimaryDataEntityVersion
objects.
-
-
Method Summary
Modifier and Type Method Description java.util.Calendar
getCreationDate()
PrimaryDataEntityRmiInterface
getEntity()
MetaData
getMetaData()
java.security.Principal
getOwner()
PublicReference
getPublicReference(PersistentIdentifier identifierType)
java.util.List<PublicReference>
getPublicReferences()
java.lang.Long
getRevision()
java.util.Calendar
getRevisionDate()
boolean
isDeleted()
void
setAllReferencesPublic(javax.mail.internet.InternetAddress emailNotificationAddress, java.util.Calendar releaseDate)
-
-
-
Method Detail
-
getCreationDate
java.util.Calendar getCreationDate() throws java.rmi.RemoteException
- Returns:
- the creation date of this version.
- Throws:
java.rmi.RemoteException
- if unable to call remote function.
-
getEntity
PrimaryDataEntityRmiInterface getEntity() throws java.rmi.RemoteException
- Returns:
- the corresponding
PrimaryDataEntity
to this version. - Throws:
java.rmi.RemoteException
- if unable to call remote function.
-
getMetaData
MetaData getMetaData() throws java.rmi.RemoteException
- Returns:
- the corresponding
MetaData
to this version. - Throws:
java.rmi.RemoteException
- if unable to call remote function.
-
getPublicReferences
java.util.List<PublicReference> getPublicReferences() throws java.rmi.RemoteException
- Returns:
- read only
List
ofPublicReference
. - Throws:
java.rmi.RemoteException
- if unable to call remote function.
-
getPublicReference
PublicReference getPublicReference(PersistentIdentifier identifierType) throws PrimaryDataEntityVersionException, java.rmi.RemoteException
- Parameters:
identifierType
- of thePublicReference
- Returns:
- the found
PublicReference
- Throws:
PrimaryDataEntityVersionException
- if there is noPublicReference
with thisPersistentIdentifier
defined.java.rmi.RemoteException
- if unable to call remote function.
-
getRevision
java.lang.Long getRevision() throws java.rmi.RemoteException
- Returns:
- the revision number of this version.
- Throws:
java.rmi.RemoteException
- if unable to call remote function.
-
getRevisionDate
java.util.Calendar getRevisionDate() throws java.rmi.RemoteException
- Returns:
- the revision date of this version.
- Throws:
java.rmi.RemoteException
- if unable to call remote function.
-
isDeleted
boolean isDeleted() throws java.rmi.RemoteException
- Returns:
- if the version is marked as deleted.
- Throws:
java.rmi.RemoteException
- if unable to call remote function.
-
setAllReferencesPublic
void setAllReferencesPublic(javax.mail.internet.InternetAddress emailNotificationAddress, java.util.Calendar releaseDate) throws PublicReferenceException, java.rmi.RemoteException
- Parameters:
emailNotificationAddress
- the eMail address of the requesting user.releaseDate
- theDate
when the reference should be released- Throws:
PublicReferenceException
- if unable to request thePublicReference
to set public.java.rmi.RemoteException
- if unable to call remote function.
-
getOwner
java.security.Principal getOwner() throws java.rmi.RemoteException
- Returns:
- the owner of this version
- Throws:
java.rmi.RemoteException
- if unable to call remote function.
-
-