|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nees.data.service.impl.FileManagementServiceImpl
| Field Summary |
| Fields inherited from interface org.nees.data.service.FileManagementServiceInterface |
__CLASS_KEY, __IO_KEY |
| Constructor Summary | |
FileManagementServiceImpl()
Creates a new instance of FileManagmentService |
|
| Method Summary | |
void |
abortDownload(int transferToken)
\ Public methods \ |
void |
abortUpload(int transferToken)
|
void |
append(LogicalName tailLogicalName,
int tailVersion,
LogicalName headLogicalName,
boolean makeNewHeadVersion)
|
void |
copy(LogicalName sourceLogicalName,
int sourceVersion,
LogicalName targetLogicalName,
boolean overwrite,
boolean makeNewVersion)
|
void |
delete(LogicalName sourceLogicalName,
int sourceVersion)
|
void |
downloadComplete(int transferToken)
|
protected NFMSBackendInterface |
getBackend()
|
protected AuthenticIdentity |
getCurrentID()
|
protected FileLocationManager |
getFLM()
|
Identifier |
getID(LogicalName logicalName)
|
int |
getLatestAvailableVersion(LogicalName logicalName)
|
protected NFMSInitObject |
getNFMSIO()
|
protected NMDSAdapter |
getNMDS()
|
protected PermanentStorageInterface |
getPStore()
|
void |
initialize(java.util.Properties p,
InitializationObjectInterface io)
This method is to fulfill the instantiation contract. |
boolean |
isDeleted(LogicalName logicalName,
int version)
|
TransferReturnBean |
requestDownload(LogicalName logicalName,
DownloadOptions downloadOptions)
|
TransferReturnBean |
requestDownloadWithOptions(LogicalName logicalName,
DownloadOptions[] downloadOptions)
|
TransferReturnBean |
requestUpload(LogicalName logicalName,
UploadOptions uploadOptions)
|
TransferReturnBean |
requestUploadWithOptions(LogicalName logicalName,
UploadOptions[] uploadOptions)
|
protected void |
setSystemProperties(java.util.Properties p,
java.lang.String key,
java.lang.String defaultValue)
Just because this is messy, it is a separate method. |
void |
uploadComplete(int transferToken)
|
protected UploadOptions |
uploadCreationLogic(boolean doesFileExist,
UploadOptions uo)
This exists to winnow out goofy conflicting upload options. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileManagementServiceImpl()
| Method Detail |
public void abortDownload(int transferToken)
throws NFMSException
abortDownload in interface FileManagementServiceInterfaceNFMSException
public void abortUpload(int transferToken)
throws NFMSException
abortUpload in interface FileManagementServiceInterfaceNFMSException
public void append(LogicalName tailLogicalName,
int tailVersion,
LogicalName headLogicalName,
boolean makeNewHeadVersion)
throws NFMSException
append in interface FileManagementServiceInterfaceNFMSException
public void copy(LogicalName sourceLogicalName,
int sourceVersion,
LogicalName targetLogicalName,
boolean overwrite,
boolean makeNewVersion)
throws NFMSException
copy in interface FileManagementServiceInterfaceNFMSException
public void delete(LogicalName sourceLogicalName,
int sourceVersion)
throws NFMSException
delete in interface FileManagementServiceInterfaceNFMSException
public int getLatestAvailableVersion(LogicalName logicalName)
throws NFMSException
getLatestAvailableVersion in interface FileManagementServiceInterfaceNFMSException
public void downloadComplete(int transferToken)
throws NFMSException
downloadComplete in interface FileManagementServiceInterfaceNFMSException
public void initialize(java.util.Properties p,
InitializationObjectInterface io)
throws java.lang.Exception
initialize in interface InstantiationContractInterfacejava.lang.Exception
protected void setSystemProperties(java.util.Properties p,
java.lang.String key,
java.lang.String defaultValue)
throws NFMSConfigurationException
NFMSConfigurationException
public boolean isDeleted(LogicalName logicalName,
int version)
throws NFMSException
isDeleted in interface FileManagementServiceInterfaceNFMSException
public TransferReturnBean requestDownload(LogicalName logicalName,
DownloadOptions downloadOptions)
throws NFMSException
requestDownload in interface FileManagementServiceInterfaceNFMSException
public TransferReturnBean requestDownloadWithOptions(LogicalName logicalName,
DownloadOptions[] downloadOptions)
throws NFMSException
requestDownloadWithOptions in interface FileManagementServiceInterfaceNFMSException
public TransferReturnBean requestUpload(LogicalName logicalName,
UploadOptions uploadOptions)
throws NFMSException
requestUpload in interface FileManagementServiceInterfaceNFMSException
public TransferReturnBean requestUploadWithOptions(LogicalName logicalName,
UploadOptions[] uploadOptions)
throws NFMSException
requestUploadWithOptions in interface FileManagementServiceInterfaceNFMSException
public void uploadComplete(int transferToken)
throws NFMSException
uploadComplete in interface FileManagementServiceInterfaceNFMSException
protected FileLocationManager getFLM()
throws NFMSException
NFMSException
protected NMDSAdapter getNMDS()
throws NFMSException
NFMSException
protected PermanentStorageInterface getPStore()
throws NFMSException
NFMSExceptionprotected NFMSInitObject getNFMSIO()
protected NFMSBackendInterface getBackend()
protected AuthenticIdentity getCurrentID()
protected UploadOptions uploadCreationLogic(boolean doesFileExist,
UploadOptions uo)
throws NFMSException
NFMSException
public Identifier getID(LogicalName logicalName)
throws NFMSException
getID in interface FileManagementServiceInterfaceNFMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||