当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
CommandFactory - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.cms
Interface CommandFactory
- All Known Implementing Classes:
- JCRCommandFactory
- public interface CommandFactory
Factory to create commands for the cms service.
Method Summary |
Command |
createContentCreateNewVersionCommand(Content content,
boolean bMakeLive)
|
Command |
createContentCreateNewVersionCommand(java.util.List contents,
boolean bMakeLive)
|
Command |
createContentGetCommand(java.lang.String sFilePath,
java.lang.String sVersionNumber,
java.util.Locale locale)
|
Command |
createContentGetVersionsCommand(java.lang.String sFilePath)
|
Command |
createContentSaveCommand(File file)
|
Command |
createCopyCommand(java.lang.String sFromPath,
java.lang.String sToPath)
|
Command |
createDeleteCommand(java.lang.String sPath)
|
Command |
createFileGetCommand(java.lang.String sFilePath,
java.util.Locale locale)
|
Command |
createFileGetCommand(java.lang.String sFilePath,
java.lang.String sVersionNumber,
java.util.Locale locale)
|
Command |
createFileGetListCommand(java.lang.String sFilePath)
|
Command |
createFileSaveCommand(File file)
|
Command |
createFileUpdateCommand(File file)
|
Command |
createFolderGetCommand(java.lang.String sFolderPath)
|
Command |
createFolderGetListCommand(java.lang.String sFolderPath)
|
Command |
createFolderSaveCommand(Folder folder)
|
Command |
createFolderUpdateCommand(Folder folder)
|
Command |
createGetArchiveCommand(java.lang.String sRootPath,
java.lang.String sLanguage)
|
Command |
createItemExistsCommand(java.lang.String sPath)
|
Command |
createMoveCommand(java.lang.String sFromPath,
java.lang.String sToPath)
|
Command |
createNewFileCommand(File sFile,
Content content)
|
Command |
createRenameCommand(java.lang.String sPath,
java.lang.String sNewName)
|
Command |
createStoreArchiveCommand(java.lang.String sRootPath,
java.io.InputStream is,
java.lang.String sLanguage)
|
Command |
createUpdateFileCommand(File sFile,
Content content,
boolean makeLive)
|
createNewFileCommand
public Command createNewFileCommand(File sFile,
Content content)
createUpdateFileCommand
public Command createUpdateFileCommand(File sFile,
Content content,
boolean makeLive)
createCopyCommand
public Command createCopyCommand(java.lang.String sFromPath,
java.lang.String sToPath)
createMoveCommand
public Command createMoveCommand(java.lang.String sFromPath,
java.lang.String sToPath)
createRenameCommand
public Command createRenameCommand(java.lang.String sPath,
java.lang.String sNewName)
createDeleteCommand
public Command createDeleteCommand(java.lang.String sPath)
createFileSaveCommand
public Command createFileSaveCommand(File file)
createFileGetCommand
public Command createFileGetCommand(java.lang.String sFilePath,
java.util.Locale locale)
createFileGetCommand
public Command createFileGetCommand(java.lang.String sFilePath,
java.lang.String sVersionNumber,
java.util.Locale locale)
createFileUpdateCommand
public Command createFileUpdateCommand(File file)
createFolderSaveCommand
public Command createFolderSaveCommand(Folder folder)
createFolderGetCommand
public Command createFolderGetCommand(java.lang.String sFolderPath)
createFolderUpdateCommand
public Command createFolderUpdateCommand(Folder folder)
createContentGetVersionsCommand
public Command createContentGetVersionsCommand(java.lang.String sFilePath)
createFolderGetListCommand
public Command createFolderGetListCommand(java.lang.String sFolderPath)
createContentCreateNewVersionCommand
public Command createContentCreateNewVersionCommand(Content content,
boolean bMakeLive)
createContentCreateNewVersionCommand
public Command createContentCreateNewVersionCommand(java.util.List contents,
boolean bMakeLive)
createStoreArchiveCommand
public Command createStoreArchiveCommand(java.lang.String sRootPath,
java.io.InputStream is,
java.lang.String sLanguage)
createItemExistsCommand
public Command createItemExistsCommand(java.lang.String sPath)
createContentSaveCommand
public Command createContentSaveCommand(File file)
createContentGetCommand
public Command createContentGetCommand(java.lang.String sFilePath,
java.lang.String sVersionNumber,
java.util.Locale locale)
createFileGetListCommand
public Command createFileGetListCommand(java.lang.String sFilePath)
createGetArchiveCommand
public Command createGetArchiveCommand(java.lang.String sRootPath,
java.lang.String sLanguage)