Uses of Class
org.gcube.contentmanagement.baselayer.RawContentLocation

Packages that use RawContentLocation
org.gcube.contentmanagement.baselayer   
org.gcube.contentmanagement.baselayer.filesystemImpl   
org.gcube.contentmanagement.baselayer.inMessageImpl   
org.gcube.contentmanagement.baselayer.networkFileTransfer   
org.gcube.contentmanagement.baselayer.networkFileTransfer.gfal   
org.gcube.contentmanagement.baselayer.rdbmsImpl   
org.gcube.contentmanagement.baselayer.streamutils   
 

Uses of RawContentLocation in org.gcube.contentmanagement.baselayer
 

Methods in org.gcube.contentmanagement.baselayer that return RawContentLocation
static RawContentLocation BaseLayerUtils.getExternalLocation(java.lang.String fileLocation, BasicStorageHints hints)
          Generates a location that can be stored as an external location
 RawContentLocation RawFileContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
static RawContentLocation BaseLayerUtils.makePseudoUniqueLocation(RawContentLocation location, RawFileContentManager manager, BasicStorageHints hints)
          Generates a location that is to best knowledge unique.
 RawContentLocation RawContentLocationSelectionStrategy.saveAtPreferredLocation(java.lang.String objectID, BaseLayerStream bls, BasicStorageHints storageHints)
          Saves content at a location, which is selected based on the strategies preferences and the given hints.
 RawContentLocation RawFileContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 

Methods in org.gcube.contentmanagement.baselayer that return types with arguments of type RawContentLocation
 java.util.List<RawContentLocation> RelationshipAndPropertyManager.retrieveObjectContentLocations(java.lang.String oid)
          Retrieves all locations where the content can be accessed
 

Methods in org.gcube.contentmanagement.baselayer with parameters of type RawContentLocation
 void RelationshipAndPropertyManager.addLinkContentLocation(java.lang.String oid, RawContentLocation location)
          Registers a location for the content of the information object
 boolean RawFileContentManager.deleteBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Removes the binary content from storage
 boolean RawFileContentManager.existsBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Checks whether there is content at this location
 BaseLayerStream RawFileContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 RawContentLocation RawFileContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
static RawContentLocation BaseLayerUtils.makePseudoUniqueLocation(RawContentLocation location, RawFileContentManager manager, BasicStorageHints hints)
          Generates a location that is to best knowledge unique.
 boolean RelationshipAndPropertyManager.removeLinkContentLocation(RawContentLocation location)
          Unregisters a location for the content of the information object
 void RelationshipAndPropertyManager.updateLinkContentLocations(java.lang.String oid, RawContentLocation newestLocation)
          Updates the locations for the content of the information object
 

Method parameters in org.gcube.contentmanagement.baselayer with type arguments of type RawContentLocation
abstract  BaseLayerStream RawContentLocationSelectionStrategy.retrieveFromPreferredLocation(java.util.List<RawContentLocation> locations, BasicStorageHints storageHints)
          Retrieves content from a location based on the strategies preferences and the given hints.
 

Uses of RawContentLocation in org.gcube.contentmanagement.baselayer.filesystemImpl
 

