Phraseanet PHP SDK API
Class

PhraseanetSDK\Entity\Quarantine

class Quarantine extends AbstractEntity

Methods

__construct(EntityManager $em)

from AbstractEntity
integer getId()

Get Quarantine item id

setId($id)

QuarantineSession getQuarantineSession()

Get The related quarantine session

setQuarantineSession(QuarantineSession $session)

integer getBaseId()

Get the related base id

setBaseId($baseId)

string getOriginalName()

Get the item original name

setOriginalName($originalName)

string getSha256()

Get the item SHA 256 HASH

setSha256($sha256)

string getUuid()

Get the item UUID

setUuid($uuid)

Boolean isForced()

Tell whether the item has been forced to the quarantine

setForced($forced)

ArrayCollection getChecks()

Get the check messages as a collection of string

setChecks(ArrayCollection $checks)

DateTime getCreatedOn()

Creation date

setCreatedOn(DateTime $createdOn)

DateTime getUpdatedOn()

Last updated date

setUpdatedOn(DateTime $updatedOn)

Details

in AbstractEntity at line 21
final public __construct(EntityManager $em)

Parameters

EntityManager $em

at line 34
public integer getId()

Get Quarantine item id

Return Value

integer

at line 39
public setId($id)

Parameters

$id

at line 49
public QuarantineSession getQuarantineSession()

Get The related quarantine session

Return Value

QuarantineSession

at line 54
public setQuarantineSession(QuarantineSession $session)

Parameters

QuarantineSession $session

at line 64
public integer getBaseId()

Get the related base id

Return Value

integer

at line 69
public setBaseId($baseId)

Parameters

$baseId

at line 79
public string getOriginalName()

Get the item original name

Return Value

string

at line 84
public setOriginalName($originalName)

Parameters

$originalName

at line 94
public string getSha256()

Get the item SHA 256 HASH

Return Value

string

at line 99
public setSha256($sha256)

Parameters

$sha256

at line 109
public string getUuid()

Get the item UUID

Return Value

string

at line 114
public setUuid($uuid)

Parameters

$uuid

at line 124
public Boolean isForced()

Tell whether the item has been forced to the quarantine

Return Value

Boolean

at line 129
public setForced($forced)

Parameters

$forced

at line 139
public ArrayCollection getChecks()

Get the check messages as a collection of string

Return Value

ArrayCollection

at line 144
public setChecks(ArrayCollection $checks)

Parameters

ArrayCollection $checks

at line 154
public DateTime getCreatedOn()

Creation date

Return Value

DateTime

at line 159
public setCreatedOn(DateTime $createdOn)

Parameters

DateTime $createdOn

at line 169
public DateTime getUpdatedOn()

Last updated date

Return Value

DateTime

at line 174
public setUpdatedOn(DateTime $updatedOn)

Parameters

DateTime $updatedOn