|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LinkService
Nested Class Summary | |
---|---|
static class |
LinkService.ParameterDescription
|
Field Summary | |
---|---|
static String |
DEFAULT_CONVERTABLE_EVENT_PARAMETER_NAME
|
static String |
DEFAULT_REQUEST_EVENT_PARAMETER_NAME
|
static String |
ROLE
|
Method Summary | |
---|---|
void |
addEventToLink(Event event)
Add this event to the list of events contained in the uri |
void |
addParameterToLink(String name,
String value)
Add this parameter to every link. |
void |
addUniqueParameterToLink(String name,
String value)
Add this parameter to every link. |
String |
encodeURL(String url)
|
String |
getLinkURI(Event event)
Get the uri for this coplet containing the additional event |
String |
getLinkURI(Event event,
Boolean secure)
Get the uri for this coplet containing the additional event and using a secure protocol if requested. |
String |
getLinkURI(List events)
Get the uri for this coplet containing the additional events. |
String |
getLinkURI(List events,
Boolean secure)
Get a uri for this coplet containing the additional events. |
String |
getRefreshLinkURI()
Get a link that simply refreshs the portal |
String |
getRefreshLinkURI(Boolean secure)
Get a link that simply refreshs the portal |
boolean |
isSecure()
Determine whether the current url is using a secure protocol |
Field Detail |
---|
static final String ROLE
static final String DEFAULT_REQUEST_EVENT_PARAMETER_NAME
static final String DEFAULT_CONVERTABLE_EVENT_PARAMETER_NAME
Method Detail |
---|
String getLinkURI(Event event)
event
- The event to add (null is also allowed for convenience)
String getLinkURI(Event event, Boolean secure)
event
- The event to add (null is also allowed for convenience)secure
- true if a secure protocol is required, false otherwise.
String getLinkURI(List events)
events
- The events to add: These can either be Event
s or LinkService.ParameterDescription
s.
String getLinkURI(List events, Boolean secure)
events
- The events to add: These can either be Event
s or LinkService.ParameterDescription
s.secure
- true if a secure protocol is required, false otherwise.
void addEventToLink(Event event)
event
- Event to addvoid addParameterToLink(String name, String value)
name
- The request parameter namevalue
- The value for the parameteraddUniqueParameterToLink(String, String)
void addUniqueParameterToLink(String name, String value)
name
- The request parameter namevalue
- The value for the parameteraddUniqueParameterToLink(String, String)
String getRefreshLinkURI()
String getRefreshLinkURI(Boolean secure)
secure
- true if a secure protocol is required, false otherwise.
boolean isSecure()
String encodeURL(String url)
url
- The url to encode.
HttpServletResponse.encodeURL(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |