public interface RemoteCubeManager
extends java.rmi.Remote
| Modifier and Type | Method and Description |
|---|---|
void |
createCube(java.lang.String loginUser,
CubeInfo cubeInfo)
Creates cube with specified login user and
CubeInfo. |
void |
deleteCompletedCube(java.lang.String loginUser,
int id)
Deletes historical info of cube by specified login user and id.
|
void |
deleteCompletedCube(java.lang.String loginUser,
int[] ids)
Deletes historical info of cube by specified login user and completed cube id.
|
void |
deleteCube(java.lang.String loginUser,
CubeInfoKey cubeKey)
Deletes cube with specified login user and
CubeInfoKey. |
void |
disableCube(java.lang.String loginUser,
CubeInfoKey cubeKey)
disable cube with specified login user and
CubeInfoKey. |
void |
enableCube(java.lang.String loginUser,
CubeInfoKey cubeKey)
Enable cube with specified login user and
CubeInfoKey. |
CompletedCubeInfo |
getCompletedCube(java.lang.String loginUser,
int id)
Gets Completed cube with specified login user and completed cube id.
|
CubeInfo |
getCube(java.lang.String loginUser,
CubeInfoKey cubeKey)
Gets
CubeInfo with specified login user and CubeInfoKey. |
java.util.List<RemoteParamInfo> |
getParamInfos(java.lang.String loginUser,
CubeInfoKey cubeKey)
Gets parameter informations of specified login user and
CubeInfoKey. |
java.util.Vector<CompletedCubeInfo> |
listCompletedCubes(java.lang.String loginUser)
Gets completed cube list of specified login user.
|
java.util.Vector<CubeInfo> |
listCubes(java.lang.String loginUser)
Gets cube list with specified login user.
|
void |
updateCube(java.lang.String loginUser,
CubeInfo cubeInfo)
Updates cube with specified login user and
CubeInfo. |
void createCube(java.lang.String loginUser,
CubeInfo cubeInfo)
throws CRDManageException,
java.rmi.RemoteException
CubeInfo.loginUser - login user.crdInfo - cube information.CRDManageException - if errors occurs when managing cube.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.CubeInfo getCube(java.lang.String loginUser, CubeInfoKey cubeKey) throws CRDManageException, java.rmi.RemoteException
CubeInfo with specified login user and CubeInfoKey.loginUser - login user.cubeKey - cube information key.CRDManageException - if errors occurs when managing cube.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void deleteCube(java.lang.String loginUser,
CubeInfoKey cubeKey)
throws CRDManageException,
java.rmi.RemoteException
CubeInfoKey.loginUser - login user.cubeKey - cube information key.CRDManageException - if errors occurs when managing cube.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void disableCube(java.lang.String loginUser,
CubeInfoKey cubeKey)
throws CRDManageException,
java.rmi.RemoteException
CubeInfoKey.
a not disabled cube can be disabled by this method, after disable, the cube status is CRDInfo.STATUS_DISABLED.
loginUser - login user.cubeKey - cube information key.CRDManageException - if errors occurs when managing cube.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void enableCube(java.lang.String loginUser,
CubeInfoKey cubeKey)
throws CRDManageException,
java.rmi.RemoteException
CubeInfoKey.
a disabled cube can be enabled by this method, after enable, the cube status may be CRDInfo.STATUS_PENDING,
CRDInfo.STATUS_BUILDING, CRDInfo.STATUS_UPDATING, or CRDInfo.STATUS_COMPLETED.
loginUser - login user.cubeKey - cube information key.CRDManageException - if errors occurs when managing cube.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void updateCube(java.lang.String loginUser,
CubeInfo cubeInfo)
throws CRDManageException,
java.rmi.RemoteException
CubeInfo.loginUser - login user.cubeInfo - cube information key.CRDManageException - if errors occurs when managing cube.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.java.util.Vector<CubeInfo> listCubes(java.lang.String loginUser) throws CRDManageException, java.rmi.RemoteException
loginUser - login user.CubeInfo.CRDManageException - if errors occurs when managing cube.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void deleteCompletedCube(java.lang.String loginUser,
int id)
throws CRDManageException,
java.rmi.RemoteException
loginUser - login user.id - completed cube id.CRDManageException - if errors occurs when managing cube.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.void deleteCompletedCube(java.lang.String loginUser,
int[] ids)
throws CRDManageException,
java.rmi.RemoteException
loginUser - login user.id - completed cube id array.CRDManageException - if errors occurs when managing cube.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.CompletedCubeInfo getCompletedCube(java.lang.String loginUser, int id) throws CRDManageException, java.rmi.RemoteException
loginUser - login user.id - completed cube id.CompletedCRDInfo object.CRDManageException - if errors occurs when managing cube.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.java.util.Vector<CompletedCubeInfo> listCompletedCubes(java.lang.String loginUser) throws CRDManageException, java.rmi.RemoteException
loginUser - login user.CubeInfo.CRDManageException - if errors occurs when managing cube.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.java.util.List<RemoteParamInfo> getParamInfos(java.lang.String loginUser, CubeInfoKey cubeKey) throws CRDManageException, java.rmi.RemoteException
CubeInfoKey.loginUser - login user.cubeKey - cube information key.RemoteParamInfo.CRDManageException - if errors occurs when managing cube.java.rmi.RemoteException - if communication-related error occurs during RMI call execution.RemoteParamInfo