Class EntityUriToAdminUriConverter
java.lang.Object
ch.tocco.nice2.dms.impl.uri.converter.AbstractEntityUriConverter<AdminUri>
ch.tocco.nice2.dms.impl.uri.converter.EntityUriToAdminUriConverter
- All Implemented Interfaces:
UriConverter<EntityUri,AdminUri>
Converter for converting
EntityUris into
AdminUris.-
Constructor Summary
ConstructorsConstructorDescriptionEntityUriToAdminUriConverter(Context context, ContentTreeService contentTreeService, org.slf4j.Logger log) -
Method Summary
Modifier and TypeMethodDescriptionprotected AdminUricreateTargetUri(EntityUri inUri, String uri) Create theNiceUrifrom string.protected ContentTreeContextTheContentTreeContextto load the ContentTreeNode with.protected StringloadPath(ContentTreeNode contentTreeNode) load the path that should be used to create the new uriMethods inherited from class ch.tocco.nice2.dms.impl.uri.converter.AbstractEntityUriConverter
convert
-
Constructor Details
-
EntityUriToAdminUriConverter
public EntityUriToAdminUriConverter(Context context, ContentTreeService contentTreeService, org.slf4j.Logger log)
-
-
Method Details
-
getContentTreeContext
Description copied from class:AbstractEntityUriConverterTheContentTreeContextto load the ContentTreeNode with.- Specified by:
getContentTreeContextin classAbstractEntityUriConverter<AdminUri>- Returns:
- the
ContentTreeContext.
-
loadPath
Description copied from class:AbstractEntityUriConverterload the path that should be used to create the new uri- Specified by:
loadPathin classAbstractEntityUriConverter<AdminUri>- Parameters:
contentTreeNode- the content tree node- Returns:
- the loaded path
-
createTargetUri
Description copied from class:AbstractEntityUriConverterCreate theNiceUrifrom string.- Specified by:
createTargetUriin classAbstractEntityUriConverter<AdminUri>- Parameters:
inUri- theEntityUriinput to be converteduri- The URI to create theNiceUrifor.- Returns:
- the created
NiceUri.
-