C# Class ApiCore.Photos.PhotosFactory

Inheritance: BaseFactory
Afficher le fichier Open project: nolka/vkdotnet Class Usage Examples

Méthodes publiques

Méthode Description
CreateAlbum ( string title, AlbumAccessPrivacy access, AlbumCommentPrivacy comment, string description ) : AlbumEntry
EditAlbum ( int albumId, string title, AlbumAccessPrivacy access, AlbumCommentPrivacy comment, string description ) : bool
EditPhoto ( int userId, int photoid, string text ) : bool
GetAlbums ( int userId, int albums ) : List
GetAll ( int userId, int count, int offset ) : List
GetPhotos ( int userId, int albumId, int photoIds, int count, int offset ) : List
GetPhotosById ( string photos ) : List
GetTags ( int photoId, int ownerId ) : List
GetUploadServer ( int albumId, int groupId, bool saveBig ) : PhotoUploadInfo
GetUserPhotos ( int userId, int count, int offset ) : List
MovePhoto ( int photoId, int toAlbumId, int ownerId ) : bool
PhotosFactory ( ApiManager manager ) : System

PutTag ( int ownerId, int photoId, int userId, float x, float y, float x2, float y2 ) : int
RemoveTag ( int ownerId, int photoId, int tagId ) : bool
ReorderAlbums ( int albumId, int before, int after, int ownerId ) : bool
ReorderPhotos ( int photoId, int before, int after, int ownerId ) : bool
UsePhotoAsCover ( int photoId, int albumId, int ownerId ) : bool

Private Methods

Méthode Description
buildAlbumEntry ( XmlNode node ) : AlbumEntry
buildAlbumsList ( XmlNode data ) : List
buildPhotoEntryFull ( XmlNode node ) : PhotoEntryFull
buildPhotoEntryShort ( XmlNode node ) : ApiCore.Photos.PhotoEntryShort
buildPhotoTagsList ( XmlNode result ) : List
buildPhotosListFull ( XmlNode data ) : List
buildPhotosListShort ( XmlNode data ) : List

Method Details

CreateAlbum() public méthode

public CreateAlbum ( string title, AlbumAccessPrivacy access, AlbumCommentPrivacy comment, string description ) : AlbumEntry
title string
access AlbumAccessPrivacy
comment AlbumCommentPrivacy
description string
Résultat AlbumEntry

EditAlbum() public méthode

public EditAlbum ( int albumId, string title, AlbumAccessPrivacy access, AlbumCommentPrivacy comment, string description ) : bool
albumId int
title string
access AlbumAccessPrivacy
comment AlbumCommentPrivacy
description string
Résultat bool

EditPhoto() public méthode

public EditPhoto ( int userId, int photoid, string text ) : bool
userId int
photoid int
text string
Résultat bool

GetAlbums() public méthode

public GetAlbums ( int userId, int albums ) : List
userId int
albums int
Résultat List

GetAll() public méthode

public GetAll ( int userId, int count, int offset ) : List
userId int
count int
offset int
Résultat List

GetPhotos() public méthode

public GetPhotos ( int userId, int albumId, int photoIds, int count, int offset ) : List
userId int
albumId int
photoIds int
count int
offset int
Résultat List

GetPhotosById() public méthode

public GetPhotosById ( string photos ) : List
photos string
Résultat List

GetTags() public méthode

public GetTags ( int photoId, int ownerId ) : List
photoId int
ownerId int
Résultat List

GetUploadServer() public méthode

public GetUploadServer ( int albumId, int groupId, bool saveBig ) : PhotoUploadInfo
albumId int
groupId int
saveBig bool
Résultat PhotoUploadInfo

GetUserPhotos() public méthode

public GetUserPhotos ( int userId, int count, int offset ) : List
userId int
count int
offset int
Résultat List

MovePhoto() public méthode

public MovePhoto ( int photoId, int toAlbumId, int ownerId ) : bool
photoId int
toAlbumId int
ownerId int
Résultat bool

PhotosFactory() public méthode

public PhotosFactory ( ApiManager manager ) : System
manager ApiManager
Résultat System

PutTag() public méthode

public PutTag ( int ownerId, int photoId, int userId, float x, float y, float x2, float y2 ) : int
ownerId int
photoId int
userId int
x float
y float
x2 float
y2 float
Résultat int

RemoveTag() public méthode

public RemoveTag ( int ownerId, int photoId, int tagId ) : bool
ownerId int
photoId int
tagId int
Résultat bool

ReorderAlbums() public méthode

public ReorderAlbums ( int albumId, int before, int after, int ownerId ) : bool
albumId int
before int
after int
ownerId int
Résultat bool

ReorderPhotos() public méthode

public ReorderPhotos ( int photoId, int before, int after, int ownerId ) : bool
photoId int
before int
after int
ownerId int
Résultat bool

UsePhotoAsCover() public méthode

public UsePhotoAsCover ( int photoId, int albumId, int ownerId ) : bool
photoId int
albumId int
ownerId int
Résultat bool