C# Class Rock.Store.PackageService

Service class for the store package model.
Inheritance: StoreServiceBase
Afficher le fichier Open project: NewSpring/Rock Class Usage Examples

Méthodes publiques

Méthode Description
GetAllPackages ( int categoryId ) : IEnumerable

Gets all packages.

GetAllPackages ( int categoryId, string &errorResponse ) : IEnumerable

Gets all packages.

GetPackage ( int packageId ) : Package

Gets a package from the store.

GetPackage ( int packageId, string &errorResponse ) : Package

Gets the package.

GetPurchasedPackages ( ) : List

Gets a package from the store.

GetPurchasedPackages ( string &errorResponse ) : List

Gets the purchased packages.

PackageService ( ) : System

Initializes a new instance of the PackageService class.

Method Details

GetAllPackages() public méthode

Gets all packages.
public GetAllPackages ( int categoryId ) : IEnumerable
categoryId int The category identifier.
Résultat IEnumerable

GetAllPackages() public méthode

Gets all packages.
public GetAllPackages ( int categoryId, string &errorResponse ) : IEnumerable
categoryId int The category identifier.
errorResponse string The error response.
Résultat IEnumerable

GetPackage() public méthode

Gets a package from the store.
public GetPackage ( int packageId ) : Package
packageId int
Résultat Package

GetPackage() public méthode

Gets the package.
public GetPackage ( int packageId, string &errorResponse ) : Package
packageId int The package identifier.
errorResponse string The error response.
Résultat Package

GetPurchasedPackages() public méthode

Gets a package from the store.
public GetPurchasedPackages ( ) : List
Résultat List

GetPurchasedPackages() public méthode

Gets the purchased packages.
public GetPurchasedPackages ( string &errorResponse ) : List
errorResponse string The error response.
Résultat List

PackageService() public méthode

Initializes a new instance of the PackageService class.
public PackageService ( ) : System
Résultat System