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
ConstructorDescriptionEntityUriToAdminUriConverter
(Context context, ContentTreeService contentTreeService, org.slf4j.Logger log) -
Method Summary
Modifier and TypeMethodDescriptionprotected AdminUri
createTargetUri
(EntityUri inUri, String uri) Create theNiceUri
from string.protected ContentTreeContext
TheContentTreeContext
to load the ContentTreeNode with.protected String
loadPath
(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:AbstractEntityUriConverter
TheContentTreeContext
to load the ContentTreeNode with.- Specified by:
getContentTreeContext
in classAbstractEntityUriConverter<AdminUri>
- Returns:
- the
ContentTreeContext
.
-
loadPath
Description copied from class:AbstractEntityUriConverter
load the path that should be used to create the new uri- Specified by:
loadPath
in classAbstractEntityUriConverter<AdminUri>
- Parameters:
contentTreeNode
- the content tree node- Returns:
- the loaded path
-
createTargetUri
Description copied from class:AbstractEntityUriConverter
Create theNiceUri
from string.- Specified by:
createTargetUri
in classAbstractEntityUriConverter<AdminUri>
- Parameters:
inUri
- theEntityUri
input to be converteduri
- The URI to create theNiceUri
for.- Returns:
- the created
NiceUri
.
-