|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines a linked item in the blogs UI. Only the target link and the description are relevant, the caller will know what to do with them.
Method Summary | |
java.lang.String |
getLabel()
Get this links label. |
AbsoluteLinkURL |
getLink(BlogRunData data,
AbsoluteLinkURL link)
Get the linked page that this link should lead to. |
boolean |
isAuthorized(BlogRunData data)
Check if this links target is accessible with the current requests credentials. |
boolean |
isCurrentPage(BlogRunData data)
Check if this link's target is the same as the current request. |
Method Detail |
public java.lang.String getLabel()
public AbsoluteLinkURL getLink(BlogRunData data, AbsoluteLinkURL link)
data
- the RunData of the request.link
- an (possibly modified) link.
public boolean isCurrentPage(BlogRunData data)
data
- The current request
public boolean isAuthorized(BlogRunData data)
data
- The current request
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |