public class

ArgumentMapper

extends Object
java.lang.Object
   ↳ org.mule.modules.peoplesoft.runtime.ArgumentMapper

Class Overview

Maps arguments to the helper CI classes (API accessors).

Summary

Constants
String CURRENT_BRANCH
String DOUBLE_VALUE_REGEXP
String LONG_VALUE_REGEXP
Fields
private static final Pattern DOUBLE_VALUE_PATTERN
private static final Pattern LONG_VALUE
private static final Logger logger
Public Constructors
ArgumentMapper()
Public Methods
void verify(OperationType operationType, Map<String, Object> params, CIPropertyInfoCollectionAccessor infoProperties)
Performs the validation of the Map with the attributes passed as parameter

It will check that:

  • all the attributes defined as 'required' are defined
  • the length of the string type values is not exceeded
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final String CURRENT_BRANCH

Constant Value: "root"

private static final String DOUBLE_VALUE_REGEXP

Constant Value: "([\d]*)\.?([\d]*)"

private static final String LONG_VALUE_REGEXP

Constant Value: "([\d]+)"

Fields

private static final Pattern DOUBLE_VALUE_PATTERN

private static final Pattern LONG_VALUE

private static final Logger logger

Public Constructors

public ArgumentMapper ()

Public Methods

public void verify (OperationType operationType, Map<String, Object> params, CIPropertyInfoCollectionAccessor infoProperties)

Performs the validation of the Map with the attributes passed as parameter

It will check that:

  • all the attributes defined as 'required' are defined
  • the length of the string type values is not exceeded

Parameters
operationType The operation to be performed
params The map with the actual params
infoProperties The info helper containing the structure of PS Properties
Throws
PeopleSoftRuntimeException If an error is found it will throw this exception. The message will contain all the definition of the errors found