PHP 클래스 Scalr\Api\Service\User\V1beta0\Controller\Events

부터: 5.4 (07.05.2015)
저자: Vlad Dobrovolskiy ([email protected])
상속: extends Scalr\Api\Rest\Controller\ApiController
파일 보기 프로젝트 열기: scalr/scalr

공개 메소드들

메소드 설명
createAction ( ) : Scalr\Api\DataType\ResultEnvelope Creates new event in current scope
deleteAction ( string $eventId ) : Scalr\Api\DataType\ResultEnvelope Deletes the event from the curent scope
describeAction ( ) Gets Events list
fetchAction ( string $eventId ) : Scalr\Api\DataType\ResultEnvelope Fetches detailed info about the Event
getEvent ( string $eventId, boolean $restrictToCurrentScope = false ) : EventDefinition | null Gets event from database using User's Account
getScope ( ) : string Gets current scope
modifyAction ( string $eventId ) : Scalr\Api\DataType\ResultEnvelope Modifies event from current scope

비공개 메소드들

메소드 설명
getDefaultCriteria ( ) : array Gets Default search criteria for the Account scope

메소드 상세

createAction() 공개 메소드

Creates new event in current scope
public createAction ( ) : Scalr\Api\DataType\ResultEnvelope
리턴 Scalr\Api\DataType\ResultEnvelope

deleteAction() 공개 메소드

Deletes the event from the curent scope
public deleteAction ( string $eventId ) : Scalr\Api\DataType\ResultEnvelope
$eventId string Unique identifier of the Event
리턴 Scalr\Api\DataType\ResultEnvelope

describeAction() 공개 메소드

Gets Events list
public describeAction ( )

fetchAction() 공개 메소드

Fetches detailed info about the Event
public fetchAction ( string $eventId ) : Scalr\Api\DataType\ResultEnvelope
$eventId string Unique identifier of the Event
리턴 Scalr\Api\DataType\ResultEnvelope

getEvent() 공개 메소드

Gets event from database using User's Account
public getEvent ( string $eventId, boolean $restrictToCurrentScope = false ) : EventDefinition | null
$eventId string The identifier of the Event
$restrictToCurrentScope boolean optional Whether it should additionally check that event corresponds to current scope
리턴 Scalr\Model\Entity\EventDefinition | null Returns Event Definition entity on success or NULL otherwise

getScope() 공개 메소드

Gets current scope
public getScope ( ) : string
리턴 string

modifyAction() 공개 메소드

Modifies event from current scope
public modifyAction ( string $eventId ) : Scalr\Api\DataType\ResultEnvelope
$eventId string Unique identifier of the Event
리턴 Scalr\Api\DataType\ResultEnvelope