Uses of Class
com.unica.publicapi.plan.api.InvalidStateTransitionException

Packages that use InvalidStateTransitionException
com.unica.publicapi.plan.api   
 

Uses of InvalidStateTransitionException in com.unica.publicapi.plan.api
 

Methods in com.unica.publicapi.plan.api that throw InvalidStateTransitionException
 void IPlanAPI.disableFinancialAccount(IExecutionContext context, Handle handle)
          API to disable financial account
 void IPlanAPI.enableFinancialAccount(IExecutionContext context, Handle handle)
          API to enable financial account
 void IPlanAPI.transitionApprovalStateByHandle(IExecutionContext context, Handle hApproval, ApprovalStateEnum stateEnum, java.lang.String comments)
          Change the approval state of an existing approval to a new state.
 void IPlanAPI.transitionAssetStateByCode(IExecutionContext context, java.lang.String code, AssetStateEnum stateEnum, java.lang.String comments)
           
 void IPlanAPI.transitionInvoiceState(IExecutionContext context, Handle handle, InvoiceStateEnum stateEnum, AttributeMap attributeMap)
          API to update state of the Invoice
 void IPlanAPI.transitionMarketingObjectStateByHandle(IExecutionContext context, Handle hMarketingObject, java.lang.String state, java.lang.String comments)
          Transition a supplied Marketing Object's state to the new state.
 void IPlanAPI.transitionProjectRequestStateByHandle(IExecutionContext context, Handle hProjectRequest, ProjectStateEnum stateEnum, java.lang.String comments)
          Finds the project request and transition its state to the new state.

On resubmitting returned request, request 'Re-approval Rule' would be:
If project request returned and then resubmitted, request is processed by all recipients again

To accept request by recipient, "onBehalfOfUserID" user id should be valid recipinet's id.
 void IPlanAPI.transitionProjectStateByCode(IExecutionContext context, java.lang.String code, ProjectStateEnum stateEnum)
          Deprecated.  
 void IPlanAPI.transitionProjectStateByHandle(IExecutionContext context, Handle hProject, ProjectStateEnum stateEnum, java.lang.String comments)
          Overloaded API with comments parameters.
 void IPlanAPI.transitionWorkflowTaskStateByHandle(IExecutionContext context, Handle hTask, TaskStateEnum taskStateEnum, java.lang.String comments)
          Overloaded API with comments parameters.
 void IPlanAPI.transitionWorkflowTaskStateByName(IExecutionContext context, java.lang.String projectCode, java.lang.String taskName, TaskStateEnum taskStateEnum)
          Deprecated. use @see Finds the workflow task that has the specified project code and task name and transitions its state to the new state.

Convenience API; identical to making the following API calls:

  1. findProjectByAttribute() using the code attribute name and the code parameter value
  2. findWorkflowTaskByAttribute() using the project handle above with a name attribute equal to the name parameter above
  3. updateAttributes() for the task returned above, using the state parameter as the uapStateEnum attribute value.