class Projects::Model::Portal

Attributes

code[RW]
companyName[RW]
country[RW]
dateFormat[RW]
default[RW]
gmtTimeZone[RW]
id[RW]
idString[RW]
language[RW]
name[RW]
projectURL[RW]
role[RW]
timeZone[RW]
websiteURL[RW]

Public Instance Methods

getCode() click to toggle source
  • Get the language code.

Returns

  • Language code.

# File lib/projects/model/Portal.rb, line 231
def getCode
        return @code
end
getCompanyName() click to toggle source
  • Get the company name.

Returns

  • Company name.

# File lib/projects/model/Portal.rb, line 151
def getCompanyName
        return @companyName
end
getCountry() click to toggle source
  • Get the country.

Returns

  • Country name.

# File lib/projects/model/Portal.rb, line 271
def getCountry
        return @country
end
getDateFormat() click to toggle source
  • Get the date format.

Returns

  • Date format of the portal.

# File lib/projects/model/Portal.rb, line 211
def getDateFormat
        return @dateFormat
end
getGmtTimeZone() click to toggle source
  • Get the gmt time zone.

Returns

  • gmt time zone.

# File lib/projects/model/Portal.rb, line 111
def getGmtTimeZone
        return @gmtTimeZone
end
getId() click to toggle source
  • Get the portal id.

Returns

# File lib/projects/model/Portal.rb, line 28
def getId
        return @id
end
getIdString() click to toggle source
  • Get the portal id string.

Returns

  • Returns the portal id string.

# File lib/projects/model/Portal.rb, line 49
def getIdString

        return @idString

end
getLanguage() click to toggle source
  • Get the language.

Returns

  • Language of the portal.

# File lib/projects/model/Portal.rb, line 251
def getLanguage
        return @language
end
getName() click to toggle source
  • Get the portal name.

Returns

# File lib/projects/model/Portal.rb, line 71
def getName 
        return @name
end
getProjectURL() click to toggle source
  • Get the project URL.

Returns

# File lib/projects/model/Portal.rb, line 291
def getProjectURL
        return @projectUrl
end
getRole() click to toggle source
  • Get the role.

Returns

  • Role of the person.

# File lib/projects/model/Portal.rb, line 131
def getRole
        return @role
end
getTimeZone() click to toggle source
  • Get the time zone.

Returns

  • Time zone for the portal.

# File lib/projects/model/Portal.rb, line 191
def getTimeZone
        return @timeZone
end
getWebsiteURL() click to toggle source
  • Get the Website URL.

Returns

  • Website URL.

# File lib/projects/model/Portal.rb, line 171
def getWebsiteURL
        return @websiteUrl
end
isDefault() click to toggle source
  • Get whether portal is default portal or not.

Returns

  • true, if the portal is a default portal else false.

# File lib/projects/model/Portal.rb, line 91
def isDefault 
        return @isDefault
end
setCode(code) click to toggle source
  • Set the language code.

Parameters

  • code
    • Code of the language.

# File lib/projects/model/Portal.rb, line 221
def setCode(code)
        @code =code
end
setCompanyName(companyName) click to toggle source
  • Set the company name.

Parameters

  • companyName
    • Name of the company.

# File lib/projects/model/Portal.rb, line 141
def setCompanyName(companyName)
        @companyName = companyName
end
setCountry(country) click to toggle source
  • Set the country.

Parameters

  • country
    • Country for portal.

# File lib/projects/model/Portal.rb, line 261
def setCountry(country)
        @country = country
end
setDateFormat(dateFormat) click to toggle source
  • Set the date format.

Parameters

  • dateFormat
    • Date format for the portal.

# File lib/projects/model/Portal.rb, line 201
def setDateFormat(dateFormat)
        @dateFormat = dateFormat
end
setDefault(isDefault) click to toggle source
  • Set whether portal is default portal or not.

Parameters

  • isDefault
    • Is this postal default portal or not.

# File lib/projects/model/Portal.rb, line 81
def setDefault(isDefault)
        @isDefault = isDefault
end
setGmtTimeZone(gmtTimeZone) click to toggle source
  • Set the gmt time zone.

Parameters

  • gmtTimeZone
    • Gmt time zone for the portal.

# File lib/projects/model/Portal.rb, line 101
def setGmtTimeZone(gmtTimeZone)
        @gmtTimeZone = gmtTimeZone
end
setId(id) click to toggle source
  • Set the portal id.

Parameters

  • id
    • ID of the portal.

# File lib/projects/model/Portal.rb, line 18
def setId(id)
        @id = id
end
setIdString(idString) click to toggle source
  • Set the portal id string.

Parameters

# File lib/projects/model/Portal.rb, line 38
def setIdString(idString)
        @idString = idString
        
end
setLanguage(language) click to toggle source
  • Set the language.

Parameters

  • language
    • Language for the portal.

# File lib/projects/model/Portal.rb, line 241
def setLanguage(language)
        @language = language
end
setName(name) click to toggle source
  • Set the portal name.

Parameters

  • name
    • Name of the portal.

# File lib/projects/model/Portal.rb, line 61
def setName(name)
        @name = name
end
setProjectURL(projectUrl) click to toggle source
  • Set the project URL.

Parameters

  • projectUrl
    • URL for the project.

# File lib/projects/model/Portal.rb, line 281
def setProjectURL(projectUrl)
        @projectUrl = projectUrl
end
setRole(role) click to toggle source
  • Set the role.

Parameters

  • role
    • Role of the person.

# File lib/projects/model/Portal.rb, line 121
def setRole(role) 
        @role = role
end
setTimeZone(timeZone) click to toggle source
  • Set the time zone.

Parameters

  • timeZone
    • Time zone for the portal.

# File lib/projects/model/Portal.rb, line 181
def setTimeZone(timeZone)
        @timeZone = timeZone
end
setWebsiteURL(websiteUrl) click to toggle source
  • Set the WEBsite URL.

Parameters

  • websiteUrl
    • URL for the Website.

# File lib/projects/model/Portal.rb, line 161
def setWebsiteURL(websiteUrl)
        @websiteUrl = websiteUrl
end