|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object org.seasar.tuigwaa.cms.ContentsStoreServiceSlideImpl
フィールドの概要 |
インタフェース org.seasar.tuigwaa.cms.ContentsStoreService から継承したフィールド |
DEFAULT_ENCODING, RETRIEVETYPE_FOLDER, RETRIEVETYPE_PAGE, RETRIEVETYPE_PAGEFOLDER |
コンストラクタの概要 | |
ContentsStoreServiceSlideImpl()
|
メソッドの概要 | |
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 srcSiteName,
String srcPath,
File targetDirectory)
|
void |
createAttachment(String siteName,
String pagePath,
String fileName,
String contentType,
int contentLength,
InputStream iStream)
|
void |
createFolder(String siteName,
String folderPath)
|
void |
createPage(Page page)
|
void |
createResource(String siteName,
String path,
String contentType,
int contentLength,
InputStream inputStream)
|
void |
createThumbnail(Resource resource,
OutputStream os,
int width,
String formatName)
|
void |
delete(String siteName,
String pagePath)
|
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 version)
|
List |
getFolderList(String siteName,
String path)
|
List |
getHistory(String siteName,
String pagePath)
|
InputStream |
getInputStream(String siteName,
String path)
|
List |
getLatestContents(String siteName,
int size)
|
org.apache.slide.common.NamespaceAccessToken |
getNamespace()
|
Page |
getPage(String siteName,
String pagePath)
|
List |
getPageList(String siteName,
String path)
|
List |
getPageOrFolderList(String siteName,
String path)
|
Properties |
getProperty(String siteName,
String path)
|
List |
getRecursiveFolderList(String siteName,
String path)
|
List |
getRecursivePageList(String siteName,
String path)
|
List |
getRecursivePageOrFolderList(String siteName,
String path)
|
Resource |
getResource(String siteName,
String pagePath)
|
boolean |
hasPermission(String siteName,
String path,
String roleName)
|
boolean |
isExist(String siteName,
String path)
推奨されていません。 |
boolean |
isExistPage(String siteName,
String pagePath)
推奨されていません。 |
boolean |
isExistResource(String siteName,
String path,
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 pagePath,
OutputStream os)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public ContentsStoreServiceSlideImpl() throws Exception
メソッドの詳細 |
public org.apache.slide.common.NamespaceAccessToken getNamespace()
public List search(String siteName, String keyword) throws TgwSearchFailedException
ContentsStoreService
内の search
TgwSearchFailedException
public List getLatestContents(String siteName, int size) throws TgwSearchFailedException
ContentsStoreService
内の getLatestContents
TgwSearchFailedException
public void delete(String siteName, String pagePath)
ContentsStoreService
内の delete
public void rename(String siteName, String pagePath, String newPageName) throws TgwResourceAlreadyExistsException
ContentsStoreService
内の rename
TgwResourceAlreadyExistsException
public void move(String siteName, String pagePath, String newParentPath) throws TgwResourceAlreadyExistsException
ContentsStoreService
内の move
TgwResourceAlreadyExistsException
public void copy(String srcSiteName, String srcPath, String destSiteName, String destPath) throws TgwException
ContentsStoreService
内の copy
TgwException
public void setProperty(String siteName, String path, Properties props) throws TgwResourceNotFoundException, TgwSecurityException, TgwException
ContentsStoreService
内の setProperty
TgwResourceNotFoundException
TgwSecurityException
TgwException
public Properties getProperty(String siteName, String path) throws TgwResourceNotFoundException, TgwSecurityException, TgwException
ContentsStoreService
内の getProperty
TgwResourceNotFoundException
TgwSecurityException
TgwException
public void removeProperty(String siteName, String path, String key) throws TgwResourceNotFoundException, TgwSecurityException, TgwException
ContentsStoreService
内の removeProperty
TgwResourceNotFoundException
TgwSecurityException
TgwException
public void setPermissions(String siteName, String path, String[] grantRoles, String[] denyRoles)
ContentsStoreService
内の setPermissions
public boolean hasPermission(String siteName, String path, String roleName)
ContentsStoreService
内の hasPermission
public List getAttachmentFileList(String siteName, String pagePath) throws TgwSecurityException
ContentsStoreService
内の getAttachmentFileList
TgwSecurityException
public List getRecursiveFolderList(String siteName, String path) throws TgwSecurityException
ContentsStoreService
内の getRecursiveFolderList
TgwSecurityException
public List getRecursivePageList(String siteName, String path) throws TgwSecurityException
ContentsStoreService
内の getRecursivePageList
TgwSecurityException
public List getRecursivePageOrFolderList(String siteName, String path) throws TgwSecurityException
ContentsStoreService
内の getRecursivePageOrFolderList
TgwSecurityException
public List getPageOrFolderList(String siteName, String path) throws TgwSecurityException
ContentsStoreService
内の getPageOrFolderList
TgwSecurityException
public List getFolderList(String siteName, String path) throws TgwSecurityException
ContentsStoreService
内の getFolderList
TgwSecurityException
public List getPageList(String siteName, String path) throws TgwSecurityException
ContentsStoreService
内の getPageList
TgwSecurityException
public boolean isExistPage(String siteName, String pagePath) throws TgwSecurityException
ContentsStoreService
内の isExistPage
TgwSecurityException
public boolean isExist(String siteName, String path) throws TgwSecurityException
ContentsStoreService
内の isExist
TgwSecurityException
public void createAttachment(String siteName, String pagePath, String fileName, String contentType, int contentLength, InputStream iStream) throws TgwSecurityException, TgwResourceCreationException
ContentsStoreService
内の createAttachment
TgwSecurityException
TgwResourceCreationException
public void createResource(String siteName, String path, String contentType, int contentLength, InputStream inputStream) throws TgwResourceCreationException
ContentsStoreService
内の createResource
TgwResourceCreationException
public boolean checkVersion(Resource resource, String version)
ContentsStoreService
内の checkVersion
public void createPage(Page page) throws TgwResourceCreationException
ContentsStoreService
内の createPage
TgwResourceCreationException
public com.isenshi.util.Diff getDiff(String siteName, String pagePath, String version)
ContentsStoreService
内の getDiff
public String getContent(Resource resource) throws TgwSecurityException
ContentsStoreService
内の getContent
TgwSecurityException
public Resource getResource(String siteName, String pagePath) throws TgwSecurityException
ContentsStoreService
内の getResource
TgwSecurityException
public Resource getAttachmentResource(String siteName, String pagePath, String fileName) throws TgwSecurityException, TgwResourceNotFoundException
ContentsStoreService
内の getAttachmentResource
TgwSecurityException
TgwResourceNotFoundException
public Page getPage(String siteName, String pagePath) throws TgwSecurityException
ContentsStoreService
内の getPage
TgwSecurityException
public void writeAttachment(String siteName, String pagePath, String fileName, OutputStream os) throws IOException
ContentsStoreService
内の writeAttachment
IOException
public void writeResource(String siteName, String pagePath, OutputStream os) throws IOException
ContentsStoreService
内の writeResource
IOException
public List getHistory(String siteName, String pagePath)
ContentsStoreService
内の getHistory
public void createFolder(String siteName, String folderPath) throws TgwSecurityException, TgwResourceAlreadyExistsException
ContentsStoreService
内の createFolder
TgwSecurityException
TgwResourceAlreadyExistsException
public void copyFromFileSystem(File srcDirectory, String targetSiteName) throws TgwResourceCreationException, TgwSecurityException
ContentsStoreService
内の copyFromFileSystem
TgwResourceCreationException
TgwSecurityException
public void copyToFileSystem(String srcSiteName, String srcPath, File targetDirectory) throws TgwSecurityException, IOException
ContentsStoreService
内の copyToFileSystem
TgwSecurityException
IOException
public void createThumbnail(Resource resource, OutputStream os, int width, String formatName)
ContentsStoreService
内の createThumbnail
public InputStream getInputStream(String siteName, String path)
public void refreshCache(String siteName)
ContentsStoreService
内の refreshCache
public void refreshCache(String path, boolean isSite)
ContentsStoreService
内の refreshCache
public boolean isExistResource(String siteName, String path, boolean pageOnly) throws TgwSecurityException
ContentsStoreService
の記述:
ContentsStoreService
内の isExistResource
siteName
- サイト名path
- リソースへのパスpageOnly
- 該当リソースがページであるかのチェックを行うか否かをあらわすフラグ
TgwSecurityException
- 該当のリソースをチェックする権限がない場合にスローされる
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |