C# Class Serenity.Services.MultipleImageUploadBehavior

Inheritance: Serenity.Services.BaseSaveDeleteBehavior, IImplicitBehavior, IFieldBehavior
Afficher le fichier Open project: volkanceylan/Serenity

Méthodes publiques

Méthode Description
ActivateFor ( Row row ) : bool
OnAfterDelete ( IDeleteRequestHandler handler ) : void
OnAfterSave ( ISaveRequestHandler handler ) : void
OnBeforeSave ( ISaveRequestHandler handler ) : void
OnPrepareQuery ( ISaveRequestHandler handler, SqlQuery query ) : void

Private Methods

Méthode Description
CopyTemporaryFiles ( ISaveRequestHandler handler, UploadedFile oldFileList, UploadedFile newFileList, FilesToDelete filesToDelete ) : string
DeleteOldFile ( FilesToDelete filesToDelete, string oldFilename ) : void
ParseAndValidate ( string json, string key ) : UploadedFile[]

Method Details

ActivateFor() public méthode

public ActivateFor ( Row row ) : bool
row Serenity.Data.Row
Résultat bool

OnAfterDelete() public méthode

public OnAfterDelete ( IDeleteRequestHandler handler ) : void
handler IDeleteRequestHandler
Résultat void

OnAfterSave() public méthode

public OnAfterSave ( ISaveRequestHandler handler ) : void
handler ISaveRequestHandler
Résultat void

OnBeforeSave() public méthode

public OnBeforeSave ( ISaveRequestHandler handler ) : void
handler ISaveRequestHandler
Résultat void

OnPrepareQuery() public méthode

public OnPrepareQuery ( ISaveRequestHandler handler, SqlQuery query ) : void
handler ISaveRequestHandler
query Serenity.Data.SqlQuery
Résultat void