com.ibm.portal.model.controller
Interface VanityURLModelControllerProvider

All Superinterfaces:
VanityURLModelControllerProvider

public interface VanityURLModelControllerProvider
extends VanityURLModelControllerProvider

This interface provides access to the vanity URL model controller given a model.

Since:
8.5
See Also:
VanityURLModelControllerHome

Method Summary
<E extends VanityURLNode,M extends ModifiableVanityURLNode>
VanityURLModelController<E,M>
createVanityURLModelController(VanityURLModel<E> vanityURLModel)
          Creates a vanity URL model controller for the specified vanity URL model.
 

Method Detail

createVanityURLModelController

<E extends VanityURLNode,M extends ModifiableVanityURLNode> VanityURLModelController<E,M> createVanityURLModelController(VanityURLModel<E> vanityURLModel)
                                                                                                                   throws CannotInstantiateControllerException
Creates a vanity URL model controller for the specified vanity URL model. The model controller is not thread-safe and thus must only be used by one thread at any given time.

Parameters:
vanityURLModel - the model the controller shall be based on; the lifetime of the controller must not exceed the lifetime of the given vanity URL model, must not be null.
Returns:
the vanity URL model controller
Throws:
CannotInstantiateControllerException - if the controller cannot be instantiated