|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\OrgUnit\Webservices\SOAP\Base:
Collaboration diagram for ILIAS\OrgUnit\Webservices\SOAP\Base:Public Member Functions | |
| getServiceStyle () | |
| Get the service style, e.g. More... | |
| getServiceUse () | |
| Get the service use, e.g. More... | |
| getServiceNamespace () | |
| Get the namespace of the service where this method belongs to. More... | |
| getInputParams () | |
| Get the input parameters. More... | |
| execute (array $params) | |
| Execute the business logic for this SOAP method (when a SOAP request hits the endpoint defined by the name). More... | |
| addError (string $message) | |
Public Member Functions inherited from ilSoapAdministration | |
| __construct (bool $use_nusoap=true) | |
| getMessage () | |
| appendMessage (string $a_str) | |
| setMessageCode (string $a_code) | |
| getMessageCode () | |
| reInitUser () | |
| isFault ($object) | |
| getInstallationInfoXML () | |
| getClientInfoXML (string $clientid) | |
Public Member Functions inherited from ilSoapMethod | |
| getName () | |
| Get the name of the method. More... | |
| getInputParams () | |
| Get the input parameters. More... | |
| getOutputParams () | |
| Get the output parameters in the same format as the input parameters. More... | |
| getServiceNamespace () | |
| Get the namespace of the service where this method belongs to. More... | |
| getServiceStyle () | |
| Get the service style, e.g. More... | |
| getServiceUse () | |
| Get the service use, e.g. More... | |
| getDocumentation () | |
| Get the documentation of this method. More... | |
| execute (array $params) | |
| Execute the business logic for this SOAP method (when a SOAP request hits the endpoint defined by the name). More... | |
Data Fields | |
| const | TYPE_INT_ARRAY = 'tns:intArray' |
| const | TYPE_STRING = 'xsd:string' |
| const | TYPE_INT = 'xsd:int' |
| const | TYPE_DOUBLE_ARRAY = 'tns:doubleArray' |
| const | SID = 'sid' |
| const | ORGU_REF_ID = 'orgu_ref_id' |
| const | POSITION_ID = 'position_id' |
| const | USR_IDS = 'usr_ids' |
| const | USR_ID = 'usr_id' |
Data Fields inherited from ilSoapAdministration | |
| const | NUSOAP = 1 |
| const | PHP5 = 2 |
| int | $error_method |
| Defines type of error handling (PHP5 || NUSOAP) More... | |
Protected Member Functions | |
| initIliasAndCheckSession (string $session_id) | |
| Use this method at the beginning of your execute() method to check if the provided session ID is valid. More... | |
| checkParameters (array $params) | |
| Check that all input parameters are present when executing the soap method. More... | |
| getAdditionalInputParams () | |
| run (array $params) | |
Protected Member Functions inherited from ilSoapAdministration | |
| checkSession (string $sid) | |
| explodeSid (string $sid) | |
| setMessage (string $a_str) | |
| initAuth (string $sid) | |
| initIlias () | |
| initAuthenticationObject () | |
| raiseError (string $a_message, $a_code) | |
| checkObjectAccess (int $ref_id, array $expected_type, string $permission, bool $returnObject=false) | |
| check access for ref id: expected type, permission, return object instance if returnobject is true More... | |
Protected Attributes | |
| ilOrgUnitPositionDBRepository | $positionRepo |
| ilOrgUnitUserAssignmentDBRepository | $assignmentRepo |
Protected Attributes inherited from ilSoapAdministration | |
| bool | $soap_check = true |
| string | $message = '' |
| string | $message_code = '' |
Private Member Functions | |
| init (string $session_id) | |
| ILIAS\OrgUnit\Webservices\SOAP\Base::addError | ( | string | $message | ) |
SoapFault
Definition at line 132 of file Base.php.
References ilSoapAdministration\raiseError().
Referenced by ILIAS\OrgUnit\Webservices\SOAP\Base\execute(), ILIAS\OrgUnit\Webservices\SOAP\AddUserIdToPositionInOrgUnit\run(), ILIAS\OrgUnit\Webservices\SOAP\PositionTitle\run(), and ILIAS\OrgUnit\Webservices\SOAP\RemoveUserIdFromPositionInOrgUnit\run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Check that all input parameters are present when executing the soap method.
| array | $params |
| ilSoapPluginException |
Definition at line 78 of file Base.php.
References $params, and ILIAS\OrgUnit\Webservices\SOAP\Base\getInputParams().
Referenced by ILIAS\OrgUnit\Webservices\SOAP\Base\execute().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\OrgUnit\Webservices\SOAP\Base::execute | ( | array | $params | ) |
Execute the business logic for this SOAP method (when a SOAP request hits the endpoint defined by the name).
Note: This Method must return the data in the format specified by getOutputParams().
| array | $params | Key/Value pair of parameters defined by getInputParams() |
Implements ilSoapMethod.
Definition at line 107 of file Base.php.
References $DIC, $params, ILIAS\OrgUnit\Webservices\SOAP\Base\addError(), ILIAS\OrgUnit\Webservices\SOAP\Base\checkParameters(), ILIAS\OrgUnit\Webservices\SOAP\Base\getAdditionalInputParams(), ilObjOrgUnit\getRootOrgRefId(), ILIAS\OrgUnit\Webservices\SOAP\Base\init(), and ILIAS\OrgUnit\Webservices\SOAP\Base\run().
Here is the call graph for this function:
|
abstractprotected |
Reimplemented in ILIAS\OrgUnit\Webservices\SOAP\AddUserIdToPositionInOrgUnit, ILIAS\OrgUnit\Webservices\SOAP\EmployeePositionId, ILIAS\OrgUnit\Webservices\SOAP\ImportOrgUnitTree, ILIAS\OrgUnit\Webservices\SOAP\OrgUnitTree, ILIAS\OrgUnit\Webservices\SOAP\PositionIds, ILIAS\OrgUnit\Webservices\SOAP\PositionTitle, ILIAS\OrgUnit\Webservices\SOAP\RemoveUserIdFromPositionInOrgUnit, ILIAS\OrgUnit\Webservices\SOAP\SuperiorPositionId, ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPosition, and ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPositionAndOrgUnit.
Referenced by ILIAS\OrgUnit\Webservices\SOAP\Base\execute(), and ILIAS\OrgUnit\Webservices\SOAP\Base\getInputParams().
Here is the caller graph for this function:| ILIAS\OrgUnit\Webservices\SOAP\Base::getInputParams | ( | ) |
Get the input parameters.
Array keys must correspond to parameter names and values must correspond to a valid SOAP data-type
Implements ilSoapMethod.
Definition at line 95 of file Base.php.
References ILIAS\OrgUnit\Webservices\SOAP\Base\getAdditionalInputParams().
Referenced by ILIAS\OrgUnit\Webservices\SOAP\Base\checkParameters().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\OrgUnit\Webservices\SOAP\Base::getServiceNamespace | ( | ) |
Get the namespace of the service where this method belongs to.
Implements ilSoapMethod.
Definition at line 88 of file Base.php.
| ILIAS\OrgUnit\Webservices\SOAP\Base::getServiceStyle | ( | ) |
Get the service style, e.g.
'rpc'
Implements ilSoapMethod.
Definition at line 47 of file Base.php.
| ILIAS\OrgUnit\Webservices\SOAP\Base::getServiceUse | ( | ) |
Get the service use, e.g.
'encoded'
Implements ilSoapMethod.
Definition at line 52 of file Base.php.
|
private |
| ilSoapPluginException |
Definition at line 140 of file Base.php.
References $_GET, $dic, ilOrgUnitLocalDIC\dic(), and ILIAS\OrgUnit\Webservices\SOAP\Base\initIliasAndCheckSession().
Referenced by ILIAS\OrgUnit\Webservices\SOAP\Base\execute().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Use this method at the beginning of your execute() method to check if the provided session ID is valid.
This method wraps around ilSoapAdministration::initAuth() and ilSoapAdministration::initILIAS() which are both required in order to handle the request.
| string | $session_id |
| ilSoapPluginException |
Definition at line 64 of file Base.php.
References ilSoapAdministration\checkSession(), ilSoapAdministration\getMessage(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
Referenced by ILIAS\OrgUnit\Webservices\SOAP\Base\init().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstractprotected |
Reimplemented in ILIAS\OrgUnit\Webservices\SOAP\AddUserIdToPositionInOrgUnit, ILIAS\OrgUnit\Webservices\SOAP\EmployeePositionId, ILIAS\OrgUnit\Webservices\SOAP\ImportOrgUnitTree, ILIAS\OrgUnit\Webservices\SOAP\OrgUnitTree, ILIAS\OrgUnit\Webservices\SOAP\PositionIds, ILIAS\OrgUnit\Webservices\SOAP\PositionTitle, ILIAS\OrgUnit\Webservices\SOAP\RemoveUserIdFromPositionInOrgUnit, ILIAS\OrgUnit\Webservices\SOAP\SuperiorPositionId, ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPosition, and ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPositionAndOrgUnit.
Referenced by ILIAS\OrgUnit\Webservices\SOAP\Base\execute().
Here is the caller graph for this function:
|
protected |
|
protected |
| const ILIAS\OrgUnit\Webservices\SOAP\Base::ORGU_REF_ID = 'orgu_ref_id' |
Definition at line 40 of file Base.php.
Referenced by ILIAS\OrgUnit\Webservices\SOAP\AddUserIdToPositionInOrgUnit\run(), ILIAS\OrgUnit\Webservices\SOAP\RemoveUserIdFromPositionInOrgUnit\run(), and ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPositionAndOrgUnit\run().
| const ILIAS\OrgUnit\Webservices\SOAP\Base::POSITION_ID = 'position_id' |
Definition at line 41 of file Base.php.
Referenced by ILIAS\OrgUnit\Webservices\SOAP\AddUserIdToPositionInOrgUnit\run(), ILIAS\OrgUnit\Webservices\SOAP\RemoveUserIdFromPositionInOrgUnit\run(), ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPosition\run(), and ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPositionAndOrgUnit\run().
| const ILIAS\OrgUnit\Webservices\SOAP\Base::TYPE_DOUBLE_ARRAY = 'tns:doubleArray' |
| const ILIAS\OrgUnit\Webservices\SOAP\Base::TYPE_INT = 'xsd:int' |
Definition at line 37 of file Base.php.
Referenced by ILIAS\OrgUnit\Webservices\SOAP\AddUserIdToPositionInOrgUnit\getAdditionalInputParams(), ILIAS\OrgUnit\Webservices\SOAP\OrgUnitTree\getAdditionalInputParams(), ILIAS\OrgUnit\Webservices\SOAP\PositionTitle\getAdditionalInputParams(), ILIAS\OrgUnit\Webservices\SOAP\RemoveUserIdFromPositionInOrgUnit\getAdditionalInputParams(), ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPosition\getAdditionalInputParams(), ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPositionAndOrgUnit\getAdditionalInputParams(), ILIAS\OrgUnit\Webservices\SOAP\EmployeePositionId\getOutputParams(), and ILIAS\OrgUnit\Webservices\SOAP\SuperiorPositionId\getOutputParams().
| const ILIAS\OrgUnit\Webservices\SOAP\Base::TYPE_INT_ARRAY = 'tns:intArray' |
Definition at line 35 of file Base.php.
Referenced by ILIAS\OrgUnit\Webservices\SOAP\PositionIds\getOutputParams(), ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPosition\getOutputParams(), and ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPositionAndOrgUnit\getOutputParams().
| const ILIAS\OrgUnit\Webservices\SOAP\Base::TYPE_STRING = 'xsd:string' |
Definition at line 36 of file Base.php.
Referenced by ILIAS\OrgUnit\Webservices\SOAP\ImportOrgUnitTree\getAdditionalInputParams(), ILIAS\OrgUnit\Webservices\SOAP\OrgUnitTree\getOutputParams(), and ILIAS\OrgUnit\Webservices\SOAP\PositionTitle\getOutputParams().
| const ILIAS\OrgUnit\Webservices\SOAP\Base::USR_ID = 'usr_id' |
Definition at line 43 of file Base.php.
Referenced by ILIAS\OrgUnit\Webservices\SOAP\AddUserIdToPositionInOrgUnit\run(), and ILIAS\OrgUnit\Webservices\SOAP\RemoveUserIdFromPositionInOrgUnit\run().
| const ILIAS\OrgUnit\Webservices\SOAP\Base::USR_IDS = 'usr_ids' |