| java.lang.Object org.apache.roller.ui.rendering.model.URLModel
All known Subclasses: org.apache.roller.ui.rendering.model.PreviewURLModel,
URLModel | public class URLModel implements Model(Code) | | Provides access to URL building functionality.
NOTE: we purposely go against the standard getter/setter bean standard
for methods that take arguments so that users get a consistent way to
access those methods in their templates. i.e.
$url.category("foo")
instead of
$url.getCategory("foo")
|
Inner Class :public class FeedURLS | |
Inner Class :public class EntryFeedURLS | |
Inner Class :public class CommentFeedURLS | |
Method Summary | |
public String | category(String catPath) | public String | category(String catPath, int pageNum) | public String | collection(String dateString, String catPath) | public String | collection(String dateString, String catPath, int pageNum) | public String | comment(String anchor, String timeStamp) | public String | comments(String anchor) | public String | date(String dateString) | public String | date(String dateString, int pageNum) | public String | editEntry(String anchor) | public String | entry(String anchor) | public String | getAbsoluteSite() Absolute URL of Roller, e.g. | public String | getCommentAuthenticator() | public String | getCreateEntry() | public String | getEditSettings() | public FeedURLS | getFeed() | public String | getHome() | public String | getLogin() | public String | getLogout() | public String | getModelName() | public String | getRsd() | public String | getSearch() | public String | getSite() Relative URL of Roller, e.g. | public String | home(int pageNum) | public String | home(String customLocale) | public String | home(String customLocale, int pageNum) | public void | init(Map initData) | public String | page(String pageLink) | public String | page(String pageLink, String dateString, String catPath, int pageNum) | public String | resource(String filePath) | public String | search(String query, int pageNum) | public String | search(String query, String catPath, int pageNum) | public String | tag(String tag) | public String | tag(String tag, int pageNum) | public String | tags(List tags) | public String | tags(List tags, int pageNum) | public String | themeResource(String theme, String filePath) | public String | themeResource(String theme, String filePath, boolean absolute) | public String | trackback(String anchor) |
URLModel | public URLModel()(Code) | | |
getAbsoluteSite | public String getAbsoluteSite()(Code) | | Absolute URL of Roller, e.g. http://localhost:8080/roller
|
getCommentAuthenticator | public String getCommentAuthenticator()(Code) | | |
getCreateEntry | public String getCreateEntry()(Code) | | URL for creating a new weblog entry
|
getEditSettings | public String getEditSettings()(Code) | | URL for editing weblog settings
|
getFeed | public FeedURLS getFeed()(Code) | | |
getLogout | public String getLogout()(Code) | | URL for logging out
|
getSite | public String getSite()(Code) | | Relative URL of Roller, e.g. /roller
|
|
|