|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Defines various platform dependent functions. This is mainly used from plugin, like to get creation page URL etc.
メソッドの概要 | |
URL |
getAttachedFileURL(String pagename,
String filename,
CmsRequest request)
Provides URL for given attachment filename. |
List |
getAttachmentFileList(CmsRequest request,
String pagePath)
|
URL |
getCompleteURL(String filepath,
CmsRequest request)
|
URL |
getCreatePageURL(String pagename,
CmsRequest request)
Provides [new page] URL for given pagename. |
List |
getDirectoryList(CmsRequest request,
String folder)
|
URL |
getEditPageURL(String pagename,
CmsRequest request)
|
URL |
getPluginProxyURL(String pluginname,
CmsRequest request)
|
List |
getRecentList(CmsRequest request,
int size)
Provides page list which is recently modified. |
List |
getRecursiveDirectoryList(CmsRequest request,
String folder)
|
Resource |
getResource(CmsRequest request,
String pagePath)
|
List |
getResourceList(CmsRequest request,
String path)
|
URL |
getURLByName(String pagename,
CmsRequest request)
Provides URL of given pagename. |
URL |
getURLByName(String pagename,
CmsRequest request,
Map params)
Provides URL of given pagename and parameters. |
boolean |
hasCreatePermission(CmsRequest request)
|
boolean |
isPageExist(String pagename,
CmsRequest request)
Check whether the page specified by pagename exists or not. |
メソッドの詳細 |
public boolean isPageExist(String pagename, CmsRequest request) throws TgwSecurityException
TgwSecurityException
public URL getURLByName(String pagename, CmsRequest request) throws TgwSecurityException
TgwSecurityException
public URL getURLByName(String pagename, CmsRequest request, Map params) throws TgwSecurityException
TgwSecurityException
public URL getCreatePageURL(String pagename, CmsRequest request) throws TgwSecurityException
pagename
- pagename like "How to Use Tuigwaa" etc, which will be created
newly.
TgwSecurityException
public URL getEditPageURL(String pagename, CmsRequest request) throws TgwSecurityException
TgwSecurityException
public URL getAttachedFileURL(String pagename, String filename, CmsRequest request)
public List getRecentList(CmsRequest request, int size) throws Exception
request
- search pathsize
- size of page list to be extracted should be positive.
Exception
public List getDirectoryList(CmsRequest request, String folder) throws Exception
Exception
public List getRecursiveDirectoryList(CmsRequest request, String folder) throws Exception
Exception
public List getResourceList(CmsRequest request, String path) throws Exception
Exception
public URL getPluginProxyURL(String pluginname, CmsRequest request)
public List getAttachmentFileList(CmsRequest request, String pagePath) throws TgwSecurityException
TgwSecurityException
public URL getCompleteURL(String filepath, CmsRequest request)
public Resource getResource(CmsRequest request, String pagePath)
public boolean hasCreatePermission(CmsRequest request)
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |