Uses of Class
org.dspace.content.BitstreamFormat
-
Packages that use BitstreamFormat Package Description org.dspace.content Provides an API for reading and manipulating content in the DSpace system.org.dspace.content.dao org.dspace.content.dao.impl org.dspace.content.packager Provides an API and implementations of content packages, used in the context of ingest (SIP), or dissemination (DIP)org.dspace.content.service org.dspace.license -
-
Uses of BitstreamFormat in org.dspace.content
Fields in org.dspace.content with type parameters of type BitstreamFormat Modifier and Type Field Description static javax.persistence.metamodel.SingularAttribute<Bitstream,BitstreamFormat>Bitstream_. bitstreamFormatstatic javax.persistence.metamodel.SingularAttribute<BitstreamFormat,String>BitstreamFormat_. descriptionstatic javax.persistence.metamodel.ListAttribute<BitstreamFormat,String>BitstreamFormat_. fileExtensionsstatic javax.persistence.metamodel.SingularAttribute<BitstreamFormat,Integer>BitstreamFormat_. idstatic javax.persistence.metamodel.SingularAttribute<BitstreamFormat,Boolean>BitstreamFormat_. internalstatic javax.persistence.metamodel.SingularAttribute<BitstreamFormat,String>BitstreamFormat_. mimetypestatic javax.persistence.metamodel.SingularAttribute<BitstreamFormat,String>BitstreamFormat_. shortDescriptionstatic javax.persistence.metamodel.SingularAttribute<BitstreamFormat,Integer>BitstreamFormat_. supportLevelMethods in org.dspace.content that return BitstreamFormat Modifier and Type Method Description BitstreamFormatBitstreamFormatServiceImpl. create(Context context)BitstreamFormatBitstreamFormatServiceImpl. find(Context context, int id)Get a bitstream format from the database.BitstreamFormatBitstreamFormatServiceImpl. findByMIMEType(Context context, String mimeType)BitstreamFormatBitstreamFormatServiceImpl. findByShortDescription(Context context, String desc)BitstreamFormatBitstreamFormatServiceImpl. findUnknown(Context context)protected BitstreamFormatBitstream. getBitstreamFormat()BitstreamFormatBitstream. getFormat(Context context)Get the format of the bitstreamBitstreamFormatBitstreamServiceImpl. getFormat(Context context, Bitstream bitstream)BitstreamFormatBitstreamFormatServiceImpl. guessFormat(Context context, Bitstream bitstream)Methods in org.dspace.content that return types with arguments of type BitstreamFormat Modifier and Type Method Description List<BitstreamFormat>BitstreamFormatServiceImpl. findAll(Context context)List<BitstreamFormat>BitstreamFormatServiceImpl. findNonInternal(Context context)Methods in org.dspace.content with parameters of type BitstreamFormat Modifier and Type Method Description voidBitstreamFormatServiceImpl. delete(Context context, BitstreamFormat bitstreamFormat)StringBitstreamFormatServiceImpl. getSupportLevelText(BitstreamFormat bitstreamFormat)voidBitstream. setFormat(Context context, BitstreamFormat f)Set the format of the bitstream.voidBitstreamServiceImpl. setFormat(Context context, Bitstream bitstream, BitstreamFormat bitstreamFormat)voidBitstreamFormatServiceImpl. setShortDescription(Context context, BitstreamFormat bitstreamFormat, String shortDescription)voidBitstreamFormatServiceImpl. setSupportLevel(BitstreamFormat bitstreamFormat, int supportLevel)voidBitstreamFormatServiceImpl. update(Context context, BitstreamFormat bitstreamFormat)Method parameters in org.dspace.content with type arguments of type BitstreamFormat Modifier and Type Method Description voidBitstreamFormatServiceImpl. update(Context context, List<BitstreamFormat> bitstreamFormats) -
Uses of BitstreamFormat in org.dspace.content.dao
Methods in org.dspace.content.dao that return BitstreamFormat Modifier and Type Method Description BitstreamFormatBitstreamFormatDAO. findByMIMEType(Context context, String mimeType, boolean includeInternal)BitstreamFormatBitstreamFormatDAO. findByShortDescription(Context context, String desc)Methods in org.dspace.content.dao that return types with arguments of type BitstreamFormat Modifier and Type Method Description List<BitstreamFormat>BitstreamFormatDAO. findByFileExtension(Context context, String extension)List<BitstreamFormat>BitstreamFormatDAO. findNonInternal(Context context)Methods in org.dspace.content.dao with parameters of type BitstreamFormat Modifier and Type Method Description intBitstreamFormatDAO. updateRemovedBitstreamFormat(Context context, BitstreamFormat deletedBitstreamFormat, BitstreamFormat newBitstreamFormat) -
Uses of BitstreamFormat in org.dspace.content.dao.impl
Methods in org.dspace.content.dao.impl that return BitstreamFormat Modifier and Type Method Description BitstreamFormatBitstreamFormatDAOImpl. findByMIMEType(Context context, String mimeType, boolean includeInternal)Find a bitstream format by its (unique) MIME type.BitstreamFormatBitstreamFormatDAOImpl. findByShortDescription(Context context, String desc)Find a bitstream format by its (unique) short descriptionMethods in org.dspace.content.dao.impl that return types with arguments of type BitstreamFormat Modifier and Type Method Description List<BitstreamFormat>BitstreamFormatDAOImpl. findAll(Context context, Class clazz)List<BitstreamFormat>BitstreamFormatDAOImpl. findByFileExtension(Context context, String extension)List<BitstreamFormat>BitstreamFormatDAOImpl. findNonInternal(Context context)Methods in org.dspace.content.dao.impl with parameters of type BitstreamFormat Modifier and Type Method Description intBitstreamFormatDAOImpl. updateRemovedBitstreamFormat(Context context, BitstreamFormat deletedBitstreamFormat, BitstreamFormat newBitstreamFormat) -
Uses of BitstreamFormat in org.dspace.content.packager
Methods in org.dspace.content.packager that return BitstreamFormat Modifier and Type Method Description static BitstreamFormatPackageUtils. findOrCreateBitstreamFormat(Context context, String shortDesc, String MIMEType, String desc)Find or create a bitstream format to match the given short description.static BitstreamFormatPackageUtils. findOrCreateBitstreamFormat(Context context, String shortDesc, String MIMEType, String desc, int supportLevel, boolean internal)Find or create a bitstream format to match the given short description.Methods in org.dspace.content.packager with parameters of type BitstreamFormat Modifier and Type Method Description static BitstreamPackageUtils. getBitstreamByFormat(Context context, Item item, BitstreamFormat bsf, String bnName)Find bitstream by its format, looking in a specific bundle. -
Uses of BitstreamFormat in org.dspace.content.service
Methods in org.dspace.content.service that return BitstreamFormat Modifier and Type Method Description BitstreamFormatBitstreamFormatService. findByMIMEType(Context context, String mimeType)Find a bitstream format by its (unique) MIME type.BitstreamFormatBitstreamFormatService. findByShortDescription(Context context, String desc)Find a bitstream format by its (unique) short descriptionBitstreamFormatBitstreamFormatService. findUnknown(Context context)Get the generic "unknown" bitstream format.BitstreamFormatBitstreamService. getFormat(Context context, Bitstream bitstream)BitstreamFormatBitstreamFormatService. guessFormat(Context context, Bitstream bitstream)Attempt to identify the format of a particular bitstream.Methods in org.dspace.content.service that return types with arguments of type BitstreamFormat Modifier and Type Method Description List<BitstreamFormat>BitstreamFormatService. findAll(Context context)Retrieve all bitstream formats from the registry, ordered by IDList<BitstreamFormat>BitstreamFormatService. findNonInternal(Context context)Retrieve all non-internal bitstream formats from the registry.Methods in org.dspace.content.service with parameters of type BitstreamFormat Modifier and Type Method Description StringBitstreamFormatService. getSupportLevelText(BitstreamFormat bitstreamFormat)Get the support level text for this bitstream format - one ofUNKNOWN,KNOWNorSUPPORTED.voidBitstreamService. setFormat(Context context, Bitstream bitstream, BitstreamFormat bitstreamFormat)Set the format of the bitstream.voidBitstreamFormatService. setShortDescription(Context context, BitstreamFormat bitstreamFormat, String shortDescription)Set the short description of the bitstream formatvoidBitstreamFormatService. setSupportLevel(BitstreamFormat bitstreamFormat, int supportLevel)Set the support level for this bitstream format - one ofUNKNOWN,KNOWNorSUPPORTED. -
Uses of BitstreamFormat in org.dspace.license
Methods in org.dspace.license with parameters of type BitstreamFormat Modifier and Type Method Description protected voidCreativeCommonsServiceImpl. setBitstreamFromBytes(Context context, Item item, Bundle bundle, String bitstream_name, BitstreamFormat format, byte[] bytes)This helper method takes some bytes and stores them as a bitstream for an item, under the CC bundle, with the given bitstream name Note: This helper method assumes that the CC bitstreams are short and easily expressed as byte arrays in RAM
-