Documentation

AbstractBaseCloudModel extends Model
in package
Uses IsCloudModel, LogsActivityAllDirty

Table of Contents

$activityLogName  : string
$error_at  : Carbon
$id  : int
$openStackActivityLogName  : string
belongsToDefaultDomain()  : bool
This function will return true if the model is under the default domain, false otherwise
getActivitylogOptions()  : LogOptions
Specifies which model properties should be logged in the activy log
isOwner()  : bool
isReadyToInsert()  : bool
Check if the model is consistent to be updated.
isReadyToUpdate()  : bool
Check if the model is consistent to be inserted and created
retrieveDomain()  : Domain
This function will traverse all model relation up to the Domain
_isReadyToInsert()  : bool
Check if the model is consistent to be updated.
_isReadyToUpdate()  : bool
Check if the model is consistent to be inserted and created

Properties

$openStackActivityLogName

public static string $openStackActivityLogName = 'openstack'

Methods

belongsToDefaultDomain()

This function will return true if the model is under the default domain, false otherwise

public belongsToDefaultDomain() : bool
Tags
throws
NotImplementedException
Return values
bool

getActivitylogOptions()

Specifies which model properties should be logged in the activy log

public getActivitylogOptions() : LogOptions
Return values
LogOptions

isReadyToInsert()

Check if the model is consistent to be updated.

public isReadyToInsert() : bool
Tags
throws
ReporterException
Return values
bool

true if the model is ready to be updated. The return type is just for convenience cause the method throws an exception

isReadyToUpdate()

Check if the model is consistent to be inserted and created

public isReadyToUpdate() : bool
Tags
throws
ReporterException
Return values
bool

true if the model is ready to be updated. The return type is just for convenience cause the method throws an exception

_isReadyToInsert()

Check if the model is consistent to be updated.

protected abstract _isReadyToInsert() : bool
Tags
throws
ReporterException

a consistency check exception

Return values
bool

true if the model is ready to be updated. The return type is just for convenience cause the method throws an exception

_isReadyToUpdate()

Check if the model is consistent to be inserted and created

protected abstract _isReadyToUpdate() : bool
Tags
throws
ReporterException

a consistency check exception

Return values
bool

true if the model is ready to be updated. The return type is just for convenience cause the method throws an exception

Search results