public class Backend extends Object implements BackendInternal, BackendRemote
Constructor and Description |
---|
Backend() |
public static BackendInternal getInstance()
public VDSBrokerFrontend getResourceManager()
getResourceManager
in interface BackendRemote
getResourceManager
in interface BackendLocal
@PostConstruct public void create()
public DateTime getStartedAt()
getStartedAt
in interface BackendInternal
public void Initialize()
Initialize
in interface BackendRemote
Initialize
in interface BackendLocal
public VdcReturnValueBase runInternalAction(VdcActionType actionType, VdcActionParametersBase parameters)
runInternalAction
in interface BackendInternal
public VdcReturnValueBase RunAction(VdcActionType actionType, VdcActionParametersBase parameters)
RunAction
in interface BackendRemote
RunAction
in interface BackendLocal
public VdcReturnValueBase endAction(VdcActionType actionType, VdcActionParametersBase parameters, CompensationContext compensationContext)
BackendInternal
endAction
in interface BackendInternal
actionType
- The type of command to end.parameters
- The command's parameters.compensationContext
- The compensation context to use.public VdcReturnValueBase EndAction(VdcActionType actionType, VdcActionParametersBase parameters)
EndAction
in interface BackendRemote
EndAction
in interface BackendLocal
public VdcQueryReturnValue runInternalQuery(VdcQueryType actionType, VdcQueryParametersBase parameters)
runInternalQuery
in interface BackendInternal
public VdcQueryReturnValue RunQuery(VdcQueryType actionType, VdcQueryParametersBase parameters)
RunQuery
in interface BackendRemote
RunQuery
in interface BackendLocal
public void RunAsyncQuery(VdcQueryType actionType, VdcQueryParametersBase parameters)
RunAsyncQuery
in interface BackendLocal
public ArrayList<VdcReturnValueBase> RunMultipleActions(VdcActionType actionType, ArrayList<VdcActionParametersBase> parameters)
RunMultipleActions
in interface BackendRemote
RunMultipleActions
in interface BackendLocal
public ArrayList<VdcReturnValueBase> runInternalMultipleActions(VdcActionType actionType, ArrayList<VdcActionParametersBase> parameters)
runInternalMultipleActions
in interface BackendInternal
public ArrayList<VdcReturnValueBase> runMultipleActionsImpl(VdcActionType actionType, ArrayList<VdcActionParametersBase> parameters, boolean isInternal)
public ErrorTranslator getErrorsTranslator()
getErrorsTranslator
in interface BackendRemote
getErrorsTranslator
in interface BackendLocal
public ErrorTranslator getVdsErrorsTranslator()
getVdsErrorsTranslator
in interface BackendRemote
getVdsErrorsTranslator
in interface BackendLocal
public VdcReturnValueBase Login(LoginUserParameters parameters)
Login
in interface BackendLocal
parameters
- The parameters.public VdcReturnValueBase Logoff(LogoutUserParameters parameters)
Logoff
in interface BackendLocal
public VDSStatus PowerUpVDS(int vdsId)
vdsId
- public VDSStatus ShutDownVDS(int vdsId)
vdsId
- public String GetTagIdAndChildrenIds(int tagId)
public VdcQueryReturnValue RunPublicQuery(VdcQueryType actionType, VdcQueryParametersBase parameters)
RunPublicQuery
in interface BackendLocal
public VdcReturnValueBase RunUserAction(VdcActionType actionType, VdcActionParametersBase parameters)
public VdcQueryReturnValue RunUserQuery(VdcQueryType actionType, VdcQueryParametersBase parameters)
public ArrayList<VdcReturnValueBase> RunUserMultipleActions(VdcActionType actionType, ArrayList<VdcActionParametersBase> parameters)
public VdcReturnValueBase RunAutoAction(VdcActionType actionType, VdcActionParametersBase parameters)
RunAutoAction
in interface BackendLocal
public VdcQueryReturnValue RunAutoQuery(VdcQueryType actionType, VdcQueryParametersBase parameters)
RunAutoQuery
in interface BackendLocal
public AsyncQueryResults GetAsyncQueryResults()
GetAsyncQueryResults
in interface BackendLocal
public VdcReturnValueBase runInternalAction(VdcActionType actionType, VdcActionParametersBase parameters, CompensationContext context)
runInternalAction
in interface BackendInternal
Copyright © 2012. All Rights Reserved.