| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface URLFactory
Factory that provides methods to obtain engine URLs as well as resource URLs. Engine URLs are URLs that can carry navigational state. Resource URLs point to generic resources (e.g. icons, files, voice grammars, URIs etc.).
| Method Summary | |
|---|---|
| DisposableURL | newResourceURL(java.lang.String name,
PortalResources.Type type)
Creates a DisposableURL object that points to a generic resource. |
| DisposableURL | newResourceURL(java.lang.String name,
PortalResources.Type type,
PortalResources.State state)
Creates a DisposableURL object that points to a generic resource. |
| DisposableURL | com.ibm.portal.admin.Theme, com.ibm.portal.state.accessors.url.PortalResources.Type)">newResourceURL(java.lang.String name,
Theme theme,
PortalResources.Type type)
Creates a DisposableURL object that points to a generic resource. |
| DisposableURL | com.ibm.portal.admin.Theme, com.ibm.portal.state.accessors.url.PortalResources.Type, com.ibm.portal.state.accessors.url.PortalResources.State)">newResourceURL(java.lang.String name,
Theme theme,
PortalResources.Type type,
PortalResources.State state)
Creates a DisposableURL object that points to a generic resource. |
| EngineURL | newURL(Constants.Clone type)
Creates a new EngineURL object. |
| EngineURL | newURL(StateHolder state,
Constants.Clone type)
Creates a new EngineURL object. |
| EngineURL | newURL(StateHolder state,
URLContext allowedContext,
Constants.Clone type)
Creates a new EngineURL object. |
| EngineURL | newURL(URLContext allowedContext,
Constants.Clone type)
Creates a new EngineURL object. |
| Methods inherited from interface com.ibm.portal.Disposable |
|---|
| dispose |
| Method Detail |
|---|
DisposableURL newResourceURL(java.lang.String name,
PortalResources.Type type)
throws ResourceNotFoundException,
InvalidResourceTypeException,
ResourceUrlException
newResourceURL
called with state PortalResources.NO_STATE.
null.null.
null.
DisposableURL newResourceURL(java.lang.String name,
PortalResources.Type type,
PortalResources.State state)
throws ResourceNotFoundException,
InvalidResourceTypeException,
ResourceUrlException
null.null.null.
null.
DisposableURL newResourceURL(java.lang.String name,
Theme theme,
PortalResources.Type type)
throws ResourceNotFoundException,
InvalidResourceTypeException,
ResourceUrlException,
ModelException
newResourceURL
called with state PortalResources.NO_STATE.
null.nullnull.
null.
DisposableURL newResourceURL(java.lang.String name,
Theme theme,
PortalResources.Type type,
PortalResources.State state)
throws ResourceNotFoundException,
InvalidResourceTypeException,
ResourceUrlException,
ModelException
null to indicate that the server's default
URL context should be used.null.null.null.
null.
EngineURL newURL(Constants.Clone type)
throws CannotCloneDocumentModelException,
CannotCreateDocumentException,
InvalidConstantException,
StateNotInRequestException
type argument
specifying the clone operation. If no request is available, the factory
will base the URL on static server information as well as on a new state
holder which is initially empty. Note that in the latter case the passed
type parameter specifiying the clone operation does not
take any effect.
null in which case a
SMART_COPY will be generated.
null.
EngineURL newURL(StateHolder state,
Constants.Clone type)
throws CannotCloneDocumentModelException,
CannotCreateDocumentException,
InvalidConstantException
type argument. If no request is
available, the factory will base the URL on static server information.
null.null in
which case a SMART_COPY will be generated.
null.
EngineURL newURL(StateHolder state,
URLContext allowedContext,
Constants.Clone type)
throws CannotCloneDocumentModelException,
CannotCreateDocumentException,
InvalidConstantException
type argument. If no request is
available, the factory will base the URL on static server information.
allowedContext argument refers to the type of the URL
to be generated i.e. it specifies whether the created URL may be
absolute, server-relative or relative. Note that this argument cannot
enforce that the URL is server-relative or relative. For example in case
of a protocol switch (e.g. http to https), the URL must be absolute in
any case.
null.null to indicate that the server's default
URL context should be used.null in
which case a SMART_COPY will be generated.
null.
EngineURL newURL(URLContext allowedContext,
Constants.Clone type)
throws CannotCloneDocumentModelException,
CannotCreateDocumentException,
InvalidConstantException,
StateNotInRequestException
type argument
specifying the clone operation. If no request is available, the factory
will base the URL on static server information as well as on a new state
holder which is initially empty. Note that in the latter case the passed
type parameter specifiying the clone operation does not
take any effect.allowedContext argument refers to the type of the URL
to be generated i.e. it specifies whether the created URL may be
absolute, server-relative or relative. Note that this argument cannot
enforce that the URL is server-relative or relative. For example in case
of a protocol switch (e.g. http to https), the URL must be absolute in
any case.
null to indicate that the server's default
URL context should be used.null in which case a
SMART_COPY will be generated.
null.
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||