Package com.sgs.common.database
Class SystemStatics
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.SystemStatics
-
public class SystemStatics extends HibernateObject
This class is used to set static variables that the system can call upon at given times- Author:
- SGSystems
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
companyAddress
The address of the company running the SG Systemjava.lang.String
companyEmail
The email address of the company running the SG Systemjava.lang.String
companyFax
The fax number of the company running the SG Systemjava.lang.String
companyName
The name of the company running the SG Systemjava.lang.String
companyRef
The company reference of the company running the SG Systemjava.lang.String
companyRegistrationNumber
The registration number of the company running the SG Systemjava.lang.String
companyTel
The telephone number of the company running the SG Systemjava.lang.String
companyZip
The zip code of the company running the SG Systemjava.lang.Double
labourCost
Fixed Labour cost per hourjava.util.Date
lastInventoryReportExport
The time the last inventory report was exportedjava.lang.Integer
licenceExpiryWarningDays
int
mailAuth
Boolean, indicates weather auth is enabled for the mailing account, mail settings will overridejava.lang.String
mailBCCAddress
The BCC address to send notifications tojava.lang.String
mailFromAddress
The From Address Field for Emailing reports, mail settings will overridejava.lang.String
mailHostName
The hostname of the mail server, mail settings will overridejava.lang.String
mailPOBCC
The BCC address to send Purchase Order notifications tojava.lang.String
mailPOBody
The email body for any purchase order emails sentjava.lang.String
mailPOSubject
The subject line for any purchase order emails sentjava.lang.String
mailSMTPPort
The SMTP Port number for the mail account, mail settings will overridejava.lang.String
mailSMTPSSLTrust
The mail SMTP SSL Trust value if required, mail settings will overridejava.lang.String
mailSOBCC
The BCC address to send Sales Order notifications tojava.lang.String
mailSOBody
The email body for any sales order emails sentjava.lang.String
mailSOSubject
The subject line for any sales order emails sentint
mailStartTLS
Boolean, indicates whether StartTLS is passed for the mail provider, mail settings will overridejava.lang.String
mailToAddress
The address to send notification emailsjava.lang.String
mailUsername
The username of the account to send mails from, mail settings will overridejava.lang.Integer
nextHoldNo
The next hold number in sequenceint
nextLotSeq
The next global lot number should global lots be enabledjava.lang.Integer
nextWaveNumber
The next wave number in sequencejava.lang.Double
overheadCost
Fixed Overhead cost per hourjava.lang.String
reportingFootnote
The text that appears in the bottom left hand corner of every reportjava.lang.String
reportingHostname
The hostname of the reports serverjava.lang.String
reportingPassword
The password for the host which runs the reportsjava.lang.String
reportingUsername
The username to gain access to the reports serverjava.lang.String
sandboxProductKey
java.lang.Integer
scheduledFromPlanningId
java.lang.String
shippingTerms1
The first line for shipping terms of the company running the SG Systemjava.lang.String
shippingTerms2
The second line for shipping terms of the company running the SG Systemjava.lang.String
shippingTerms3
The third line for shipping terms of the company running the SG Systemjava.lang.Integer
updateLog
java.lang.String
vatRegistrationNumber
The vat number of the company running the SG System (UK applicable)-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description SystemStatics()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
generateNextGlobalLot()
static java.lang.Integer
generateNextPlanningId()
java.util.Date
getActivationDate()
java.lang.String
getActivationEngineer()
java.lang.String
getCompanyAddress()
java.lang.String
getCompanyEmail()
java.lang.String
getCompanyFax()
java.lang.String
getCompanyName()
java.lang.String
getCompanyRef()
java.lang.String
getCompanyRegistrationNumber()
java.lang.String
getCompanyTel()
java.lang.String
getCompanyZip()
java.lang.String
getContractExpiry()
java.lang.Double
getLabourCost()
java.util.Date
getLastInventoryReportExport()
java.lang.Integer
getLicenceExpiryWarningDays()
java.lang.String
getLicenceKey()
int
getMailAuth()
java.lang.String
getMailBCCAddress()
java.lang.String
getMailFromAddress()
java.lang.String
getMailHostName()
java.lang.String
getMailPassword()
java.lang.String
getMailPOBCC()
java.lang.String
getMailPOBody()
java.lang.String
getMailPOSubject()
java.lang.String
getMailSMTPPort()
java.lang.String
getMailSMTPSSLTrust()
java.lang.String
getMailSOBCC()
java.lang.String
getMailSOBody()
java.lang.String
getMailSOSubject()
int
getMailStartTLS()
java.lang.String
getMailToAddress()
java.lang.String
getMailUsername()
java.lang.String
getModules()
java.lang.Integer
getNextHoldNo()
int
getNextLotSeq()
java.lang.Integer
getNextWaveNumber()
java.lang.Double
getOverheadCost()
java.lang.String
getReportingFootnote()
java.lang.String
getReportingHostname()
java.lang.String
getReportingPassword()
java.lang.String
getReportingUsername()
java.lang.String
getSandboxProductKey()
java.lang.Integer
getScheduledFromPlanningId()
java.lang.String
getShippingTerms1()
java.lang.String
getShippingTerms2()
java.lang.String
getShippingTerms3()
java.lang.String
getTbalCode()
java.lang.Integer
getUpdateLog()
java.lang.String
getVatRegistrationNumber()
void
setActivationDate(java.util.Date activationDate)
void
setActivationEngineer(java.lang.String activationEngineer)
void
setCompanyAddress(java.lang.String companyAddress)
void
setCompanyEmail(java.lang.String companyEmail)
void
setCompanyFax(java.lang.String companyFax)
void
setCompanyName(java.lang.String companyName)
void
setCompanyRef(java.lang.String companyRef)
void
setCompanyRegistrationNumber(java.lang.String companyRegistrationNumber)
void
setCompanyTel(java.lang.String companyTel)
void
setCompanyZip(java.lang.String companyZip)
void
setContractExpiry(java.lang.String contractExpiry)
void
setLabourCost(java.lang.Double labourCost)
void
setLastInventoryReportExport(java.util.Date lastInventoryReportExport)
void
setLicenceExpiryWarningDays(java.lang.Integer licenceExpiryWarningDays)
void
setLicenceKey(java.lang.String licenceKey)
void
setMailAuth(int mailAuth)
void
setMailBCCAddress(java.lang.String mailBCCAddress)
void
setMailFromAddress(java.lang.String mailFromAddress)
void
setMailHostName(java.lang.String mailHostName)
void
setMailPassword(java.lang.String mailPassword)
void
setMailPOBCC(java.lang.String mailPOBCC)
void
setMailPOBody(java.lang.String mailPOBody)
void
setMailPOSubject(java.lang.String mailPOSubject)
void
setMailSMTPPort(java.lang.String mailSMTPPort)
void
setMailSMTPSSLTrust(java.lang.String mailSMTPSSLTrust)
void
setMailSOBCC(java.lang.String mailSOBCC)
void
setMailSOBody(java.lang.String mailSOBody)
void
setMailSOSubject(java.lang.String mailSOSubject)
void
setMailStartTLS(int mailStartTLS)
void
setMailToAddress(java.lang.String mailToAddress)
void
setMailUsername(java.lang.String mailUsername)
void
setModules(java.lang.String modules)
void
setNextHoldNo(java.lang.Integer nextHoldNo)
void
setNextLotSeq(int nextLotSeq)
void
setNextWaveNumber(java.lang.Integer nextWaveNumber)
void
setOverheadCost(java.lang.Double overheadCost)
void
setReportingFootnote(java.lang.String reportingFootnote)
void
setReportingHostname(java.lang.String reportingHostname)
void
setReportingPassword(java.lang.String reportingPassword)
void
setReportingUsername(java.lang.String reportingUsername)
void
setSandboxProductKey(java.lang.String sandboxProductKey)
void
setScheduledFromPlanningId(java.lang.Integer scheduledFromPlanningId)
void
setShippingTerms1(java.lang.String shippingTerms1)
void
setShippingTerms2(java.lang.String shippingTerms2)
void
setShippingTerms3(java.lang.String shippingTerms3)
void
setTbalCode(java.lang.String tbalCode)
void
setUpdateLog(java.lang.Integer updateLog)
void
setVatRegistrationNumber(java.lang.String vatRegistrationNumber)
-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
nextLotSeq
public int nextLotSeq
The next global lot number should global lots be enabled
-
companyRef
public java.lang.String companyRef
The company reference of the company running the SG System
-
overheadCost
public java.lang.Double overheadCost
Fixed Overhead cost per hour
-
labourCost
public java.lang.Double labourCost
Fixed Labour cost per hour
-
companyName
public java.lang.String companyName
The name of the company running the SG System
-
companyAddress
public java.lang.String companyAddress
The address of the company running the SG System
-
companyTel
public java.lang.String companyTel
The telephone number of the company running the SG System
-
companyFax
public java.lang.String companyFax
The fax number of the company running the SG System
-
companyZip
public java.lang.String companyZip
The zip code of the company running the SG System
-
lastInventoryReportExport
public java.util.Date lastInventoryReportExport
The time the last inventory report was exported
-
shippingTerms1
public java.lang.String shippingTerms1
The first line for shipping terms of the company running the SG System
-
shippingTerms2
public java.lang.String shippingTerms2
The second line for shipping terms of the company running the SG System
-
shippingTerms3
public java.lang.String shippingTerms3
The third line for shipping terms of the company running the SG System
-
reportingHostname
public java.lang.String reportingHostname
The hostname of the reports server
-
reportingUsername
public java.lang.String reportingUsername
The username to gain access to the reports server
-
reportingPassword
public java.lang.String reportingPassword
The password for the host which runs the reports
-
companyRegistrationNumber
public java.lang.String companyRegistrationNumber
The registration number of the company running the SG System
-
vatRegistrationNumber
public java.lang.String vatRegistrationNumber
The vat number of the company running the SG System (UK applicable)
-
nextHoldNo
public java.lang.Integer nextHoldNo
The next hold number in sequence
-
companyEmail
public java.lang.String companyEmail
The email address of the company running the SG System
-
nextWaveNumber
public java.lang.Integer nextWaveNumber
The next wave number in sequence
-
mailFromAddress
public java.lang.String mailFromAddress
The From Address Field for Emailing reports, mail settings will override
-
mailUsername
public java.lang.String mailUsername
The username of the account to send mails from, mail settings will override
-
mailHostName
public java.lang.String mailHostName
The hostname of the mail server, mail settings will override
-
mailSMTPPort
public java.lang.String mailSMTPPort
The SMTP Port number for the mail account, mail settings will override
-
mailStartTLS
public int mailStartTLS
Boolean, indicates whether StartTLS is passed for the mail provider, mail settings will override
-
mailAuth
public int mailAuth
Boolean, indicates weather auth is enabled for the mailing account, mail settings will override
-
mailSMTPSSLTrust
public java.lang.String mailSMTPSSLTrust
The mail SMTP SSL Trust value if required, mail settings will override
-
mailToAddress
public java.lang.String mailToAddress
The address to send notification emails
-
mailBCCAddress
public java.lang.String mailBCCAddress
The BCC address to send notifications to
-
mailPOSubject
public java.lang.String mailPOSubject
The subject line for any purchase order emails sent
-
mailPOBody
public java.lang.String mailPOBody
The email body for any purchase order emails sent
-
mailSOSubject
public java.lang.String mailSOSubject
The subject line for any sales order emails sent
-
mailSOBody
public java.lang.String mailSOBody
The email body for any sales order emails sent
-
reportingFootnote
public java.lang.String reportingFootnote
The text that appears in the bottom left hand corner of every report
-
updateLog
public java.lang.Integer updateLog
-
sandboxProductKey
public java.lang.String sandboxProductKey
-
mailPOBCC
public java.lang.String mailPOBCC
The BCC address to send Purchase Order notifications to
-
mailSOBCC
public java.lang.String mailSOBCC
The BCC address to send Sales Order notifications to
-
scheduledFromPlanningId
public java.lang.Integer scheduledFromPlanningId
-
licenceExpiryWarningDays
public java.lang.Integer licenceExpiryWarningDays
-
-
Method Detail
-
getReportingFootnote
public java.lang.String getReportingFootnote()
-
setReportingFootnote
public void setReportingFootnote(java.lang.String reportingFootnote)
-
getNextLotSeq
public int getNextLotSeq()
-
setNextLotSeq
public void setNextLotSeq(int nextLotSeq)
-
generateNextGlobalLot
public static java.lang.String generateNextGlobalLot()
-
getCompanyRef
public java.lang.String getCompanyRef()
-
setCompanyRef
public void setCompanyRef(java.lang.String companyRef)
-
getOverheadCost
public java.lang.Double getOverheadCost()
-
getLabourCost
public java.lang.Double getLabourCost()
-
setOverheadCost
public void setOverheadCost(java.lang.Double overheadCost)
-
setLabourCost
public void setLabourCost(java.lang.Double labourCost)
-
getCompanyName
public java.lang.String getCompanyName()
-
getCompanyAddress
public java.lang.String getCompanyAddress()
-
setCompanyName
public void setCompanyName(java.lang.String companyName)
-
setCompanyAddress
public void setCompanyAddress(java.lang.String companyAddress)
-
getCompanyTel
public java.lang.String getCompanyTel()
-
getCompanyFax
public java.lang.String getCompanyFax()
-
setCompanyTel
public void setCompanyTel(java.lang.String companyTel)
-
setCompanyFax
public void setCompanyFax(java.lang.String companyFax)
-
getCompanyZip
public java.lang.String getCompanyZip()
-
setCompanyZip
public void setCompanyZip(java.lang.String companyZip)
-
getLastInventoryReportExport
public java.util.Date getLastInventoryReportExport()
-
setLastInventoryReportExport
public void setLastInventoryReportExport(java.util.Date lastInventoryReportExport)
-
getShippingTerms1
public java.lang.String getShippingTerms1()
-
getShippingTerms2
public java.lang.String getShippingTerms2()
-
getShippingTerms3
public java.lang.String getShippingTerms3()
-
setShippingTerms1
public void setShippingTerms1(java.lang.String shippingTerms1)
-
setShippingTerms2
public void setShippingTerms2(java.lang.String shippingTerms2)
-
setShippingTerms3
public void setShippingTerms3(java.lang.String shippingTerms3)
-
getReportingUsername
public java.lang.String getReportingUsername()
-
setReportingUsername
public void setReportingUsername(java.lang.String reportingUsername)
-
getReportingPassword
public java.lang.String getReportingPassword()
-
setReportingPassword
public void setReportingPassword(java.lang.String reportingPassword)
-
getReportingHostname
public java.lang.String getReportingHostname()
-
setReportingHostname
public void setReportingHostname(java.lang.String reportingHostname)
-
getCompanyRegistrationNumber
public java.lang.String getCompanyRegistrationNumber()
-
setCompanyRegistrationNumber
public void setCompanyRegistrationNumber(java.lang.String companyRegistrationNumber)
-
getVatRegistrationNumber
public java.lang.String getVatRegistrationNumber()
-
setVatRegistrationNumber
public void setVatRegistrationNumber(java.lang.String vatRegistrationNumber)
-
getNextHoldNo
public java.lang.Integer getNextHoldNo()
-
setNextHoldNo
public void setNextHoldNo(java.lang.Integer nextHoldNo)
-
getCompanyEmail
public java.lang.String getCompanyEmail()
-
setCompanyEmail
public void setCompanyEmail(java.lang.String companyEmail)
-
getNextWaveNumber
public java.lang.Integer getNextWaveNumber()
-
setNextWaveNumber
public void setNextWaveNumber(java.lang.Integer nextWaveNumber)
-
getTbalCode
public java.lang.String getTbalCode()
-
setTbalCode
public void setTbalCode(java.lang.String tbalCode)
-
getLicenceKey
public java.lang.String getLicenceKey()
-
setLicenceKey
public void setLicenceKey(java.lang.String licenceKey)
-
getModules
public java.lang.String getModules()
-
setModules
public void setModules(java.lang.String modules)
-
getContractExpiry
public java.lang.String getContractExpiry()
-
setContractExpiry
public void setContractExpiry(java.lang.String contractExpiry)
-
getMailFromAddress
public java.lang.String getMailFromAddress()
-
setMailFromAddress
public void setMailFromAddress(java.lang.String mailFromAddress)
-
getMailUsername
public java.lang.String getMailUsername()
-
setMailUsername
public void setMailUsername(java.lang.String mailUsername)
-
getMailPassword
public java.lang.String getMailPassword()
-
setMailPassword
public void setMailPassword(java.lang.String mailPassword)
-
getMailHostName
public java.lang.String getMailHostName()
-
setMailHostName
public void setMailHostName(java.lang.String mailHostName)
-
getMailSMTPPort
public java.lang.String getMailSMTPPort()
-
setMailSMTPPort
public void setMailSMTPPort(java.lang.String mailSMTPPort)
-
getMailStartTLS
public int getMailStartTLS()
-
setMailStartTLS
public void setMailStartTLS(int mailStartTLS)
-
getMailAuth
public int getMailAuth()
-
setMailAuth
public void setMailAuth(int mailAuth)
-
getMailSMTPSSLTrust
public java.lang.String getMailSMTPSSLTrust()
-
setMailSMTPSSLTrust
public void setMailSMTPSSLTrust(java.lang.String mailSMTPSSLTrust)
-
getMailToAddress
public java.lang.String getMailToAddress()
-
setMailToAddress
public void setMailToAddress(java.lang.String mailToAddress)
-
getMailBCCAddress
public java.lang.String getMailBCCAddress()
-
setMailBCCAddress
public void setMailBCCAddress(java.lang.String mailBCCAddress)
-
getMailPOSubject
public java.lang.String getMailPOSubject()
-
setMailPOSubject
public void setMailPOSubject(java.lang.String mailPOSubject)
-
getMailPOBody
public java.lang.String getMailPOBody()
-
setMailPOBody
public void setMailPOBody(java.lang.String mailPOBody)
-
getMailSOSubject
public java.lang.String getMailSOSubject()
-
setMailSOSubject
public void setMailSOSubject(java.lang.String mailSOSubject)
-
getMailSOBody
public java.lang.String getMailSOBody()
-
setMailSOBody
public void setMailSOBody(java.lang.String mailSOBody)
-
getActivationEngineer
public java.lang.String getActivationEngineer()
-
setActivationEngineer
public void setActivationEngineer(java.lang.String activationEngineer)
-
getActivationDate
public java.util.Date getActivationDate()
-
setActivationDate
public void setActivationDate(java.util.Date activationDate)
-
getUpdateLog
public java.lang.Integer getUpdateLog()
-
setUpdateLog
public void setUpdateLog(java.lang.Integer updateLog)
-
getSandboxProductKey
public java.lang.String getSandboxProductKey()
-
setSandboxProductKey
public void setSandboxProductKey(java.lang.String sandboxProductKey)
-
getMailPOBCC
public java.lang.String getMailPOBCC()
-
setMailPOBCC
public void setMailPOBCC(java.lang.String mailPOBCC)
-
getMailSOBCC
public java.lang.String getMailSOBCC()
-
setMailSOBCC
public void setMailSOBCC(java.lang.String mailSOBCC)
-
getScheduledFromPlanningId
public java.lang.Integer getScheduledFromPlanningId()
-
setScheduledFromPlanningId
public void setScheduledFromPlanningId(java.lang.Integer scheduledFromPlanningId)
-
generateNextPlanningId
public static java.lang.Integer generateNextPlanningId()
-
getLicenceExpiryWarningDays
public java.lang.Integer getLicenceExpiryWarningDays()
-
setLicenceExpiryWarningDays
public void setLicenceExpiryWarningDays(java.lang.Integer licenceExpiryWarningDays)
-
-