C# Class Upac.Trac.TicketManager

ファイルを表示 Open project: 1508/upac-for-umbraco Class Usage Examples

Public Methods

Method Description
Connect ( string url, string userName, string password ) : void
CreateTicket ( TicketInfo ticket ) : void
DeleteTicket ( TicketInfo ticket ) : void
DeleteTicket ( int ticketId ) : void
GetAvailableActions ( TicketInfo ticket ) : string[]
GetAvailableActions ( int id ) : string[]
GetRecentChanges ( System.DateTime since ) : int[]
UpdateTicket ( TicketInfo ticket, string comment ) : void

Private Methods

Method Description
ValidateTicket ( TicketInfo ticket ) : void

Method Details

Connect() public method

public Connect ( string url, string userName, string password ) : void
url string
userName string
password string
return void

CreateTicket() public method

public CreateTicket ( TicketInfo ticket ) : void
ticket TicketInfo
return void

DeleteTicket() public method

public DeleteTicket ( TicketInfo ticket ) : void
ticket TicketInfo
return void

DeleteTicket() public method

public DeleteTicket ( int ticketId ) : void
ticketId int
return void

GetAvailableActions() public method

public GetAvailableActions ( TicketInfo ticket ) : string[]
ticket TicketInfo
return string[]

GetAvailableActions() public method

public GetAvailableActions ( int id ) : string[]
id int
return string[]

GetRecentChanges() public method

public GetRecentChanges ( System.DateTime since ) : int[]
since System.DateTime
return int[]

UpdateTicket() public method

public UpdateTicket ( TicketInfo ticket, string comment ) : void
ticket TicketInfo
comment string
return void