Package org.dspace.content.crosswalk
Class CreativeCommonsTextStreamDisseminationCrosswalk
- java.lang.Object
-
- org.dspace.content.crosswalk.CreativeCommonsTextStreamDisseminationCrosswalk
-
- All Implemented Interfaces:
StreamDisseminationCrosswalk
@Deprecated public class CreativeCommonsTextStreamDisseminationCrosswalk extends Object implements StreamDisseminationCrosswalk
Deprecated.the bitstream with the license in the textual format it is no longer stored (see https://jira.duraspace.org/browse/DS-2604)Export the object's Creative Commons license, text form.- Author:
- Larry Stone
-
-
Field Summary
Fields Modifier and Type Field Description protected BitstreamServicebitstreamServiceDeprecated.protected CreativeCommonsServicecreativeCommonsServiceDeprecated.
-
Constructor Summary
Constructors Constructor Description CreativeCommonsTextStreamDisseminationCrosswalk()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancanDisseminate(Context context, DSpaceObject dso)Deprecated.Predicate: Can this disseminator crosswalk the given object.voiddisseminate(Context context, DSpaceObject dso, OutputStream out)Deprecated.Execute crosswalk on the given object, sending output to the stream.StringgetMIMEType()Deprecated.
-
-
-
Field Detail
-
bitstreamService
protected final BitstreamService bitstreamService
Deprecated.
-
creativeCommonsService
protected final CreativeCommonsService creativeCommonsService
Deprecated.
-
-
Method Detail
-
canDisseminate
public boolean canDisseminate(Context context, DSpaceObject dso)
Deprecated.Description copied from interface:StreamDisseminationCrosswalkPredicate: Can this disseminator crosswalk the given object.- Specified by:
canDisseminatein interfaceStreamDisseminationCrosswalk- Parameters:
context- contextdso- dspace object, e.g. anItem.- Returns:
- true when disseminator is capable of producing metadata.
-
disseminate
public void disseminate(Context context, DSpaceObject dso, OutputStream out) throws CrosswalkException, IOException, SQLException, AuthorizeException
Deprecated.Description copied from interface:StreamDisseminationCrosswalkExecute crosswalk on the given object, sending output to the stream.- Specified by:
disseminatein interfaceStreamDisseminationCrosswalk- Parameters:
context- the DSpace contextdso- the DSpace Object whose metadata to export.out- output stream to write to- Throws:
CrosswalkInternalException- (CrosswalkException) failure of the crosswalk itself.CrosswalkObjectNotSupported- (CrosswalkException) Cannot crosswalk this kind of DSpace object.IOException- I/O failure in services this callsSQLException- Database failure in services this callsAuthorizeException- current user not authorized for this operation.CrosswalkException
-
getMIMEType
public String getMIMEType()
Deprecated.- Specified by:
getMIMETypein interfaceStreamDisseminationCrosswalk
-
-