forked from consultingwerk/CCS_Samples
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathIEuro2016ResultService.cls
52 lines (46 loc) · 2.17 KB
/
IEuro2016ResultService.cls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/**********************************************************************
* Copyright (C) 2006-2016 by Consultingwerk Ltd. ("CW") - *
* www.consultingwerk.de and other contributors as listed *
* below. All Rights Reserved. *
* *
* Software is distributed on an "AS IS", WITHOUT WARRANTY OF ANY *
* KIND, either express or implied. *
* *
* Contributors: *
* *
**********************************************************************/
/*------------------------------------------------------------------------
File : IEuro2016ResultService
Purpose : A sample domain specific application service
Syntax :
Description :
Author(s) : Mike Fechner / Consultingwerk Ltd.
Created : Tue Jun 21 16:28:57 CEST 2016
Notes :
----------------------------------------------------------------------*/
USING Ccs.Common.* FROM PROPATH.
USING Consultingwerk.CcsSamples.CustomService.* FROM PROPATH .
USING Progress.Lang.* FROM PROPATH .
INTERFACE Consultingwerk.CcsSamples.CustomService.IEuro2016ResultService
INHERITS IService:
/**
* Purpose: Returns the match results of the given date
* Notes:
* @param pdtDate The date to return results from
* @return The array of MatchResult's
*/
METHOD PUBLIC MatchResult EXTENT GetMatchResultsByDate (pdtDate AS DATE).
/**
* Purpose: Returns the match results of the given team
* Notes:
* @param poTeam The team to return results from
* @return The array of MatchResult's
*/
METHOD PUBLIC MatchResult EXTENT GetMatchResultsByTeam (poTeam AS TeamEnum).
/**
* Purpose: Returns the match results of today
* Notes:
* @return The array of MatchResult's
*/
METHOD PUBLIC MatchResult EXTENT GetTodaysMatchResults ().
END INTERFACE.