C# Class FuddleImage, Fuddle

Exibir arquivo Open project: btevfik/Fuddle

Public Methods

Method Description
FuddleImage ( ) : System
addComment ( string comment, int image_id ) : int
deleteComment ( int id ) : bool
deleteImage ( int image_id ) : void
getComments ( int image_id ) : List
getDescription ( int image_id ) : string
getTitle ( int image_id ) : string
getTopImages ( ) : List
getUser ( int image_id ) : string
getWidth ( int id ) : int
updateDescription ( string newDesc, int image_id ) : void
updateTitle ( string newTitle, int image_id ) : void

Method Details

FuddleImage() public method

public FuddleImage ( ) : System
return System

addComment() public static method

public static addComment ( string comment, int image_id ) : int
comment string
image_id int
return int

deleteComment() public static method

public static deleteComment ( int id ) : bool
id int
return bool

deleteImage() public static method

public static deleteImage ( int image_id ) : void
image_id int
return void

getComments() public static method

public static getComments ( int image_id ) : List
image_id int
return List

getDescription() public static method

public static getDescription ( int image_id ) : string
image_id int
return string

getTitle() public static method

public static getTitle ( int image_id ) : string
image_id int
return string

getTopImages() public static method

public static getTopImages ( ) : List
return List

getUser() public static method

public static getUser ( int image_id ) : string
image_id int
return string

getWidth() public static method

public static getWidth ( int id ) : int
id int
return int

updateDescription() public static method

public static updateDescription ( string newDesc, int image_id ) : void
newDesc string
image_id int
return void

updateTitle() public static method

public static updateTitle ( string newTitle, int image_id ) : void
newTitle string
image_id int
return void