| java.lang.Object salomeTMF_plug.requirements.sqlWrapper.SQLRequirement
Method Summary | |
public int | add(String name, String description, int req_type, int id_parent, int id_project, int priority) | public int | addAttachFile(int idReq, SalomeFileWrapper f, String description) | public int | addAttachUrl(int idReq, String url, String description) | protected void | addHistory(int idReq, int idUser, int code, String valeur) | public void | addReqConvert(int idReq, int idTest) | public void | deleteAllAttach(int idReq) | protected void | deleteAllHistory(int idReq) | protected void | deleteAllReference(int idReq) | protected void | deleteAllReqActionCover(int idReq) | public void | deleteAllReqCover(int idReq) | public void | deleteAllTestCover(int idTest) | public void | deleteAttach(int idReq, int attachId) | protected void | deleteAttach(int idReq, int attachId, boolean history) | public void | deleteCover(int idReq, int idTest) | public void | deleteProjectReq(int idProject) | public void | deleteReq(int idReq) | public FileAttachementWrapper[] | getAllAttachFiles(int idReq) | public UrlAttachementWrapper[] | getAllAttachUrls(int idReq) | public AttachementWrapper[] | getAllAttachemnt(int idReq) | public ReqWrapper[] | getCoveredReq(int idProject) | protected Date | getCurrentDate() | public ReqWrapper[] | getFistChildInReqFamily(int idReq) | public HistoryWrapper[] | getHistory(int idReq) | public ReqWrapper[] | getProjectRequirementByType(int idProject, int type) | public ReqWrapper[] | getProjectRequirements(int idProject) | public ReqWrapper | getReq(String name, int id_parent, int id_project) | public ReqWrapper | getReqById(int idReq) | public ReqWrapper[] | getReqCoveredByResExecAndStatus(int idExec, String satus) | public ReqWrapper[] | getReqCoveredByTest(int idTest) | public ReqWrapper[] | getReqWrapperCoveredByCamp(int idCamp) | public TestWrapper[] | getTestCoveredForReq(int idReq) | public boolean | isReqReqCoveredByTest(int idReq, int idTest) | protected void | simpleDeleteReq(int idReq) | public void | updateCat(int idReq, int cat) | public void | updateComplexe(int idReq, int comp) | public void | updateDescription(int idReq, String newdescription) | public void | updateInfo(int idReq, String _version, String _origine, String _verif, String _reference) | public void | updateName(int idReq, String newName, int id_parent, int idProjet) | public void | updateOrigine(int idReq, String org) | public void | updateParent(int idReq, int idParent) | public void | updatePriority(int idReq, int priority) | public void | updateReference(int idReq, String reference) | public void | updateState(int idReq, int state) | public void | updateVerif(int idReq, String verif) | public void | updateVersion(int idReq, String version) |
idPersonne | int idPersonne(Code) | | |
add | public int add(String name, String description, int req_type, int id_parent, int id_project, int priority) throws Exception(Code) | | Insert a requirments in database
Parameters: name - Parameters: description - Parameters: req_type - : 1 for requirement or 0 for requirement set Parameters: id_parent - Parameters: id_project - the id of the requirment throws: Exception - |
addAttachFile | public int addAttachFile(int idReq, SalomeFileWrapper f, String description) throws Exception(Code) | | Attach a file attach to a test in table ATTACHEMENT and reference in table REQ_ATTACHEMENT
Parameters: idReq - : id of the requirement Parameters: f - : the file Parameters: description - of the file the id of the attachment in the table ATTACHEMENT throws: Exception - |
addAttachUrl | public int addAttachUrl(int idReq, String url, String description) throws Exception(Code) | | Attach a url to a test in table ATTACHEMENT and reference in table REQ_ATTACHEMENT
Parameters: idReq - : id of the requirement Parameters: url - Parameters: description - of the url the id of the attachment in the table ATTACHEMENT See Also: ISQLUrlAttachment.insert(String, String); throws: Exception - |
addHistory | protected void addHistory(int idReq, int idUser, int code, String valeur) throws Exception(Code) | | Add History when a requiremnt change (create, update, deleted)
Parameters: idReq - Parameters: idUser - Parameters: code - Parameters: valeur - |
addReqConvert | public void addReqConvert(int idReq, int idTest) throws Exception(Code) | | |
deleteAllAttach | public void deleteAllAttach(int idReq) throws Exception(Code) | | Delete all attachment in table (REQ_ATTACHEMENT and ATTACHEMENT) for the test
Parameters: idReq - : id of the requirement throws: Exception - See Also: deleteAttach(int, int) See Also: no permission needed |
deleteAllHistory | protected void deleteAllHistory(int idReq) throws Exception(Code) | | History ************************************************
|
deleteAllReference | protected void deleteAllReference(int idReq) throws Exception(Code) | | |
deleteAllReqActionCover | protected void deleteAllReqActionCover(int idReq) throws Exception(Code) | | |
deleteAllReqCover | public void deleteAllReqCover(int idReq) throws Exception(Code) | | |
deleteAllTestCover | public void deleteAllTestCover(int idTest) throws Exception(Code) | | |
deleteAttach | public void deleteAttach(int idReq, int attachId) throws Exception(Code) | | Delete attachement for the test and the attachement (tables REQ_ATTACHEMENT, ATTACHEMENT)
Parameters: idReq - : id of the requirement Parameters: attachId - : id of the attachment throws: Exception - See Also: ISQLAttachment.delete(int) See Also: no permission needed |
deleteAttach | protected void deleteAttach(int idReq, int attachId, boolean history) throws Exception(Code) | | |
deleteCover | public void deleteCover(int idReq, int idTest) throws Exception(Code) | | |
deleteProjectReq | public void deleteProjectReq(int idProject) throws Exception(Code) | | |
getAllAttachFiles | public FileAttachementWrapper[] getAllAttachFiles(int idReq) throws Exception(Code) | | Get a Vector of FileAttachementWrapper for the requirement identified by idreq
Parameters: idReq - : id of the requirement throws: Exception - |
getAllAttachUrls | public UrlAttachementWrapper[] getAllAttachUrls(int idReq) throws Exception(Code) | | Get a Vector of UrlAttachementWrapper for the requirement identified by idReq
Parameters: idReq - : id of the requirement throws: Exception - |
getAllAttachemnt | public AttachementWrapper[] getAllAttachemnt(int idReq) throws Exception(Code) | | Get a Vector of AttachementWrapper (FileAttachementWrapper, UrlAttachementWrapper)
for the requirement identified by idReq
Parameters: idReq - : id of the requirement throws: Exception - |
getCurrentDate | protected Date getCurrentDate()(Code) | | |
isReqReqCoveredByTest | public boolean isReqReqCoveredByTest(int idReq, int idTest) throws Exception(Code) | | |
simpleDeleteReq | protected void simpleDeleteReq(int idReq) throws Exception(Code) | | |
updateCat | public void updateCat(int idReq, int cat) throws Exception(Code) | | Parameters: idReq - Parameters: cat - 0 to 7 throws: Exception - |
updateComplexe | public void updateComplexe(int idReq, int comp) throws Exception(Code) | | |
updateName | public void updateName(int idReq, String newName, int id_parent, int idProjet) throws Exception(Code) | | |
updateParent | public void updateParent(int idReq, int idParent) throws Exception(Code) | | |
updatePriority | public void updatePriority(int idReq, int priority) throws Exception(Code) | | |
updateState | public void updateState(int idReq, int state) throws Exception(Code) | | |
|
|