C# Class BlogEngine.Core.Json.JsonTrashList

List of deleted objects
Show file Open project: rasmuskl/ReSharperCourse

Public Methods

Method Description
GetPager ( int page ) : string
GetTrash ( TrashType trashType, int page ) : List

Paged list of deleted objects

IsTrashEmpty ( ) : bool

If trash is empty.

Process ( string action, string vals ) : BlogEngine.Core.Json.JsonResponse

Processes recycle bin actions

Private Methods

Method Description
Purge ( string trashType, System.Guid id ) : void
PurgeAll ( ) : void
Restore ( string trashType, System.Guid id ) : void

Method Details

GetPager() public static method

public static GetPager ( int page ) : string
page int
return string

GetTrash() public static method

Paged list of deleted objects
public static GetTrash ( TrashType trashType, int page ) : List
trashType TrashType Type of delted object
page int Page number
return List

IsTrashEmpty() public static method

If trash is empty.
public static IsTrashEmpty ( ) : bool
return bool

Process() public static method

Processes recycle bin actions
public static Process ( string action, string vals ) : BlogEngine.Core.Json.JsonResponse
action string Action
vals string Values
return BlogEngine.Core.Json.JsonResponse