Plentymarkets interface documentation
AuditLog
Contracts
AuditLogArchiveRepositoryContract
manage the audit log archive data
Namespace
Plenty\Modules\AuditLog\Contracts
Methods
public search($page = 1, $perPage = 12, $filters = []):array
Search for available archive files.
Name |
Type |
Description |
|
||
|
||
|
public count($filters = []):int
Get the number of found archives, restricted by filters.
Name |
Type |
Description |
|
public restore($key):void
Restore an audit log archive and make it downloadable for approximately 2 days. There may be costs.
Name |
Type |
Description |
|
public getSignedUrl($key):string
Get a signed url of an archive to download it.
Name |
Type |
Description |
|
AuditLogEntitiesRepositoryContract
Get possible auditLog entities
Namespace
Plenty\Modules\AuditLog\Contracts
Methods
public getGroups():array
Get list of entity groups
public getEntities():array
Get list of entities
AuditLogExportRepositoryContract
get audit log files
Namespace
Plenty\Modules\AuditLog\Contracts
Methods
public all():array
Get all available files
public getSignedUrl($key):string
Get a signed url of an archive to download it.
Name |
Type |
Description |
|
AuditLogSystemConfigRepositoryContract
Configure the audit log configuration
Namespace
Plenty\Modules\AuditLog\Contracts
Methods
public save($systemConfig):Plenty\Modules\AuditLog\Models\SystemConfig
Return type: SystemConfig
Save a audit log system config
Name |
Type |
Description |
|
public get():Plenty\Modules\AuditLog\Models\SystemConfig
Return type: SystemConfig
Get the current audit log system config
Models
Archive
Contains informations about one archive file
Namespace
Plenty\Modules\AuditLog\Models
Name | Type | Description |
---|---|---|
file |
The file name of the archive |
|
month |
The month of the archive |
|
year |
The year of the archive |
|
size |
The size of the archive |
|
status |
The status of the file. Possible values are: accessible, restore_in_progress, archived |
|
estimatedDeletionDate |
The date this file will be estimated deleted from the archive |
|
accessibleUntil |
The date this file is not available anymore |
Methods
public toArray()
Returns this model as an array.
Entity
Contains the information about one audit log entity
Namespace
Plenty\Modules\AuditLog\Models
Name | Type | Description |
---|---|---|
key |
The audit log entity |
|
requiredForCertificate |
Is the entity required for the IDW PS 880 certificate |
|
alwaysActive |
Is the entity always active and can not be deactivated |
|
free |
Is the entity free of charge |
Methods
public toArray()
Returns this model as an array.
EntityGroup
Contains the entities depending to a group
Namespace
Plenty\Modules\AuditLog\Models
Name | Type | Description |
---|---|---|
name |
The group name |
|
entities |
The entities depending to this group |
Methods
public toArray()
Returns this model as an array.
File
Contains informations about one file
Namespace
Plenty\Modules\AuditLog\Models
Name | Type | Description |
---|---|---|
file |
The file name of the file |
|
month |
The month of the file |
|
year |
The year of the file |
|
day |
The day of the file |
|
size |
The size of the file |
|
estimatedDeletionDate |
The date this file will be estimated deleted |
Methods
public toArray()
Returns this model as an array.