Methods in org.gcube.contentmanagement.baselayer.filesystemImpl that return RawContentLocation
 RawContentLocation LocalFilesystemStorage.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation LocalFilesystemHandler.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation LocalFilesystemStorage.saveBinaryContent(java.io.File outputFile, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation LocalFilesystemHandler.saveBinaryContent(java.io.File outputFile, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation LocalFilesystemStorage.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation LocalFilesystemHandler.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 

Methods in org.gcube.contentmanagement.baselayer.filesystemImpl with parameters of type RawContentLocation
 boolean LocalFilesystemStorage.deleteBinaryContent(RawContentLocation rcl, BasicStorageHints hints)
          Removes the binary content from storage
 boolean LocalFilesystemHandler.deleteBinaryContent(RawContentLocation rcl, BasicStorageHints hints)
          Removes the binary content from storage
 boolean LocalFilesystemStorage.existsBinaryContent(RawContentLocation rcl, BasicStorageHints hints)
          Checks whether there is content at this location
 boolean LocalFilesystemHandler.existsBinaryContent(RawContentLocation rcl, BasicStorageHints hints)
          Checks whether there is content at this location
 BaseLayerStream LocalFilesystemStorage.getBinaryContent(RawContentLocation rcl, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 BaseLayerStream LocalFilesystemHandler.getBinaryContent(RawContentLocation rcl, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
static LocalFilesystemStorage LocalFilesystemStorage.getManagerFor(RawContentLocation rcl)
          Factory method that returns the instance of a manager for a particular location.
static LocalFilesystemHandler LocalFilesystemHandler.getManagerFor(RawContentLocation rcl)
          Factory method that returns the instance of a manager for a particular location.
 RawContentLocation LocalFilesystemStorage.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation LocalFilesystemHandler.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 

Uses of RawContentLocation in org.gcube.contentmanagement.baselayer.inMessageImpl
 

Subclasses of RawContentLocation in org.gcube.contentmanagement.baselayer.inMessageImpl
 class InMemoryRawContentLocation
          This class is able to hold not only the location, but also the actual raw content in a simple byte[]
 

Methods in org.gcube.contentmanagement.baselayer.inMessageImpl that return RawContentLocation
 RawContentLocation InMemoryContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation InMemoryContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation InMemoryContentManager.storeBytes(byte[] content, BasicStorageHints hints)
          Shorthand to store a reference to bytes directly without the need of copying them in memory
 RawContentLocation InMemoryContentManager.storeBytes(java.lang.String uniqueStorageID, byte[] content, BasicStorageHints hints)
          Shorthand to store a reference to bytes directly without the need of copying them in memory
 

Methods in org.gcube.contentmanagement.baselayer.inMessageImpl with parameters of type RawContentLocation
 boolean InMemoryContentManager.deleteBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Removes the binary content from storage
 boolean InMemoryContentManager.existsBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Checks whether there is content at this location
 BaseLayerStream InMemoryContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller.
 RawContentLocation InMemoryContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 

Uses of RawContentLocation in org.gcube.contentmanagement.baselayer.networkFileTransfer
 

Methods in org.gcube.contentmanagement.baselayer.networkFileTransfer that return RawContentLocation
 RawContentLocation GridFTPContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation FTPPseudoContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation HTTPPseudoContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation CommonsHTTPClientPseudeContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation CoGFTPContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation GridFTPContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation FTPPseudoContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation HTTPPseudoContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation CommonsHTTPClientPseudeContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 RawContentLocation CoGFTPContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 

Methods in org.gcube.contentmanagement.baselayer.networkFileTransfer with parameters of type RawContentLocation
 boolean GridFTPContentManager.deleteBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Removes the binary content from storage
 boolean FTPPseudoContentManager.deleteBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Removes the binary content from storage (Unsupported Operation)
 boolean HTTPPseudoContentManager.deleteBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Removes the binary content from storage (Unsupported Operation)
 boolean CommonsHTTPClientPseudeContentManager.deleteBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Removes the binary content from storage (Unsupported Operation)
 boolean CoGFTPContentManager.deleteBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Removes the binary content from storage
 void GridFTPContentManager.ensureResponsibleFor(RawContentLocation rcl)
           
 boolean GridFTPContentManager.existsBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Checks whether there is content associated with this ID
 boolean FTPPseudoContentManager.existsBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Checks whether there is content at this location
 boolean HTTPPseudoContentManager.existsBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Checks whether there is content at this location
 boolean CommonsHTTPClientPseudeContentManager.existsBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Checks whether there is content at this location
 boolean CoGFTPContentManager.existsBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Checks whether there is content at this location
 BaseLayerStream GridFTPContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 BaseLayerStream FTPPseudoContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 BaseLayerStream HTTPPseudoContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 BaseLayerStream CommonsHTTPClientPseudeContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 BaseLayerStream CoGFTPContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
 RawContentLocation GridFTPContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation FTPPseudoContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation HTTPPseudoContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation CommonsHTTPClientPseudeContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation CoGFTPContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 

Uses of RawContentLocation in org.gcube.contentmanagement.baselayer.networkFileTransfer.gfal
 

Methods in org.gcube.contentmanagement.baselayer.networkFileTransfer.gfal that return RawContentLocation
 RawContentLocation GFALRawContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
           
 RawContentLocation GFALRawContentManager.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
           
 

Methods in org.gcube.contentmanagement.baselayer.networkFileTransfer.gfal with parameters of type RawContentLocation
 boolean GFALRawContentManager.deleteBinaryContent(RawContentLocation location, BasicStorageHints hints)
           
 boolean GFALRawContentManager.existsBinaryContent(RawContentLocation location, BasicStorageHints hints)
           
 BaseLayerStream GFALRawContentManager.getBinaryContent(RawContentLocation location, BasicStorageHints hints)
           
 RawContentLocation GFALRawContentManager.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
           
 

Uses of RawContentLocation in org.gcube.contentmanagement.baselayer.rdbmsImpl
 

Methods in org.gcube.contentmanagement.baselayer.rdbmsImpl that return RawContentLocation
 RawContentLocation GenericJDBCDatabase.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 RawContentLocation GenericJDBCDatabase.saveBinaryContent(java.lang.String uniqueStorageID, BaseLayerStream binaryFileContent, BasicStorageHints hints)
          Saves the passed binary content in the managed resource.
 

Methods in org.gcube.contentmanagement.baselayer.rdbmsImpl that return types with arguments of type RawContentLocation
 java.util.List<RawContentLocation> GenericJDBCDatabase.retrieveObjectContentLocations(java.lang.String oid)
          Adds to the list all locations known for a particular object
 

Methods in org.gcube.contentmanagement.baselayer.rdbmsImpl with parameters of type RawContentLocation
 void GenericJDBCDatabase.addLinkContentLocation(java.lang.String oid, RawContentLocation location)
          Registers a location for the content of the information object
 boolean GenericJDBCDatabase.deleteBinaryContent(RawContentLocation rcl, BasicStorageHints hints)
          Removes the binary content from storage
 void GenericJDBCDatabase.ensureResponsibleFor(RawContentLocation rcl)
           
 boolean GenericJDBCDatabase.existsBinaryContent(RawContentLocation rcl, BasicStorageHints hints)
          Checks whether there is content associated with this content id
 BaseLayerStream GenericJDBCDatabase.getBinaryContent(RawContentLocation rcl, BasicStorageHints hints)
          Opens the content for reading and passes the input stream to the caller
WARNING: This method will leave the database connection open, to give direct access to te BLOB field.
 RawContentLocation GenericJDBCDatabase.makePermanentLocation(RawContentLocation currentLocation, BasicStorageHints hints)
          Returns a raw location, which can be stored and retrieved later without the need to pass again all the hints.
 boolean GenericJDBCDatabase.removeLinkContentLocation(RawContentLocation location)
          Unregisters a location for the content of the information object
 void GenericJDBCDatabase.updateLinkContentLocations(java.lang.String oid, RawContentLocation newestLocation)
          Updates the locations for the content of the information object
 

Uses of RawContentLocation in org.gcube.contentmanagement.baselayer.streamutils
 

Constructors in org.gcube.contentmanagement.baselayer.streamutils with parameters of type RawContentLocation
DeleteContentAction(RawFileContentManager manager, RawContentLocation locationToDelete, BasicStorageHints hints, boolean deleteIfStreamUnread)
          Constructs a new action