|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
フィールドの概要 | |
static String |
DEFAULT_ENCODING
|
static int |
RETRIEVETYPE_FOLDER
|
static int |
RETRIEVETYPE_PAGE
|
static int |
RETRIEVETYPE_PAGEFOLDER
|
メソッドの概要 | |
boolean |
checkVersion(Resource resource,
String version)
推奨されていません。 |
void |
copy(String srcSiteName,
String srcPath,
String destSiteName,
String destPath)
|
void |
copyFromFileSystem(File srcDirectory,
String targetSiteName)
|
void |
copyToFileSystem(String targetSiteName,
String srcPath,
File srcDirectory)
|
void |
createAttachment(String siteName,
String pagePath,
String fileName,
String contentType,
int contentLength,
InputStream data)
|
void |
createFolder(String siteName,
String folderPath)
|
void |
createPage(Page page)
|
void |
createResource(String siteName,
String path,
String contentType,
int contentLength,
InputStream data)
|
void |
createThumbnail(Resource resource,
OutputStream os,
int width,
String formatName)
|
void |
delete(String siteName,
String path)
|
List |
getAttachmentFileList(String siteName,
String pagePath)
|
Resource |
getAttachmentResource(String siteName,
String pagePath,
String fileName)
|
String |
getContent(Resource resource)
推奨されていません。 |
com.isenshi.util.Diff |
getDiff(String siteName,
String pagePath,
String oldVersion)
|
List |
getFolderList(String siteName,
String folderPath)
|
List |
getHistory(String siteName,
String pagePath)
|
List |
getLatestContents(String siteName,
int size)
|
Page |
getPage(String siteName,
String pagePath)
|
List |
getPageList(String siteName,
String folderPath)
|
List |
getPageOrFolderList(String siteName,
String folderPath)
|
Properties |
getProperty(String siteName,
String path)
|
List |
getRecursiveFolderList(String siteName,
String folderPath)
|
List |
getRecursivePageList(String siteName,
String folderPath)
|
List |
getRecursivePageOrFolderList(String siteName,
String folderPath)
|
Resource |
getResource(String siteName,
String pagePath)
|
boolean |
hasPermission(String siteName,
String path,
String role)
|
boolean |
isExist(String siteName,
String pagePath)
推奨されていません。 |
boolean |
isExistPage(String siteName,
String pagePath)
推奨されていません。 |
boolean |
isExistResource(String siteName,
String pagePath,
boolean pageOnly)
リソースの存在をチェックする |
void |
move(String siteName,
String pagePath,
String newParentPath)
|
void |
refreshCache(String siteName)
|
void |
refreshCache(String path,
boolean isSite)
|
void |
removeProperty(String siteName,
String path,
String key)
|
void |
rename(String siteName,
String pagePath,
String newPageName)
|
List |
search(String siteName,
String keyword)
|
void |
setPermissions(String siteName,
String path,
String[] grantRoles,
String[] denyRoles)
|
void |
setProperty(String siteName,
String path,
Properties props)
|
void |
writeAttachment(String siteName,
String pagePath,
String fileName,
OutputStream os)
|
void |
writeResource(String siteName,
String path,
OutputStream os)
|
フィールドの詳細 |
public static final String DEFAULT_ENCODING
public static final int RETRIEVETYPE_PAGE
public static final int RETRIEVETYPE_FOLDER
public static final int RETRIEVETYPE_PAGEFOLDER
メソッドの詳細 |
public Page getPage(String siteName, String pagePath) throws TgwSecurityException
TgwSecurityException
public void createPage(Page page) throws TgwResourceCreationException
TgwResourceCreationException
public void createFolder(String siteName, String folderPath) throws TgwSecurityException, TgwResourceAlreadyExistsException
TgwSecurityException
TgwResourceAlreadyExistsException
public void createResource(String siteName, String path, String contentType, int contentLength, InputStream data) throws TgwResourceCreationException
TgwResourceCreationException
public void delete(String siteName, String path)
public void rename(String siteName, String pagePath, String newPageName) throws TgwResourceAlreadyExistsException
TgwResourceAlreadyExistsException
public void move(String siteName, String pagePath, String newParentPath) throws TgwResourceAlreadyExistsException
TgwResourceAlreadyExistsException
public void copy(String srcSiteName, String srcPath, String destSiteName, String destPath) throws TgwException
TgwException
public void setProperty(String siteName, String path, Properties props) throws TgwResourceNotFoundException, TgwSecurityException, TgwException
TgwResourceNotFoundException
TgwSecurityException
TgwException
public Properties getProperty(String siteName, String path) throws TgwResourceNotFoundException, TgwSecurityException, TgwException
TgwResourceNotFoundException
TgwSecurityException
TgwException
public void removeProperty(String siteName, String path, String key) throws TgwResourceNotFoundException, TgwSecurityException, TgwException
TgwResourceNotFoundException
TgwSecurityException
TgwException
public Resource getResource(String siteName, String pagePath) throws TgwSecurityException
TgwSecurityException
public void writeResource(String siteName, String path, OutputStream os) throws IOException
IOException
public List search(String siteName, String keyword) throws TgwSearchFailedException
TgwSearchFailedException
public List getLatestContents(String siteName, int size) throws TgwSearchFailedException
TgwSearchFailedException
public boolean isExistResource(String siteName, String pagePath, boolean pageOnly) throws TgwSecurityException
siteName
- サイト名pagePath
- リソースへのパスpageOnly
- 該当リソースがページであるかのチェックを行うか否かをあらわすフラグ
TgwSecurityException
- 該当のリソースをチェックする権限がない場合にスローされるpublic boolean isExist(String siteName, String pagePath) throws TgwSecurityException
TgwSecurityException
public boolean isExistPage(String siteName, String pagePath) throws TgwSecurityException
TgwSecurityException
public String getContent(Resource resource) throws TgwSecurityException
TgwSecurityException
public com.isenshi.util.Diff getDiff(String siteName, String pagePath, String oldVersion)
public List getHistory(String siteName, String pagePath)
public boolean checkVersion(Resource resource, String version)
public void copyFromFileSystem(File srcDirectory, String targetSiteName) throws TgwResourceCreationException, TgwSecurityException
TgwResourceCreationException
TgwSecurityException
public void copyToFileSystem(String targetSiteName, String srcPath, File srcDirectory) throws TgwSecurityException, IOException
TgwSecurityException
IOException
public void createAttachment(String siteName, String pagePath, String fileName, String contentType, int contentLength, InputStream data) throws TgwSecurityException, TgwResourceCreationException
TgwSecurityException
TgwResourceCreationException
public void writeAttachment(String siteName, String pagePath, String fileName, OutputStream os) throws IOException
IOException
public List getAttachmentFileList(String siteName, String pagePath) throws TgwSecurityException
TgwSecurityException
public Resource getAttachmentResource(String siteName, String pagePath, String fileName) throws TgwSecurityException, TgwResourceNotFoundException
TgwSecurityException
TgwResourceNotFoundException
public void createThumbnail(Resource resource, OutputStream os, int width, String formatName)
public List getPageOrFolderList(String siteName, String folderPath) throws TgwSecurityException
TgwSecurityException
public List getRecursivePageOrFolderList(String siteName, String folderPath) throws TgwSecurityException
TgwSecurityException
public List getPageList(String siteName, String folderPath) throws TgwSecurityException
TgwSecurityException
public List getRecursivePageList(String siteName, String folderPath) throws TgwSecurityException
TgwSecurityException
public List getRecursiveFolderList(String siteName, String folderPath) throws TgwSecurityException
TgwSecurityException
public List getFolderList(String siteName, String folderPath) throws TgwSecurityException
TgwSecurityException
public boolean hasPermission(String siteName, String path, String role)
public void setPermissions(String siteName, String path, String[] grantRoles, String[] denyRoles)
public void refreshCache(String siteName)
public void refreshCache(String path, boolean isSite)
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |