Package ch.tocco.nice2.dms.impl.tree.uri
Class LegacyMainUriResolveStrategy
java.lang.Object
ch.tocco.nice2.dms.impl.tree.uri.LegacyMainUriResolveStrategy
- All Implemented Interfaces:
ContentUriResolveStrategy
@Deprecated
@Component
@Order(300)
@ConditionalOnProperty(value="nice2.dms.LegacyMainUriResolveStrategy.enabled",
havingValue="true",
matchIfMissing=true)
public class LegacyMainUriResolveStrategy
extends Object
implements ContentUriResolveStrategy
Deprecated.
This strategy will not be needed anymore once the Node_url table has been populated with all public
URLs (not only alias). Before that, this class is needed so that URLs which are not yet in the
Node_url table are still resolvable.
Once the Node_url table is populated, this strategy will not be called anymore, as the node will be
found by the
PublicUriResolveStrategy
which is called before this one (this strategy will
only be called for URLS which can't be resolved at all, as all strategies are tried in this case).
This class should not be removed before the UpdateUrlIndexBatchJob
has been in use on *all* customer
installations for some time to populate the Node_url table.
It can however be disabled for customers where the Node_url table has been populated and thus this
strategy is not needed anymore by setting the following application property (for instance, if the execution
of this strategy causes OOMs):
`nice2.dms.LegacyMainUriResolveStrategy.enabled=false`-
Field Summary
Fields inherited from interface ch.tocco.nice2.dms.api.tree.uri.ContentUriResolveStrategy
BINARY_RESOLVE_STRATEGY_ORDER
-
Constructor Summary
ConstructorDescriptionLegacyMainUriResolveStrategy
(QueryBuilderFactory queryBuilderFactory, ContentTreeService contentTreeService, MainUriResolveStrategy mainUriResolveStrategy, Context context, org.slf4j.Logger log) Deprecated. -
Method Summary
-
Field Details
-
ORDER
public static final int ORDERDeprecated.- See Also:
-
-
Constructor Details
-
LegacyMainUriResolveStrategy
public LegacyMainUriResolveStrategy(QueryBuilderFactory queryBuilderFactory, ContentTreeService contentTreeService, MainUriResolveStrategy mainUriResolveStrategy, Context context, org.slf4j.Logger log) Deprecated.
-
-
Method Details
-
resolve
Deprecated.- Specified by:
resolve
in interfaceContentUriResolveStrategy
-