Interface PrimaryDataFileRmiInterface
-
- All Superinterfaces:
PrimaryDataEntityRmiInterface
,java.rmi.Remote
- All Known Implementing Classes:
PrimaryDataFileWrapper
public interface PrimaryDataFileRmiInterface extends PrimaryDataEntityRmiInterface
RMI Interface forPrimaryDataFile
objects.
-
-
Method Summary
Modifier and Type Method Description com.healthmarketscience.rmiio.RemoteInputStream
sendFileToClient(long versionNumber, javax.security.auth.Subject subject)
com.healthmarketscience.rmiio.RemoteOutputStream
sendOutputStreamToFillFromClient(javax.security.auth.Subject subject)
void
setMetaData(MetaData metadata, javax.security.auth.Subject subject)
-
Methods inherited from interface de.ipk_gatersleben.bit.bi.edal.rmi.interfaces.PrimaryDataEntityRmiInterface
addPublicReference, delete, getCurrentVersion, getID, getMetaData, getName, getParentDirectory, getPath, getPermissions, getPublicReferences, getVersionByDate, getVersionByRevisionNumber, getVersions, grantPermission, isDirectory, move, rename, revokePermission
-
-
-
-
Method Detail
-
setMetaData
void setMetaData(MetaData metadata, javax.security.auth.Subject subject) throws java.rmi.RemoteException, PrimaryDataEntityVersionException, MetaDataException
- Specified by:
setMetaData
in interfacePrimaryDataEntityRmiInterface
- Parameters:
metadata
- the newMetaData
object to set.subject
- the authenticated subject for check permission.- Throws:
java.rmi.RemoteException
- if unable to call remote function.PrimaryDataEntityVersionException
- if unable to storePrimaryDataEntityVersion
.MetaDataException
- if there are non valid value for element in theMetaData
object.- See Also:
PrimaryDataEntity.setMetaData(MetaData)
-
sendFileToClient
com.healthmarketscience.rmiio.RemoteInputStream sendFileToClient(long versionNumber, javax.security.auth.Subject subject) throws java.rmi.RemoteException, java.io.FileNotFoundException, java.io.IOException
- Throws:
java.rmi.RemoteException
java.io.FileNotFoundException
java.io.IOException
-
sendOutputStreamToFillFromClient
com.healthmarketscience.rmiio.RemoteOutputStream sendOutputStreamToFillFromClient(javax.security.auth.Subject subject) throws java.rmi.RemoteException, PrimaryDataFileException, PrimaryDataEntityVersionException
- Throws:
java.rmi.RemoteException
PrimaryDataFileException
PrimaryDataEntityVersionException
-
-