|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.cms.CmsManager
public class CmsManager
Facade object useful to call operations on the repository
Constructor Summary | |
---|---|
CmsManager()
Constructor of class, reads the the configuration file, gets the class name of the IExecutionService interface and create an instance of the class. |
Method Summary | |
---|---|
void |
execDeleteOperation(DeleteOperation delOp)
Execs a delete operation using a default user credentials |
void |
execDeleteOperation(DeleteOperation delOp,
java.lang.String user,
java.lang.String password)
Execs a delete operation using a specific user name and password |
void |
execExportOperation(ExportOperation exportOp)
Execs an export operation using a default user credentials |
void |
execExportOperation(ExportOperation exportOp,
java.lang.String user,
java.lang.String password)
Execs an export operation using a specific user name and password |
CmsNode |
execGetOperation(GetOperation getOp)
Execs a Get operation using a default user credentials |
CmsNode |
execGetOperation(GetOperation getOp,
java.lang.String user,
java.lang.String password)
Execs a get operation using a specific user name and password |
void |
execImportOperation(ImportOperation importOp)
Execs an import operation using a default user credentials |
void |
execImportOperation(ImportOperation importOp,
java.lang.String user,
java.lang.String password)
Execs an import operation using a specific user name and password |
void |
execRestoreOperation(RestoreOperation restOp)
Execs a restore operation using a default user credentials |
void |
execRestoreOperation(RestoreOperation restOp,
java.lang.String user,
java.lang.String password)
Execs a restore operation using a specific user name and password |
java.util.List |
execSearchOperation(SearchOperation searchOp)
Execs a Search operation using a default user credentials |
java.util.List |
execSearchOperation(SearchOperation searchOp,
java.lang.String user,
java.lang.String password)
Execs a search operation using a specific user name and password |
void |
execSetOperation(SetOperation setOp)
Execs a Set operation using a default user credentials |
void |
execSetOperation(SetOperation setOp,
java.lang.String user,
java.lang.String password)
Execs a Set operation using a specific user name and password |
void |
execVersionOperation(VersionOperation versionOp)
Execs a version operation using a default user credentials |
void |
execVersionOperation(VersionOperation versionOp,
java.lang.String user,
java.lang.String password)
Execs a version operation using a specific user name and password |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsManager()
Method Detail |
---|
public void execSetOperation(SetOperation setOp) throws OperationExecutionException
setOp
- Configuration of the set operation
OperationExecutionException
- Throwing if an error occurs during the executionpublic void execSetOperation(SetOperation setOp, java.lang.String user, java.lang.String password) throws OperationExecutionException
setOp
- Configuration of the set operationuser
- User namepassword
- User Password
OperationExecutionException
- Throwing if an error occurs during the executionpublic CmsNode execGetOperation(GetOperation getOp) throws OperationExecutionException
getOp
- Configuration of the get operation
OperationExecutionException
- Throwing if an error occurs during the executionpublic CmsNode execGetOperation(GetOperation getOp, java.lang.String user, java.lang.String password) throws OperationExecutionException
getOp
- Configuration of the get operationuser
- User namepassword
- User Password
OperationExecutionException
- Throwing if an error occurs during the executionpublic java.util.List execSearchOperation(SearchOperation searchOp) throws OperationExecutionException
searchOp
- Configuration of the search operation
OperationExecutionException
- Throwing if an error occurs during the executionpublic java.util.List execSearchOperation(SearchOperation searchOp, java.lang.String user, java.lang.String password) throws OperationExecutionException
searchOp
- Configuration of the search operationuser
- User namepassword
- User Password
OperationExecutionException
- Throwing if an error occurs during the executionpublic void execDeleteOperation(DeleteOperation delOp) throws OperationExecutionException
delOp
- Configuration of the delete operation
OperationExecutionException
- Throwing if an error occurs during the executionpublic void execDeleteOperation(DeleteOperation delOp, java.lang.String user, java.lang.String password) throws OperationExecutionException
delOp
- Configuration of the delete operationuser
- User namepassword
- User Password
OperationExecutionException
- Throwing if an error occurs during the executionpublic void execRestoreOperation(RestoreOperation restOp) throws OperationExecutionException
restOp
- Configuration of the restore operation
OperationExecutionException
- Throwing if an error occurs during the executionpublic void execRestoreOperation(RestoreOperation restOp, java.lang.String user, java.lang.String password) throws OperationExecutionException
restOp
- Configuration of the restore operationuser
- User namepassword
- User Password
OperationExecutionException
- Throwing if an error occurs during the executionpublic void execExportOperation(ExportOperation exportOp) throws OperationExecutionException
exportOp
- Configuration of the export operation
OperationExecutionException
- Throwing if an error occurs during the executionpublic void execExportOperation(ExportOperation exportOp, java.lang.String user, java.lang.String password) throws OperationExecutionException
exportOp
- Configuration of the export operationuser
- User namepassword
- User Password
OperationExecutionException
- Throwing if an error occurs during the executionpublic void execImportOperation(ImportOperation importOp) throws OperationExecutionException
importOp
- Configuration of the import operation
OperationExecutionException
- Throwing if an error occurs during the executionpublic void execImportOperation(ImportOperation importOp, java.lang.String user, java.lang.String password) throws OperationExecutionException
importOp
- Configuration of the import operationuser
- User namepassword
- User Password
OperationExecutionException
- Throwing if an error occurs during the executionpublic void execVersionOperation(VersionOperation versionOp) throws OperationExecutionException
versionOp
- Configuration of the version operation
OperationExecutionException
- Throwing if an error occurs during the executionpublic void execVersionOperation(VersionOperation versionOp, java.lang.String user, java.lang.String password) throws OperationExecutionException
versionOp
- Configuration of the version operationuser
- User namepassword
- User Password
OperationExecutionException
- Throwing if an error occurs during the execution
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |