Package org.dspace.app.rest.converter
Class AuthenticationTokenConverter
java.lang.Object
org.dspace.app.rest.converter.AuthenticationTokenConverter
- All Implemented Interfaces:
DSpaceConverter<AuthenticationToken,AuthenticationTokenRest>
@Component
public class AuthenticationTokenConverter
extends Object
implements DSpaceConverter<AuthenticationToken,AuthenticationTokenRest>
This is the converter from the AuthenticationToken to the REST data model
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(AuthenticationToken modelObject, Projection projection) Convert a DSpace model object into its equivalent REST resource, applying a given projection.For what DSpace API model class does this converter convert?
-
Constructor Details
-
AuthenticationTokenConverter
public AuthenticationTokenConverter()
-
-
Method Details
-
convert
Description copied from interface:DSpaceConverterConvert a DSpace model object into its equivalent REST resource, applying a given projection.- Specified by:
convertin interfaceDSpaceConverter<AuthenticationToken,AuthenticationTokenRest> - Parameters:
modelObject- a DSpace API model object.- Returns:
- a resource representing the model object.
-
getModelClass
Description copied from interface:DSpaceConverterFor what DSpace API model class does this converter convert?- Specified by:
getModelClassin interfaceDSpaceConverter<AuthenticationToken,AuthenticationTokenRest> - Returns:
- Class of model objects represented.
-