PHP Class Scalr\Api\Service\User\V1beta0\Controller\RoleCategories

Since: 5.4.0 (18.03.2015)
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\Api\Rest\Controller\ApiController
Afficher le fichier Open project: scalr/scalr

Méthodes publiques

Méthode Description
createAction ( ) : Scalr\Api\DataType\ResultEnvelope Create a new Role Category in this Environment or account
deleteAction ( integer $roleCategoryId ) : Scalr\Api\DataType\ResultEnvelope Deletes the Role Category from the environment or account
describeAction ( ) Gets the list of the available Role Categories
fetchAction ( integer $roleCategoryId ) : Scalr\Api\DataType\ResultEnvelope Gets the specified Role Category
modifyAction ( integer $roleCategoryId ) : Scalr\Api\DataType\ResultEnvelope Modifies Role Category attributes

Private Methods

Méthode Description
getDefaultCriteria ( ) : array Gets default search criteria for Role Categories
getRoleCategory ( integer $roleCategoryId, boolean $restrictToCurrentScope = false ) : RoleCategory Gets RoleCategory from database using User's Environement

Method Details

createAction() public méthode

Create a new Role Category in this Environment or account
public createAction ( ) : Scalr\Api\DataType\ResultEnvelope
Résultat Scalr\Api\DataType\ResultEnvelope

deleteAction() public méthode

Deletes the Role Category from the environment or account
public deleteAction ( integer $roleCategoryId ) : Scalr\Api\DataType\ResultEnvelope
$roleCategoryId integer The identifier of the Role Category
Résultat Scalr\Api\DataType\ResultEnvelope

describeAction() public méthode

Gets the list of the available Role Categories
public describeAction ( )

fetchAction() public méthode

Gets the specified Role Category
public fetchAction ( integer $roleCategoryId ) : Scalr\Api\DataType\ResultEnvelope
$roleCategoryId integer The identifier of the Role Category
Résultat Scalr\Api\DataType\ResultEnvelope

modifyAction() public méthode

Modifies Role Category attributes
public modifyAction ( integer $roleCategoryId ) : Scalr\Api\DataType\ResultEnvelope
$roleCategoryId integer The identifier of the Role Category
Résultat Scalr\Api\DataType\ResultEnvelope