Interface PrimaryDataFileRmiInterface
-
- All Superinterfaces:
PrimaryDataEntityRmiInterface,java.rmi.Remote
- All Known Implementing Classes:
PrimaryDataFileWrapper
public interface PrimaryDataFileRmiInterface extends PrimaryDataEntityRmiInterface
RMI Interface forPrimaryDataFileobjects.
-
-
Method Summary
Modifier and Type Method Description com.healthmarketscience.rmiio.RemoteInputStreamsendFileToClient(long versionNumber, javax.security.auth.Subject subject)com.healthmarketscience.rmiio.RemoteOutputStreamsendOutputStreamToFillFromClient(javax.security.auth.Subject subject)voidsetMetaData(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:
setMetaDatain interfacePrimaryDataEntityRmiInterface- Parameters:
metadata- the newMetaDataobject 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 theMetaDataobject.- 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.RemoteExceptionjava.io.FileNotFoundExceptionjava.io.IOException
-
sendOutputStreamToFillFromClient
com.healthmarketscience.rmiio.RemoteOutputStream sendOutputStreamToFillFromClient(javax.security.auth.Subject subject) throws java.rmi.RemoteException, PrimaryDataFileException, PrimaryDataEntityVersionException- Throws:
java.rmi.RemoteExceptionPrimaryDataFileExceptionPrimaryDataEntityVersionException
-
-