|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModifiableVanityURLNode
This is the writable interface for vanity URLs. Instances can be obtained from the
VanityURLModelController
.
If no port is specified PORTAL_DEFAULT_PORT
is used.
Field Summary |
---|
Fields inherited from interface com.ibm.portal.vanityurl.model.VanityURLNode |
---|
PORTAL_DEFAULT_PORT, PROTOCOL_DEFAULT_PORT, REQUEST_PORT |
Method Summary | |
---|---|
void |
copyStateFrom(StateHolder state)
The passed in state will be copied and the caller can dispose the object. |
void |
setHostName(java.lang.String hostName)
Sets the host name this vanity URL shall be mapped to. |
void |
setPageId(ObjectID pageId)
Sets the target page this vanity URL shall redirect to. |
void |
setPath(java.lang.String path)
Sets the path this vanity URL shall be registered for. |
void |
setPort(int port)
The specified port must be between 1 and 65535 (inclusive) or one of the special values (see below). |
void |
setProtected(java.lang.Boolean flag)
Sets the protection mode for the redirection. |
void |
setSecure(java.lang.Boolean flag)
Sets the connection security mode for the redirect. |
Methods inherited from interface com.ibm.portal.vanityurl.model.VanityURLNode |
---|
getHost, getPageId, getPath, getPort, getState, getVpId, isProtected, isSecure |
Methods inherited from interface com.ibm.portal.Identifiable |
---|
getObjectID |
Method Detail |
---|
void setHostName(java.lang.String hostName) throws ModelException
hostName
- the host name this vanity URL shall be mapped to
ModelException
- if the specified host name could not be setvoid setPort(int port) throws ModelException
port
- the port that should be used for the redirect of this vanity URL
ModelException
- if the specified port could not be setcom.ibm.portal.vanityurl.model.VanityURLNode.PROTOCOL_DEFAULT_PORT
,
com.ibm.portal.vanityurl.model.VanityURLNode.PORTAL_DEFAULT_PORT
,
com.ibm.portal.vanityurl.model.VanityURLNode.REQUEST_PORT
void setPath(java.lang.String path) throws ModelException
path
- the new vanity URL path, can be null
ModelException
- if the specified path could not be setvoid setPageId(ObjectID pageId) throws ModelException
pageId
- the ObjectID of the target page, must not be null
ModelException
- the the specified page could not be setvoid copyStateFrom(StateHolder state) throws ModelException
state
- the new state
ModelException
- if the state could not be setvoid setSecure(java.lang.Boolean flag) throws ModelException
flag
- the new security mode
ModelException
- if the specified security mode could not be setvoid setProtected(java.lang.Boolean flag) throws ModelException
flag
- the new protection mode
ModelException
- if the specified protection mode could not be set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |