com.ibm.portal.model
Interface VanityURLModelHome

All Superinterfaces:
VanityURLModelHome

public interface VanityURLModelHome
extends VanityURLModelHome

Entry point to the vanity URL model.

 final javax.naming.Context ctx = new javax.naming.InitialContext();
 VanityURLModelHome home = (VanityURLModelHome) ctx.lookup(VanityURLModelHome.JNDI_NAME);
 if (home != null) {
     VanityURLModelProvider provider = home.getVanityURLModelProvider();
     ...
 }
 

Since:
8.5

Field Summary
static java.lang.String JNDI_NAME
          The JNDI name to access the home interface.
 
Method Summary
 VanityURLModelProvider getVanityURLModelProvider()
          Returns a vanity URL model provider.
 
Methods inherited from interface com.ibm.portal.vanityurl.model.VanityURLModelHome
isVanityURLSupportEnabled
 

Field Detail

JNDI_NAME

static final java.lang.String JNDI_NAME
The JNDI name to access the home interface.

See Also:
Constant Field Values
Method Detail

getVanityURLModelProvider

VanityURLModelProvider getVanityURLModelProvider()
Returns a vanity URL model provider.

Returns:
the provider, never null