Galactix Home | Main Page | Class Hierarchy | Data Structures | Function List
#include <tsssx.idl>
Inherits IDispatch.
Public Methods | |
HRESULT | ToString ([out, retval] BSTR *pVal) |
Get a String representation of this object. \e. More... | |
HRESULT | Pathname ([out, retval] BSTR *pVal) |
Get the opened project's filename. (property). More... | |
HRESULT | OrganizationName ([out, retval] BSTR *pVal) |
Get the organization's name. (property). More... | |
HRESULT | WebmasterEmail ([out, retval] BSTR *pVal) |
Get the WebmasterEmail property of the object as a String. More... | |
HRESULT | LastModified ([out, retval] DATE *pVal) |
Get the last modified date of this project. (property). More... | |
HRESULT | getObjectType ([in] long lID,[out, retval] int *iType) |
Lookup the type of object based on the ID. More... | |
HRESULT | getLeague ([in] long lLeagueID,[out, retval] ILeague **ppILeague) |
Get the ILeague with the specified ID. More... | |
HRESULT | getTeam ([in] long lTeamID,[out, retval] ITeam **ppITeam) |
Get the ITeam with the specified ID. More... | |
HRESULT | getVenue ([in] long lVenueID,[out, retval] IVenue **ppIVenue) |
Get the IVenue with the specified ID. More... | |
HRESULT | getOfficial ([in] long lOfficialID,[out, retval] IOfficial **ppIOfficial) |
Get the IOfficial with the specified ID. More... | |
HRESULT | getDivision ([in] long lDivisionID,[out, retval] IDivision **ppIDivision) |
Get the IDivision with the specified ID. More... | |
HRESULT | getMasterSchedule ([in] long lScheduleID,[out, retval] IMasterSchedule **ppIMasterSchedule) |
Get the IMasterSchedule with the specified ID. More... | |
HRESULT | getContact ([in] long lContactID,[out, retval] IContact **ppIContact) |
Get the IContact with the specified ID. More... | |
HRESULT | getSponsor ([in] long lSponsorID,[out, retval] ISponsor **ppISponsor) |
Get the ISponsor with the specified ID. More... | |
HRESULT | getGame ([in] long lGameID,[out, retval] IGame **ppIGame) |
Get the IGame with the specified ID. More... | |
HRESULT | getSeasonSchedule ([in] long lSeasonScheduleID,[out, retval] ISeasonSchedule **ppISeasonSchedule) |
Get the ISeasonSchedule with the specified ID. More... | |
HRESULT | getPracticeSchedule ([in] long lPracticeScheduleID,[out, retval] IPracticeSchedule **ppIPracticeSchedule) |
Get the IPracticeSchedule with the specified ID. More... | |
HRESULT | getTournamentSchedule ([in] long lTournamentScheduleID,[out, retval] ITournamentSchedule **ppITournamentSchedule) |
Get the ITournamentSchedule with the specified ID. More... | |
HRESULT | getNumOfLeagues ([out, retval] long *lNum) |
Get the number of ILeague's in the project. More... | |
HRESULT | getNumOfVenues ([out, retval] long *lNum) |
Get the number of IVenue's (fields) in the project. More... | |
HRESULT | getNumOfOfficials ([out, retval] long *lNum) |
Get the number of IOfficial's in the project. More... | |
HRESULT | getNumOfTeams ([out, retval] long *lNum) |
Get the number of ITeam's in the project. More... | |
HRESULT | getNumOfDivisions ([out, retval] long *lNum) |
Get the number of IDivision's in the project. More... | |
HRESULT | getNumOfContacts ([out, retval] long *lNum) |
Get the number of IContact's in the project. More... | |
HRESULT | getNumOfSponsors ([out, retval] long *lNum) |
Get the number of ISponsor's in the project. More... | |
HRESULT | getNumOfGames ([out, retval] long *lNum) |
Get the number of IGame's in the project. More... | |
HRESULT | getNumOfMasterSchedules ([out, retval] long *lNum) |
Get the number of IMasterSchedule's in the project. More... | |
HRESULT | getNumOfSeasonSchedules ([out, retval] long *lNum) |
Get the number of ISeasonSchedule's in the project. More... | |
HRESULT | getNumOfPracticeSchedules ([out, retval] long *lNum) |
Get the number of IPracticeSchedule's in the project. More... | |
HRESULT | getNumOfTournamentSchedules ([out, retval] long *lNum) |
Get the number of ITournamentSchedule's in the project. More... | |
HRESULT | getLeagues ([out, retval] ILeagueCollection **ppILeagueCollection) |
Get a collection of all the ILeague's in the project. More... | |
HRESULT | getVenues ([out, retval] IVenueCollection **ppICollection) |
Get a collection of all the IVenue's in the project. More... | |
HRESULT | getOfficials ([out, retval] IOfficialCollection **ppICollection) |
Get a collection of all the IOfficial's in the project. More... | |
HRESULT | getTeams ([out, retval] ITeamCollection **ppICollection) |
Get a collection of all the ITeam's in the project. More... | |
HRESULT | getDivisions ([out, retval] IDivisionCollection **ppICollection) |
Get a collection of all the IDivision's in the project. More... | |
HRESULT | getContacts ([out, retval] IContactCollection **ppICollection) |
Get a collection of all the IContact's in the project. More... | |
HRESULT | getSponsors ([out, retval] ISponsorCollection **ppICollection) |
Get a collection of all the ISponsor's in the project. More... | |
HRESULT | getGames ([out, retval] IGameCollection **ppICollection) |
Get a collection of all the IGame's in the project. More... | |
HRESULT | getMasterSchedules ([out, retval] IMasterScheduleCollection **ppICollection) |
Get a collection of all the IMasterSchedule's in the project. More... | |
HRESULT | getSeasonSchedules ([out, retval] ISeasonScheduleCollection **ppICollection) |
Get a collection of all the ISeaonsSchedule's in the project. More... | |
HRESULT | getPracticeSchedules ([out, retval] IPracticeScheduleCollection **ppICollection) |
Get a collection of all the IPracticeSchedule's in the project. More... | |
HRESULT | getTournamentSchedules ([out, retval] ITournamentScheduleCollection **ppICollection) |
Get a collection of all the ITournamentSchedule's in the project. More... | |
HRESULT | OrganizationURL ([out, retval] BSTR *pVal) |
Get the organization's web address. (property). More... | |
HRESULT | showImage ([in] long lObjID,[in] BSTR sTagOptions,[out, retval] BSTR *pstrTag) |
Get the HTML <img> tag for the item's Image if it exists. More... | |
HRESULT | showLogo ([in] long lObjID,[in] BSTR sTagOptions,[out, retval] BSTR *pstrTag) |
Get the HTML <img> tag for the item's Logo if it exists. More... | |
HRESULT | OrganizationLogo ([out, retval] BSTR *pVal) |
Get the HTML <img> tag for the Organization's Logo if it exists. More... | |
HRESULT | StyleSheet ([out, retval] BSTR *pVal) |
Gets the current cascading style sheet text. More... | |
HRESULT | StyleSheetLink ([out, retval] BSTR *pVal) |
Displays a link to the current stylesheet. More... |
The IProject object encapsulates all the data in the Scheduling Project. This is the primary object you interact with to get instances of the other objects in the project.
Example:
var ITSSS = new ActiveXObject("TSSSX.TSSS"); var IProject = ITSSS.openProject("c:\\TestProject.tss");
|
Get the last modified date of this project. (property). This is useful to display on a webpage or report. Example: var date = new Date(Project.LastModified); |
|
Get the HTML <img> tag for the Organization's Logo if it exists. If the organization has a logo specified, this will return the HTML <img> tag encoded with with the logo filename (the name after it has been copied to the website folder) and the specified options.
Response.Write(Project.OrganizationLogo); Result: <img src="orglogo.jpg"> |
|
Get the organization's name. (property). The project organization name can be set by choosing Options from the Tools menu on the Team Sports Scheduling System. Example: var sOrgName = Project.OrganizationName; |
|
Get the organization's web address. (property). The Organization URL can be set by choosing Options from the Tools menu on the Team Sports Scheduling System. Example: var sOrgURL = Project.OrganizationURL; var sLink = "<a href=\"" + sOrgURL + "\">" + sOrgURL + "</a>"; |
|
Get the opened project's filename. (property). The filename is the full path to the file on the local computer or the network. Example: var sProjectFilename = Project.Pathname; |
|
Gets the current cascading style sheet text. Gets the text specified in the current stylesheet.css file selected by the user. The user can change the style sheet by choosing Options from the Tools menu.
Response.Write(Project.StyleSheet); |
|
Displays a link to the current stylesheet. Gets a link which points to the currently selected cascading style sheet.
Response.Write(Project.StyleSheetLink); Result: <link rel="stylesheet" href="c:\some\folder\stylesheet.css" type="css\text"> |
|
Get a String representation of this object. \e. Example: var sImplicit = "The object '" + obj + "' ToString property was called implicitly."; var sDirect = "The object '" + obj.ToString + "' ToString property was called directly."; |
|
Get the WebmasterEmail property of the object as a String. The Webmaster email can be set by choosing Options from the Tools menu on the Team Sports Scheduling System. Example: var sEmail = Project.WebmasterEmail; var sLink = "<a href=\"mailto:" + sEmail + "\">" + sEmail + "</a>"; |
|
Get the IContact with the specified ID.
var Contact = Project.getContact(iNum); if (Contact != null) { // do something with the Contact }
|
|
Get a collection of all the IContact's in the project.
var obj; var eItems = new Enumerator(Project.getContacts()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the IDivision with the specified ID.
var Division = Project.getDivision(iNum); if (Division != null) { // do something with the Division }
|
|
Get a collection of all the IDivision's in the project.
var obj; var eItems = new Enumerator(Project.getDivisions()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the IGame with the specified ID.
var Game = Project.getGame(iNum); if (Game != null) { // do something with the Game }
|
|
Get a collection of all the IGame's in the project.
var obj; var eItems = new Enumerator(Project.getGames()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the ILeague with the specified ID.
var league = Project.getLeague(iNum); if (league != null) { // do something with the league }
|
|
Get a collection of all the ILeague's in the project.
var obj; var eItems = new Enumerator(Project.getLeagues()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the IMasterSchedule with the specified ID.
var schedule = Project.getMasterSchedule(iNum); if (schedule != null) { // do something with the schedule }
|
|
Get a collection of all the IMasterSchedule's in the project.
var obj; var eItems = new Enumerator(Project.getMasterSchedules()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the number of IContact's in the project.
var iNum = Project.getNumOfContacts(); |
|
Get the number of IDivision's in the project.
var iNum = Project.getNumOfDivisions(); |
|
Get the number of IGame's in the project.
var iNum = Project.getNumOfGames(); |
|
Get the number of ILeague's in the project.
var iNum = Project.getNumOfLeagues(); |
|
Get the number of IMasterSchedule's in the project.
var iNum = Project.getNumOfMasterSchedules(); |
|
Get the number of IOfficial's in the project.
var iNum = Project.getNumOfOfficials(); |
|
Get the number of IPracticeSchedule's in the project.
var iNum = Project.getNumOfPracticeSchedules(); |
|
Get the number of ISeasonSchedule's in the project.
var iNum = Project.getNumOfSeasonSchedules(); |
|
Get the number of ISponsor's in the project.
var iNum = Project.getNumOfSponsors(); |
|
Get the number of ITeam's in the project.
var iNum = Project.getNumOfTeams(); |
|
Get the number of ITournamentSchedule's in the project.
var iNum = Project.getNumOfTournamentSchedules(); |
|
Get the number of IVenue's (fields) in the project.
var iNum = Project.getNumOfVenues(); |
|
Lookup the type of object based on the ID. Encoded into an object's ID is the type of object it represents. This means you can figure out what type of object you are looking at by only knowing it's ID. The table below describes the correlation between the integer value returned and what type it represents.
var iType = Project.getObjectType(obj.ID); if (iType == 1) { // this is an ILeague object } |
|
Get the IOfficial with the specified ID.
var Official = Project.getOfficial(iNum); if (Official != null) { // do something with the Official }
|
|
Get a collection of all the IOfficial's in the project.
var obj; var eItems = new Enumerator(Project.getOfficials()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the IPracticeSchedule with the specified ID.
var PracticeSchedule = Project.getPracticeSchedule(iNum); if (PracticeSchedule != null) { // do something with the PracticeSchedule }
|
|
Get a collection of all the IPracticeSchedule's in the project.
var obj; var eItems = new Enumerator(Project.getPracticeSchedules()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the ISeasonSchedule with the specified ID. A ISeasonSchedule is a round-robin type schedule.
var SeasonSchedule = Project.getSeasonSchedule(iNum); if (SeasonSchedule != null) { // do something with the SeasonSchedule }
|
|
Get a collection of all the ISeaonsSchedule's in the project.
var obj; var eItems = new Enumerator(Project.getSeaonsSchedules()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the ISponsor with the specified ID.
var Sponsor = Project.getSponsor(iNum); if (Sponsor != null) { // do something with the Sponsor }
|
|
Get a collection of all the ISponsor's in the project.
var obj; var eItems = new Enumerator(Project.getSponsors()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the ITeam with the specified ID.
var team = Project.getTeam(iNum); if (team != null) { // do something with the team }
|
|
Get a collection of all the ITeam's in the project.
var obj; var eItems = new Enumerator(Project.getTeams()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the ITournamentSchedule with the specified ID.
var TournamentSchedule = Project.getTournamentSchedule(iNum); if (TournamentSchedule != null) { // do something with the TournamentSchedule }
|
|
Get a collection of all the ITournamentSchedule's in the project.
var obj; var eItems = new Enumerator(Project.getTournamentSchedules()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the IVenue with the specified ID.
var venue = Project.getVenue(iNum); if (venue != null) { // do something with the venue }
|
|
Get a collection of all the IVenue's in the project.
var obj; var eItems = new Enumerator(Project.getVenues()); for (; !eItems.atEnd(); eItems.moveNext()) { obj = eItems.item(); // do something with the obj }
|
|
Get the HTML <img> tag for the item's Image if it exists. If the specified object has an image specified, this will return the HTML <img> tag encoded with with the image filename (the name after it has been copied to the website folder) and the specified options.
Response.Write(Project.showImage(Team.ID,"class=teamimg id=img" + Team.ID); Result: <img src="30020img.jpg" class=teamimg id=img30020 > |
|
Get the HTML <img> tag for the item's Logo if it exists. If the specified object has a logo specified, this will return the HTML <img> tag encoded with with the logo filename (the name after it has been copied to the website folder) and the specified options.
Response.Write(Project.showLogo(Team.ID,"class=teamlogo id=logo" + Team.ID); Result: <img src="30020logo.jpg" class=teamlogo id=logo30020 > |
Galactix Home | Main Page | Class Hierarchy | Data Structures | Function List
Copyright © 1996-2007, Galactix Software. All rights reserved.
Questions? Comments? Send email to support@galactix.com