jobmatch.presentation
Class AuthentificationPage
jobmatch.presentation.AuthentificationPage
- public abstract class AuthentificationPage
Provides Methods to legitimate an account
Method Summary |
protected void |
assertLegitimation(jobmatch.presentation.HttpPresentationComms comms,
int accountType)
|
protected Account |
getAccount(jobmatch.presentation.HttpPresentationComms comms)
Returns the current account |
protected CandidateAccount |
getCandidateAccount(jobmatch.presentation.HttpPresentationComms comms)
Return the current candidate account |
protected CompanyAccount |
getCompanyAccount(jobmatch.presentation.HttpPresentationComms comms)
Return the current company account |
protected ProviderAccount |
getProviderAccount(jobmatch.presentation.HttpPresentationComms comms)
Return the current provider account |
protected String |
getURL(jobmatch.presentation.HttpPresentationComms comms)
|
protected boolean |
isLegitimated(jobmatch.presentation.HttpPresentationComms comms,
int accountType)
Checks the type of the current account |
AuthentificationPage
public AuthentificationPage()
isLegitimated
protected boolean isLegitimated(jobmatch.presentation.HttpPresentationComms comms,
int accountType)
- Checks the type of the current account
assertLegitimation
protected void assertLegitimation(jobmatch.presentation.HttpPresentationComms comms,
int accountType)
getURL
protected String getURL(jobmatch.presentation.HttpPresentationComms comms)
throws Exception
getAccount
protected Account getAccount(jobmatch.presentation.HttpPresentationComms comms)
- Returns the current account
getCandidateAccount
protected CandidateAccount getCandidateAccount(jobmatch.presentation.HttpPresentationComms comms)
- Return the current candidate account
getCompanyAccount
protected CompanyAccount getCompanyAccount(jobmatch.presentation.HttpPresentationComms comms)
- Return the current company account
getProviderAccount
protected ProviderAccount getProviderAccount(jobmatch.presentation.HttpPresentationComms comms)
- Return the current provider account