class Record extends AbstractEntity
Methods
__construct(EntityManager $em) | from AbstractEntity | |
integer |
getRecordId()
Get the record id |
|
setRecordId($recordId) | ||
integer |
getDataboxId()
Get the databox id |
|
setDataboxId($databoxId) | ||
string |
getTitle()
Get the record title |
|
setTitle($title) | ||
string |
getMimeType()
Get the record mime type |
|
setMimeType($mimeType) | ||
string |
getOriginalName()
Get the record original name |
|
setOriginalName($originalName) | ||
DateTime |
getUpdatedOn()
Last updated date |
|
setUpdatedOn(DateTime $updatedOn) | ||
DateTime |
getCreatedOn()
Creation date |
|
setCreatedOn(DateTime $createdOn) | ||
integer |
getCollectionId()
Get the record collection id |
|
setCollectionId($collectionId) | ||
string |
getSha256()
Get the record SHA256 hash |
|
setSha256($sha256) | ||
Subdef|null |
getThumbnail()
Return the thumbnail of the record as a PhraseanetSDK\Entity\Subdef object if the thumbnail exists null otherwise |
|
setThumbnail(Subdef $thumbnail) | ||
string |
getPhraseaType()
Get the Record phraseaType IMAGE|VIDEO|DOCUMENT etc.. |
|
setPhraseaType($phraseaType) | ||
string |
getUuid()
Get the record UUID |
|
setUuid($uuid) | ||
ArrayCollection |
getTechnicalInformations()
Get a collection of Phraseanet\Entity\Technical data objects |
|
setTechnicalInformations(ArrayCollection $technicalInformations) | ||
ArrayCollection|Subdef |
getSubdefs(string|null $name = null)
Return a collection of PhraseanetSDK\Entity\Subdef for the record |
|
ArrayCollection |
getSubdefsByDevicesAndMimeTypes(array $devices, array $mimes)
Return a collection of PhraseanetSDK\Entity\Subdef for the record |
|
ArrayCollection |
getMetadatas()
Return the record metdatas as a collection of PhraseanetSDK\Entity\Metadatas objects |
|
ArrayCollection |
getCaption()
Get the record caption as collection of PhraseanetSDK\Entity\RecordCaption objects |
|
ArrayCollection |
getStatus()
Get the record status as collection of PhraseanetSDK\Entity\RecordStatus objects |
Details
in AbstractEntity at line 21
final public
__construct(EntityManager $em)
at line 39
public integer
getRecordId()
Get the record id
at line 44
public
setRecordId($recordId)
at line 54
public integer
getDataboxId()
Get the databox id
at line 59
public
setDataboxId($databoxId)
at line 69
public string
getTitle()
Get the record title
at line 74
public
setTitle($title)
at line 84
public string
getMimeType()
Get the record mime type
at line 89
public
setMimeType($mimeType)
at line 99
public string
getOriginalName()
Get the record original name
at line 104
public
setOriginalName($originalName)
at line 114
public DateTime
getUpdatedOn()
Last updated date
at line 119
public
setUpdatedOn(DateTime $updatedOn)
at line 129
public DateTime
getCreatedOn()
Creation date
at line 134
public
setCreatedOn(DateTime $createdOn)
at line 144
public integer
getCollectionId()
Get the record collection id
at line 149
public
setCollectionId($collectionId)
at line 159
public string
getSha256()
Get the record SHA256 hash
at line 164
public
setSha256($sha256)
at line 175
public Subdef|null
getThumbnail()
Return the thumbnail of the record as a PhraseanetSDK\Entity\Subdef object if the thumbnail exists null otherwise
at line 180
public
setThumbnail(Subdef $thumbnail)
at line 190
public string
getPhraseaType()
Get the Record phraseaType IMAGE|VIDEO|DOCUMENT etc..
at line 195
public
setPhraseaType($phraseaType)
at line 205
public string
getUuid()
Get the record UUID
at line 210
public
setUuid($uuid)
at line 220
public ArrayCollection
getTechnicalInformations()
Get a collection of Phraseanet\Entity\Technical data objects
at line 225
public
setTechnicalInformations(ArrayCollection $technicalInformations)
at line 242
public ArrayCollection|Subdef
getSubdefs(string|null $name = null)
Return a collection of PhraseanetSDK\Entity\Subdef for the record
Precise a name to get the desired subdef identified by its name
/!\ This method requests the API
at line 271
public ArrayCollection
getSubdefsByDevicesAndMimeTypes(array $devices, array $mimes)
Return a collection of PhraseanetSDK\Entity\Subdef for the record
Precise an array of devices or mime types for the desired sub definitions
/!\ This method requests the API
at line 288
public ArrayCollection
getMetadatas()
Return the record metdatas as a collection of PhraseanetSDK\Entity\Metadatas objects
/!\ This method requests the API
at line 300
public ArrayCollection
getCaption()
Get the record caption as collection of PhraseanetSDK\Entity\RecordCaption objects
/!\ This method requests the API
at line 312
public ArrayCollection
getStatus()
Get the record status as collection of PhraseanetSDK\Entity\RecordStatus objects
/!\ This method requests the API