Class: Projects::Model::Portal
- Inherits:
-
Object
- Object
- Projects::Model::Portal
- Defined in:
- lib/projects/model/Portal.rb
Overview
-
This class is used to make an object for Portal.
Instance Method Summary collapse
-
#getCode ⇒ Object
-
Get the language code.
-
-
#getCompanyName ⇒ Object
-
Get the company name.
-
-
#getCountry ⇒ Object
-
Get the country.
-
-
#getDateFormat ⇒ Object
-
Get the date format.
-
-
#getGmtTimeZone ⇒ Object
-
Get the gmt time zone.
-
-
#getId ⇒ Object
-
Get the portal id.
-
-
#getIdString ⇒ Object
-
Get the portal id string.
-
-
#getLanguage ⇒ Object
-
Get the language.
-
-
#getName ⇒ Object
-
Get the portal name.
-
-
#getProjectURL ⇒ Object
-
Get the project URL.
-
-
#getRole ⇒ Object
-
Get the role.
-
-
#getTimeZone ⇒ Object
-
Get the time zone.
-
-
#getWebsiteURL ⇒ Object
-
Get the Website URL.
-
-
#isDefault ⇒ Object
-
Get whether portal is default portal or not.
-
-
#setCode(code) ⇒ Object
-
Set the language code.
-
-
#setCompanyName(companyName) ⇒ Object
-
Set the company name.
-
-
#setCountry(country) ⇒ Object
-
Set the country.
-
-
#setDateFormat(dateFormat) ⇒ Object
-
Set the date format.
-
-
#setDefault(isDefault) ⇒ Object
-
Set whether portal is default portal or not.
-
-
#setGmtTimeZone(gmtTimeZone) ⇒ Object
-
Set the gmt time zone.
-
-
#setId(id) ⇒ Object
-
Set the portal id.
-
-
#setIdString(idString) ⇒ Object
-
Set the portal id string.
-
-
#setLanguage(language) ⇒ Object
-
Set the language.
-
-
#setName(name) ⇒ Object
-
Set the portal name.
-
-
#setProjectURL(projectUrl) ⇒ Object
-
Set the project URL.
-
-
#setRole(role) ⇒ Object
-
Set the role.
-
-
#setTimeZone(timeZone) ⇒ Object
-
Set the time zone.
-
-
#setWebsiteURL(websiteUrl) ⇒ Object
-
Set the WEBsite URL.
-
Instance Method Details
#getCode ⇒ Object
-
Get the language code.
Returns
-
Language code.
231 232 233 |
# File 'lib/projects/model/Portal.rb', line 231 def getCode return @code end |
#getCompanyName ⇒ Object
-
Get the company name.
Returns
-
Company name.
151 152 153 |
# File 'lib/projects/model/Portal.rb', line 151 def getCompanyName return @companyName end |
#getCountry ⇒ Object
-
Get the country.
Returns
-
Country name.
271 272 273 |
# File 'lib/projects/model/Portal.rb', line 271 def getCountry return @country end |
#getDateFormat ⇒ Object
-
Get the date format.
Returns
-
Date format of the portal.
211 212 213 |
# File 'lib/projects/model/Portal.rb', line 211 def getDateFormat return @dateFormat end |
#getGmtTimeZone ⇒ Object
-
Get the gmt time zone.
Returns
-
gmt time zone.
111 112 113 |
# File 'lib/projects/model/Portal.rb', line 111 def getGmtTimeZone return @gmtTimeZone end |
#getId ⇒ Object
-
Get the portal id.
Returns
-
Portal id.
28 29 30 |
# File 'lib/projects/model/Portal.rb', line 28 def getId return @id end |
#getIdString ⇒ Object
-
Get the portal id string.
Returns
-
Returns the portal id string.
49 50 51 52 53 |
# File 'lib/projects/model/Portal.rb', line 49 def getIdString return @idString end |
#getLanguage ⇒ Object
-
Get the language.
Returns
-
Language of the portal.
251 252 253 |
# File 'lib/projects/model/Portal.rb', line 251 def getLanguage return @language end |
#getName ⇒ Object
-
Get the portal name.
Returns
-
Portal name.
71 72 73 |
# File 'lib/projects/model/Portal.rb', line 71 def getName return @name end |
#getProjectURL ⇒ Object
-
Get the project URL.
Returns
-
Project URL.
291 292 293 |
# File 'lib/projects/model/Portal.rb', line 291 def getProjectURL return @projectUrl end |
#getRole ⇒ Object
-
Get the role.
Returns
-
Role of the person.
131 132 133 |
# File 'lib/projects/model/Portal.rb', line 131 def getRole return @role end |
#getTimeZone ⇒ Object
-
Get the time zone.
Returns
-
Time zone for the portal.
191 192 193 |
# File 'lib/projects/model/Portal.rb', line 191 def getTimeZone return @timeZone end |
#getWebsiteURL ⇒ Object
-
Get the Website URL.
Returns
-
Website URL.
171 172 173 |
# File 'lib/projects/model/Portal.rb', line 171 def getWebsiteURL return @websiteUrl end |
#isDefault ⇒ Object
-
Get whether portal is default portal or not.
Returns
-
true, if the portal is a default portal else false.
91 92 93 |
# File 'lib/projects/model/Portal.rb', line 91 def isDefault return @isDefault end |
#setCode(code) ⇒ Object
-
Set the language code.
Parameters
- code
-
Code of the language.
-
221 222 223 |
# File 'lib/projects/model/Portal.rb', line 221 def setCode(code) @code =code end |
#setCompanyName(companyName) ⇒ Object
-
Set the company name.
Parameters
- companyName
-
Name of the company.
-
141 142 143 |
# File 'lib/projects/model/Portal.rb', line 141 def setCompanyName(companyName) @companyName = companyName end |
#setCountry(country) ⇒ Object
-
Set the country.
Parameters
- country
-
Country for portal.
-
261 262 263 |
# File 'lib/projects/model/Portal.rb', line 261 def setCountry(country) @country = country end |
#setDateFormat(dateFormat) ⇒ Object
-
Set the date format.
Parameters
- dateFormat
-
Date format for the portal.
-
201 202 203 |
# File 'lib/projects/model/Portal.rb', line 201 def setDateFormat(dateFormat) @dateFormat = dateFormat end |
#setDefault(isDefault) ⇒ Object
-
Set whether portal is default portal or not.
Parameters
- isDefault
-
Is this postal default portal or not.
-
81 82 83 |
# File 'lib/projects/model/Portal.rb', line 81 def setDefault(isDefault) @isDefault = isDefault end |
#setGmtTimeZone(gmtTimeZone) ⇒ Object
-
Set the gmt time zone.
Parameters
- gmtTimeZone
-
Gmt time zone for the portal.
-
101 102 103 |
# File 'lib/projects/model/Portal.rb', line 101 def setGmtTimeZone(gmtTimeZone) @gmtTimeZone = gmtTimeZone end |
#setId(id) ⇒ Object
-
Set the portal id.
Parameters
- id
-
ID of the portal.
-
18 19 20 |
# File 'lib/projects/model/Portal.rb', line 18 def setId(id) @id = id end |
#setIdString(idString) ⇒ Object
-
Set the portal id string.
Parameters
- idString
-
Portal id string.
-
38 39 40 41 |
# File 'lib/projects/model/Portal.rb', line 38 def setIdString(idString) @idString = idString end |
#setLanguage(language) ⇒ Object
-
Set the language.
Parameters
- language
-
Language for the portal.
-
241 242 243 |
# File 'lib/projects/model/Portal.rb', line 241 def setLanguage(language) @language = language end |
#setName(name) ⇒ Object
-
Set the portal name.
Parameters
- name
-
Name of the portal.
-
61 62 63 |
# File 'lib/projects/model/Portal.rb', line 61 def setName(name) @name = name end |
#setProjectURL(projectUrl) ⇒ Object
-
Set the project URL.
Parameters
- projectUrl
-
URL for the project.
-
281 282 283 |
# File 'lib/projects/model/Portal.rb', line 281 def setProjectURL(projectUrl) @projectUrl = projectUrl end |
#setRole(role) ⇒ Object
-
Set the role.
Parameters
- role
-
Role of the person.
-
121 122 123 |
# File 'lib/projects/model/Portal.rb', line 121 def setRole(role) @role = role end |
#setTimeZone(timeZone) ⇒ Object
-
Set the time zone.
Parameters
- timeZone
-
Time zone for the portal.
-
181 182 183 |
# File 'lib/projects/model/Portal.rb', line 181 def setTimeZone(timeZone) @timeZone = timeZone end |
#setWebsiteURL(websiteUrl) ⇒ Object
-
Set the WEBsite URL.
Parameters
- websiteUrl
-
URL for the Website.
-
161 162 163 |
# File 'lib/projects/model/Portal.rb', line 161 def setWebsiteURL(websiteUrl) @websiteUrl = websiteUrl end |