|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FaultService
Method Summary | |
---|---|
void |
addNewInstrumentToSystem(java.lang.String newInstrument)
|
void |
addNewRole(java.lang.String emailAddress,
java.lang.Integer Role)
|
void |
addNewSystemToSystem(java.lang.String newSystem)
|
void |
addNewUser(java.lang.String Name,
java.lang.String Surname,
java.lang.String EmailAddress)
|
AuthenticationDetails |
authenticateUser(java.lang.String UserIdentifier,
java.lang.String Password)
|
java.lang.String |
calculateTotalAmountOfTimeSpentOnFault(int FaultNumber)
|
void |
closeFault(int faultId)
|
java.lang.Integer |
createFault(Fault newFault)
|
java.lang.Boolean |
faultExists(int faultId,
boolean isEditable)
|
java.util.ArrayList |
getCommentDetails(java.lang.Integer DefectNumber)
Get all of the comments which are associated with the specified fault |
java.util.ArrayList |
getDutyTechnicians(boolean getOldStaff)
|
Fault |
getFaultDetails(java.lang.Integer defectNumber,
java.lang.String locale)
|
FaultUpdateSnapshot |
getFaultsUpdated(java.util.Date timeOfLastUpdateCheck,
java.lang.String locale)
Gets a list of all of the faults which have been updated since the last time that the client checked to see if the faults which it is displaying has been updated. |
java.util.ArrayList |
getFaultType()
Return the names of all of the FaultType to the caller which are recalled from the fault database table. |
FaultEntryDetails |
getFullFaultHistory(int defectNumber,
java.lang.String locale)
Deliver the full details of a fault back to the caller |
java.util.ArrayList |
getInstruments(boolean allInstruments)
Return the names of all of the instrument to the caller which are recalled from the fault database table. |
java.util.ArrayList |
getMembersOfStaffNotInGroup(java.lang.Integer GroupToExclude)
Get the list of people who are not in the group specified. |
java.util.ArrayList |
getPostscriptPrinters()
Return a list of all of the printers which are currently accesible by this machine |
java.util.ArrayList |
getQuickViewFaultData(int TimeWindow,
java.lang.String locale)
Get all faults which go back to a specific date which has been specified by the caller. |
java.util.ArrayList |
getSeverity()
Return the names of all of the severity to the caller which are recalled from the fault database table. |
java.util.ArrayList |
getSites()
|
Solution |
getSolutionDetails(java.lang.Integer DefectNumber)
|
java.util.ArrayList |
getStaffMembers(boolean getOldStaff)
Return the names of all of the staff members to the caller which are recalled from the fault database table. |
java.util.ArrayList |
getStates()
|
java.util.ArrayList |
getSubscribedFaults(AuthenticationDetails authenticationDetails,
java.lang.String locale)
This is used to get a list of the faults which the user specified is subscribed to |
java.util.ArrayList |
getSupportAstronomers(boolean getOldStaff)
|
java.util.ArrayList |
getSystems()
Return the names of all of the system to the caller which are recalled from the fault database table. |
java.util.ArrayList |
getTelescopeOperators(boolean getOldStaff)
|
Workaround |
getWorkaroundDetails(java.lang.Integer DefectNumber)
|
void |
informEmailListenersFaultHasChanged(java.lang.String ContextMessage,
int FaultNumber)
|
void |
linkFault(int parentFaultId,
int childFaultId)
|
java.util.ArrayList |
performAdvancedSearch(java.util.HashMap SearchParameters,
java.lang.String StartDate,
java.lang.String EndDate,
java.lang.String locale)
Perform an advanced search across the database using the search parameters which have been specified in the input array |
java.util.ArrayList |
performBasicSearch(int DefectNumber,
java.lang.String SearchTerms,
java.lang.String DefectToSearchFor,
java.lang.String StartDate,
java.lang.String EndDate,
java.lang.String locale)
Will be used to execute a basic search across the database using the input data which has been provided |
boolean |
printFault(int faultId,
java.lang.String printer,
boolean landscape)
|
void |
registerForFaultUpdates(java.lang.String emailAddress,
int faultId)
|
void |
resetPassword(java.lang.String emailAddress,
java.lang.String confirmedPassword)
|
void |
updateCommentDetails(Comment NewCommentDetails)
|
boolean |
updateFault(Fault updatedFault,
java.lang.String locale)
|
void |
updateFaultSubscriptionList(AuthenticationDetails authenticationDetails,
java.util.HashMap newSubscriptionStatuses)
|
void |
updateSolutionDetails(Solution NewSolutionDetails)
|
void |
updateWorkaroundDetails(Workaround NewWorkaroundDetails)
|
Method Detail |
---|
java.util.ArrayList getTelescopeOperators(boolean getOldStaff) throws UnableToGetListException
UnableToGetListException
java.util.ArrayList getDutyTechnicians(boolean getOldStaff) throws UnableToGetListException
UnableToGetListException
java.util.ArrayList getSupportAstronomers(boolean getOldStaff) throws UnableToGetListException
UnableToGetListException
java.util.ArrayList getSites() throws UnableToGetListException
UnableToGetListException
java.util.ArrayList getStates() throws UnableToGetListException
UnableToGetListException
java.util.ArrayList getInstruments(boolean allInstruments) throws UnableToGetListException
UnableToGetListException
java.util.ArrayList getSeverity() throws UnableToGetListException
UnableToGetListException
java.util.ArrayList getFaultType() throws UnableToGetListException
UnableToGetListException
java.util.ArrayList getSystems() throws UnableToGetListException
UnableToGetListException
java.util.ArrayList getStaffMembers(boolean getOldStaff) throws UnableToGetListException
UnableToGetListException
java.lang.Integer createFault(Fault newFault) throws UnableToCreateFaultException
UnableToCreateFaultException
java.util.ArrayList getQuickViewFaultData(int TimeWindow, java.lang.String locale)
TimeWindow
- The date which we are to search back to. If this is set
to null then we search for all outstanding faults.locale
- The locale in which we are to search in.
boolean updateFault(Fault updatedFault, java.lang.String locale) throws UnableToUpdateFaultException
UnableToUpdateFaultException
Fault getFaultDetails(java.lang.Integer defectNumber, java.lang.String locale)
Solution getSolutionDetails(java.lang.Integer DefectNumber)
java.lang.String calculateTotalAmountOfTimeSpentOnFault(int FaultNumber)
void updateSolutionDetails(Solution NewSolutionDetails)
Workaround getWorkaroundDetails(java.lang.Integer DefectNumber)
void updateWorkaroundDetails(Workaround NewWorkaroundDetails)
void updateCommentDetails(Comment NewCommentDetails)
java.util.ArrayList getCommentDetails(java.lang.Integer DefectNumber)
DefectNumber
- The defect number of the fault
AuthenticationDetails authenticateUser(java.lang.String UserIdentifier, java.lang.String Password) throws UserAuthenticationFailedException
UserAuthenticationFailedException
java.util.ArrayList getMembersOfStaffNotInGroup(java.lang.Integer GroupToExclude) throws UnableToGetListException
GroupToExclude
- The name of the group which contains the people that are to be excluded
UnableToGetListException
void addNewInstrumentToSystem(java.lang.String newInstrument) throws UnableToAddInstrumentException
UnableToAddInstrumentException
void addNewSystemToSystem(java.lang.String newSystem) throws UnableToAddSystemException
UnableToAddSystemException
void addNewRole(java.lang.String emailAddress, java.lang.Integer Role) throws UnableToAddNewRoleException
UnableToAddNewRoleException
void addNewUser(java.lang.String Name, java.lang.String Surname, java.lang.String EmailAddress) throws UnableToAddNewUserException
UnableToAddNewUserException
void resetPassword(java.lang.String emailAddress, java.lang.String confirmedPassword) throws UnableToChangePasswordException
UnableToChangePasswordException
void linkFault(int parentFaultId, int childFaultId) throws UnknownFaultSpecifiedException, java.lang.Exception
UnknownFaultSpecifiedException
java.lang.Exception
java.util.ArrayList performBasicSearch(int DefectNumber, java.lang.String SearchTerms, java.lang.String DefectToSearchFor, java.lang.String StartDate, java.lang.String EndDate, java.lang.String locale) throws UnableToPerformSearchException
DefectNumber
- This is the defect number for which we
should return the fault information.SearchTerms
- A list of search terms which will be used to
index the fault information.StartDate
- This is the start date from when to look
from. This could be left blank.EndDate
- This is the end date from when to stop looking
for faults.locale
- This is the locale which the user has selected
UnableToPerformSearchException
void registerForFaultUpdates(java.lang.String emailAddress, int faultId)
boolean printFault(int faultId, java.lang.String printer, boolean landscape) throws UnknownPrinterSpecifiedException
UnknownPrinterSpecifiedException
java.util.ArrayList performAdvancedSearch(java.util.HashMap SearchParameters, java.lang.String StartDate, java.lang.String EndDate, java.lang.String locale) throws UnableToPerformSearchException
UnableToPerformSearchException
java.util.ArrayList getPostscriptPrinters()
void closeFault(int faultId) throws UnableToCloseFaultException
UnableToCloseFaultException
FaultUpdateSnapshot getFaultsUpdated(java.util.Date timeOfLastUpdateCheck, java.lang.String locale)
java.lang.Boolean faultExists(int faultId, boolean isEditable)
FaultEntryDetails getFullFaultHistory(int defectNumber, java.lang.String locale)
java.util.ArrayList getSubscribedFaults(AuthenticationDetails authenticationDetails, java.lang.String locale)
authenticationDetails
- The details of the person that has logged into the system.
void updateFaultSubscriptionList(AuthenticationDetails authenticationDetails, java.util.HashMap newSubscriptionStatuses)
void informEmailListenersFaultHasChanged(java.lang.String ContextMessage, int FaultNumber)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |