|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MyFacadeLocal
Local interface for MyFacade.
| Method Summary | |
|---|---|
java.lang.Object[] |
aaQuery(java.util.Collection ebidList,
java.util.Collection pbidList,
java.util.Collection eidList)
run approximately amorphous graph query and visualize it |
org._3pq.jgrapht.DirectedGraph |
adjacentIbidList(java.lang.Integer ibid)
things are complicated if we support multiple catalysis for one enzymatic reaction. |
void |
approveCandidate(java.util.Vector blockidlist)
approve the candidate maybe we need lock the table to prevent any concurrent approve procedure??? |
void |
attachPathway(java.lang.Integer interactionID,
java.lang.Integer pathwayID)
attach the interaciton to the pathway |
void |
attachPathwayToClass(java.lang.Integer classId,
java.util.Collection pbidList)
add pathway to selected category |
void |
batchDelete(java.util.Vector vector)
batch delete |
void |
batchInsert(java.util.Vector vector)
batch insert |
void |
batchUpdate(java.util.Vector vector)
batch update |
java.util.Collection |
changeSoybeanOR()
change the duplicate soybean probes in the network to the OR relation except for those exising OR relation, use flattern OR relation. |
java.lang.Integer |
checkInteraction(java.util.Vector leftPart,
java.util.Vector rightPart)
check if there is an interaction contains the same topolgy structure or super structure covers the provided adjacent nodes. |
java.lang.Integer |
checkOrCreateLatestHistory(java.lang.Integer blockId,
java.lang.String username)
since things are complicated to create all initial history in advance, we move this step to the action on the normal blockunit operation |
void |
checkOrInsertAbbreviation(java.lang.Integer blockid,
java.lang.String abbreviation)
insert the abbreviation for the blockunit |
void |
checkOrInsertComment(java.lang.Integer blockid,
java.util.Vector commentList)
check or insert comment |
java.lang.Integer |
checkOrInsertEntity(java.lang.String name,
java.lang.String entityType,
java.lang.String organism,
java.lang.String source,
java.lang.String username)
check if the entity exists, if not, create a new one |
void |
checkOrInsertEntitySynonym(java.lang.Integer entityid,
java.util.Vector synonymList)
insert the synonym list for the entity |
void |
checkOrInsertEntitywithcontext(java.lang.Integer blockid,
java.lang.Integer entityid)
fix the entitywithcontext at background |
java.lang.Integer |
checkOrInsertPathway(java.util.Collection ibidList,
java.lang.String pathwayName,
java.lang.String username,
java.lang.String organism)
check or create a pathway based on the interaction list |
void |
checkOrInsertReference(java.lang.Integer blockid,
java.util.Vector refereceList)
check or insert reference |
void |
checkOrInsertSynonym(java.lang.Integer blockid,
java.util.Vector synonymList)
check or insert the synonym |
java.lang.Integer |
checkOrInsertTransInteraction(java.lang.Integer sourceBlockid,
java.lang.Integer targetBlockid,
java.lang.String interactionType,
java.lang.String name,
java.lang.String location,
java.lang.String organism,
java.lang.String username)
create an transport, translation or transcription interaction and return the blockid of the interaction. |
java.lang.Integer |
checkTransInteraction(java.lang.Integer sourceBlockid,
java.lang.Integer targetBlockid)
create an transport, translation or transcription interaction and return the blockid of the interaction. |
java.lang.Object[] |
constructAlignmentMode(AlignmentObject alignment)
(include all input graph element) we need construct the graph model for the alignment. |
MultiPathwayGraph |
constructMultiPathwayGraph(java.util.ArrayList pbidList)
construct the multi-pathway graph model for TWO pathways |
void |
copyCategory(java.lang.Integer newParentClassId,
java.lang.Integer oldParentClassId,
java.lang.Integer childClassId)
copy the category to the new position |
java.lang.Integer |
copyPathway(java.util.Collection pbidList,
java.lang.String name,
java.lang.String organism,
java.lang.String username,
java.lang.String source)
This funciton copy the pathway specified by the blockid to a new pathway belongs to the specified organism. |
void |
createAgrisNetwork()
create the AGRIS regulatory network pathways. |
void |
createAgrisPathway()
create the pathway for AGRIS data, must after the network is created and expanded |
java.lang.Integer |
createBasicPathway(Blockunit blockunit,
java.lang.String username)
create pathway without the structure |
void |
createCategory(java.lang.Integer classId,
java.lang.String name,
java.lang.String username)
create new category |
void |
createInitialHistory()
create initial history for all blockunits in the database |
void |
createSoybeanLocus()
create the soybean locus |
void |
createUser(User userObject)
create a new user and presume that the user does not exist |
void |
createUserRequest(java.lang.String username,
java.lang.String organism)
assign the species to the username, so this guy can only edit the data of the species. |
void |
deleteAbbreviation(java.lang.Integer blockid,
java.lang.String abbreviation)
delete the abbreviation for the blockunit and potential entity, if the abbreviation exists in the entity's table, move the abbreviation to all other blockunit' synonym table |
void |
deleteAbbreviationRule(java.lang.String shortterm,
java.lang.String longterm)
delete the abbreviation rule |
void |
deleteBlockunit(java.lang.Integer blockid,
java.lang.String username,
int callLevel)
delete a blockunit |
void |
deleteCategory(java.lang.Integer classId)
delete one category from the database |
void |
deleteComment(java.lang.Integer blockid,
CommentObject commentObject)
delete the comment from the blockunit |
void |
deleteReference(java.lang.Integer blockid,
ReferenceObject referenceObject)
delete the reference from the blockunit |
void |
deleteSynonym(java.lang.Integer blockid,
java.lang.String synonym)
delete the synonym for the blockunit and potential entity, if the synonym exists in the entity's table, move the synonym to all other blockunit' |
void |
detachPathway(java.lang.Integer ibid,
java.lang.Integer pbid,
java.lang.String username)
detach the interaction from the pathway |
void |
detachPathwayFromClass(java.lang.Integer classId,
java.util.Collection pbidList)
detach the pathway from the class |
java.util.Vector |
detectAbnormalEntitywithcontext()
detect abnormal record in the table entitywithcontext. |
java.util.Map |
detectDuplicationInteractions()
get the group of same structure interactions by encoding the structure and compute the digest |
java.util.Vector |
detectOrphanInteraction()
detect all orphan interaction in the database |
java.util.Vector |
detectOrphanInteraction2()
detect all orphan interaction in the database |
java.util.Vector |
detectWrongInteraction()
detect the wrong interaction which contains entitywithcontext |
java.lang.Object[] |
eaQuery(java.util.Collection ebidList,
java.util.Collection pbidList,
java.util.Collection eidList)
run exactly amorphous graph query and visualize it |
java.util.List |
esQuery(java.util.Collection pbidList,
org._3pq.jgrapht.DirectedGraph directedGraph)
query the input graph from the selected pathways |
java.util.List |
esQuery(org._3pq.jgrapht.DirectedGraph directedGraph)
esQuery. |
void |
extendLocusInPathway(java.lang.Integer pathwayid,
java.lang.String username)
extend all monomers in the pathway to the gene level, add translation and transcription if necessary |
java.util.Vector |
filterCatalysis(java.util.Vector vector)
given a set of interaction and remove all catalysis type interaction |
java.util.Vector |
findAmbiguousEntitywithlocation(java.lang.String name)
find the blockunit containing the name, the name may contain double comma or tab delimer |
java.util.Vector |
findAmbiguousEntitywithlocationIDList(java.lang.String name)
find the blockunit containing the name, the name may contain double comma or tab delimer |
Blockunit |
findAssociatedInteraction(java.lang.Integer leftid,
java.lang.Integer rightid)
find the associated interaction based on two nodes (do not consider catalysis and regulation |
AtGeneSearchLocusObject |
findAtGeneLocusObject(java.lang.String locusid)
extract locus only information |
java.util.ArrayList |
findAtGeneLocusObjectList(java.lang.String searchString)
extract the list of locus object |
java.util.ArrayList |
findAtGeneLocusObjectListByFulltext(java.lang.String searchString)
extract the list of locus object by fulltext search |
java.util.Map |
findBlockunitInstance(java.util.Collection blockIdList)
get the map id->blockunit |
Blockunit |
findBlockunitInstance(java.lang.Integer blockid)
get the instance and join if necessary |
java.util.Vector |
findBrendaName(java.lang.String ecid)
get the recommend name and synonym based on the ec number |
java.util.Vector |
findBrendaProduct(java.lang.String ecid)
get the product based on the ec number |
java.util.Vector |
findBrendaSubstrate(java.lang.String ecid)
get the substrate based on the ec number |
java.util.Vector |
findChebiCompoundsList()
get the chebi compounds list |
java.util.Vector |
findChebiNamesList()
get the chebi names list |
ChebiOntologyName |
findChebiOntologyName(java.lang.Integer chebiid)
find the chebi id of the specified name from the chebi ontology |
java.util.Vector |
findChebiOntologyName(java.lang.String name)
find the chebi id of the specified name from the chebi ontology |
java.util.Vector |
findCodelocationList()
get the codelocation object list |
java.util.Vector |
findConfidenceList()
get the confidence object list |
java.util.Vector |
findDatasourceList()
get the data source object list |
java.util.Vector |
findDownstreamEntitywithlocation(java.lang.Integer blockid)
find the substrates of the interaction |
java.util.Vector |
findDownstreamInteraction(Blockunit blockunit)
special finder for enzymatic reaction and similar ones |
java.util.Collection |
findEbidListX(java.lang.String nameS,
java.lang.String organism,
java.lang.String entityType,
java.lang.String location)
find the live entity based on the name |
java.util.Vector |
findEntity(java.lang.String name)
get all entity which contain "similar" name |
java.util.Vector |
findEntity(java.util.Vector nameList)
get all entity which contain "similar" name in the prodvided list |
Entity |
findEntityInstance(java.lang.Integer entityid)
get the instance and join if necessary |
java.util.Map |
findEntityInstance(java.util.Vector entityidvec)
get the map id->entity |
java.util.Vector |
findEntityTypeList()
get the entity type object list |
java.util.Vector |
findEntitywithlocation(boolean exactMatch,
java.lang.String name,
java.lang.String location,
java.lang.String entityType,
java.lang.String source)
find the entitywithlocation according to the 4 criteria |
java.util.Vector |
findEntitywithlocation(java.lang.String name)
get the entity with location contains the similar name |
java.util.Vector |
findEnzyme(java.lang.Integer blockid)
find enzyme of the enzymatic interaction |
java.util.Vector |
findExactBlockunit(java.lang.String name)
find the blockunit match the name exactly |
java.util.Vector |
findExactEntity(java.lang.String name)
find the entityt match the name exactly |
java.util.Vector |
findExactEntity(java.lang.String name,
java.lang.String entityType)
find the entity based on the name and type |
java.util.Vector |
findExactEntitywithlocation(java.lang.String name)
find the blockunit containing the name, the name may contain double comma or tab delimer |
java.util.Vector |
findExactEntitywithlocation(java.lang.String name,
java.lang.String entityType,
java.lang.String location)
get the blockunit which contain the similar name and same entitytype and location |
java.util.Vector |
findExactInteractionInformation(java.lang.String name)
search the interaction according to the entitywithlocation name |
java.util.Vector |
findGroupOfOwner(java.lang.String username)
find the group of the owner |
MyVersionGraph |
findHistoryAsGraph(java.lang.Integer blockId,
java.lang.String username)
find all blockunit as a version graph |
HistoryFlatInteraction |
findHistoryFlatInteraction(java.lang.Integer blockId,
java.lang.Integer recordId)
get the instance of the history flat interaction |
HistoryFlatLiveEntity |
findHistoryFlatLiveEntity(java.lang.Integer blockId,
java.lang.Integer recordId)
get the instance of the history flat live entity |
HistoryFlatPathway |
findHistoryFlatPathway(java.lang.Integer blockId,
java.lang.Integer recordId)
get the instance of the history flat pathway |
java.util.Collection |
findIbidListX(java.lang.String nameS,
java.lang.String organism,
java.lang.String interactionType,
java.lang.String location)
find the interaction list based on the substrate and product name |
java.util.Vector |
findInteractionIDByEntitywithlocationID(java.lang.Integer blockid)
find all associated interaction for the blockunit |
java.util.Vector |
findInteractionIDByName(java.lang.String name)
find all associated interaction for the name |
InteractionInformation |
findInteractionInformation(java.lang.Integer blockid)
find basic interaction informations |
java.util.Vector |
findInteractionInformation(java.lang.String name)
search the interaction according to the entitywithlocation name |
java.util.Vector |
findInteractionInformationByEntitywithlocationID(java.lang.Integer entitywithlocationid)
find all involved interaction except catalysis type |
java.util.Vector |
findInteractionTypeList()
get the interaction type object list |
java.util.Vector |
findInvolvedPathway(Blockunit blockunit)
find the involved pathway from the blockunit |
java.util.List |
findInvolvedPathways(java.util.Collection ebidList,
java.util.Collection pbidList)
collect all pathway objects related to the selected entitywithlocation |
org.apache.commons.collections.keyvalue.MultiKey |
findLatestControlLiveEntity(java.lang.Integer ibid,
java.lang.Integer irid)
find the latest control interaction |
java.util.Map |
findLatestInteractionPart(java.lang.Integer ibid,
java.lang.Integer irid)
find the latest record id list of the interaction part. |
java.util.Map |
findLatestPathwayPart(java.lang.Integer pbid,
java.lang.Integer prid)
find the latest record id list of the pathway part. |
java.util.Vector |
findLocationList()
get the location object list |
java.util.Collection |
findNormalInteractionStructure(java.util.Collection leftList,
java.util.Collection rightList)
an optimized version of checkInteraction, should not containing interaction in the parameters. |
java.util.Collection |
findNormalInteractionStructureX(java.util.Map leftX,
java.util.Map rightX)
an extension version of finding interaction structure. |
java.util.Vector |
findOrganismList()
get the organism object list |
void |
findOrInsertAbbreviationRule(java.lang.String shortterm,
java.lang.String longterm)
find or insert the abbreviation rule |
java.util.Collection |
findPbidList(java.lang.String searchString,
boolean includeEmpty)
get all pathway blockid in the database for displaying in pathway selector |
java.util.Collection |
findPbidListX(java.lang.String nameS,
java.lang.String organism)
find the pathway blockid based on the name, this can be pathway name or entity name |
java.util.Vector |
findPubchemEntityID(java.util.Vector names)
find the entity id list for the name |
java.util.Vector |
findPubchemID(java.util.Vector names)
find the sid list according to the search name |
java.util.Vector |
findPubchemSynonym(java.util.Vector names)
find the synonym for the given search name list |
java.util.Vector |
findReferenceTypeList()
get the reference type object list |
java.util.Vector |
findRuleList()
get the rule object list |
java.util.Vector |
findSimilarEntitywithlocationIDByName(java.lang.String name)
find the name which appear in name/synonym/abbreviation EXACTLY. |
java.util.Vector |
findStrictPubchemEntityID(java.util.Vector names)
find the entity id list for the name |
java.util.Vector |
findStrictPubchemID(java.util.Vector names)
find the sid list according to the search name |
java.util.Vector |
findStrictPubchemSynonym(java.util.Vector names)
find the synonym for the given search name list. |
java.util.List |
findTrivialMetabolite(java.lang.Integer degreeThreshold,
java.lang.Integer limit)
find the trivial metabolite that take part in one or more pathways |
java.util.Vector |
findUpstreamEntitywithlocation(java.lang.Integer blockid)
find the product of the interaction |
java.util.Vector |
findUpstreamInteraction(Blockunit blockunit)
special finder for enzymatic reaction and similar ones |
java.util.Vector |
findUser(User userObject)
search by example |
User |
findUserInstance(java.lang.String username)
find the User instance based on the username |
void |
formalizeComposition()
formalize the composition for those multi-enzyme reactions |
org.apache.commons.collections.keyvalue.MultiKey |
fullCheckOrInsertEntitywithlocation(java.lang.String name,
java.lang.String entityType,
java.lang.String location,
java.lang.String organism,
java.lang.String source,
java.lang.String username,
java.lang.String aracycId)
full insert blockunit and entity and entitywithcontext, since the data can be from expert data or aracyc, so source and username are parameters also |
void |
generateHistory(java.lang.Integer blockId)
generate the history and the version graph record. |
void |
generateHistory(java.lang.Integer blockId,
java.lang.Integer recordOldId,
java.lang.String username)
generate the history and the version graph record |
void |
generateSoybeanNetwork()
generate soybean network from arabidopsis network |
void |
generateSynonyms()
generate the synonyms |
java.util.Vector |
getA()
get the account name |
java.util.Vector |
getAbbreviationRules()
get the abbreviation rule as "object list", mainly for SQL->Java Object |
java.util.ArrayList |
getAllElementNodeBlockIDList(java.lang.Integer pbid)
get all member element node's blockid list for client to test the pathway membership |
java.util.ArrayList |
getAllPathwayObjectList2(java.lang.String searchString)
get all pathway objects in the database for displaying in pathway selector |
java.util.List |
getAllUserList()
get all users in the system |
java.lang.String |
getBiologicalType(java.lang.Integer blockId)
get thebiological type like entitywithcontext, interaction or pathway |
java.util.Map |
getCandidate()
|
java.util.Map |
getCandidate(int limit)
|
BidiMultiHashMap |
getChebiidName()
get the map of id and name |
ChebiObject |
getChebiObjectByBlockID(java.lang.Integer blockid)
get the chebi information based on the compound id. |
org._3pq.jgrapht.DirectedGraph |
getClassNet(boolean containPathway)
get current class network |
java.util.Vector |
getCodeconfidenceList()
get the codeconfidence |
java.util.Vector |
getCodedatasourceList()
get the codeconfidence |
java.util.Vector |
getCodeentitytypeList()
get the codeentitytype |
java.util.Vector |
getCodeinteractiontypeList()
get the codeinteractiontype |
java.util.Vector |
getCodelocationList()
get the codelocation |
java.util.Vector |
getCodeorganismList()
get the codeorganism |
java.util.Vector |
getCodereferencetypeList()
get the codereferencetype |
java.util.Vector |
getCoderuleList()
get the coderule |
java.util.List |
getCoderules()
get the coderule as "object list", mainly for SQL->Java Object |
org.apache.commons.collections.map.MultiKeyMap |
getCoefficientMap(java.util.ArrayList interactionIDList,
java.util.ArrayList intermediumIDList)
collect the coeffiecient given the interaction and entitywithlocation |
int |
getCounter()
a test of state in stateless session bean |
org.apache.commons.collections.map.MultiKeyMap |
getEntityIdListOfPathway()
collection version of getEntityIdListOfPathway() |
java.util.Collection |
getEntityIdListOfPathway(java.lang.Integer pbid)
get the entity id list of specified pathway |
java.lang.Integer |
getEntityIdOfUniqueId(Blockunit blockunit)
this function is used to test if the given AraCyc entry has a corresponding entity id in MetNetDB. |
java.util.Collection |
getEntityIdOfUniqueId(java.util.Collection blockunitList)
collection version of getEntityIdOfUniqueId(). |
java.util.List |
getGroupMemberList(java.lang.Integer groupid)
get the member of the specified group |
java.util.List |
getHistoryReport(java.util.Date fromDate,
java.util.Date toDate,
java.lang.Integer numLimit)
get the history report |
java.lang.String |
getInteractionChange(HistoryFlatInteraction history)
get the summary report about the change of version |
InteractionObject |
getInteractionObject(java.lang.Integer blockid)
get more interaction information |
java.util.Set |
getInvolvedPbidSet(java.lang.Integer ebid)
get the involved pathway list |
HistoryBlockunit |
getLatestHistory(java.lang.Integer blockId)
always get the latest history so we can determine if something is changed during the data load and update session. |
java.lang.String |
getLiveEntityChange(HistoryFlatLiveEntity history)
get the summary report about the change of version |
org.apache.commons.collections.map.MultiKeyMap |
getMetaboliteMap()
get the map from metabolite blockid to name |
java.util.Vector |
getP()
get the password |
java.lang.String |
getPathwayChange(HistoryFlatPathway history)
get the summary report about the change of version |
java.util.Set |
getPathwayComponentSet(java.util.Collection pbidList)
get all element in the selected pathways |
java.util.List |
getPathwayCoverList(java.util.Collection ibidList)
return the pathway that covers the selected interaction list |
org.apache.commons.collections.map.MultiKeyMap |
getPathwayElementMap()
get the full mapping between the pathways and their elements |
org.apache.commons.collections.map.MultiKeyMap |
getPathwayLocusMap()
get the full map to pathway, locus and affy probe sets |
org.apache.commons.collections.map.MultiKeyMap |
getPathwayMetaboliteMap()
get the map from pathway blockid to metabolite blockid |
java.util.List |
getPathwayObjectList(java.util.Collection pbidList,
boolean includeEmpty)
get the pathway object list |
java.util.List |
getPbidList()
get the pbid list |
java.util.Collection |
getPbidList4Class(java.lang.Integer classId)
get the collection of the pbid list for specified class id |
void |
insertBlockunitConfidence(int blockid,
int locationConfidence,
int functionConfidence)
insert new confidence |
boolean |
isOrphanInteraction(java.lang.Integer blockid)
detect if the blockunit is orphan |
boolean |
isVisibleBlockunit(Blockunit blockunit,
java.lang.String username)
determine the visibility of the blockunit based on the share capability |
boolean |
isVisibleBlockunit(java.lang.Integer blockid,
java.lang.String username)
determine the visibility of the blockunit based on the share capability |
java.util.Vector |
iterateCompositionInteraction(java.lang.Integer complexid)
iterate the searching of the many-to-one interactions, be careful about loops. |
void |
mergeBlockunit(Blockunit blockunitOld,
Blockunit blockunitNew,
boolean replace,
java.lang.String username)
merge the two blockunits in the database. |
void |
moreSoybeanAnnotation()
create more soybean annotation |
void |
moreSoybeanPathwayCategory()
fill the category for soybean pathway |
void |
moveCategory(java.lang.Integer newParentClassId,
java.lang.Integer oldParentClassId,
java.lang.Integer childClassId)
move the category to the new position |
java.lang.Integer |
moveInteractionHistory(Blockunit blockunit,
java.lang.String username)
move the current interaction to the history |
java.lang.Integer |
moveLiveEntityHistory(Blockunit blockunit)
move the current live entity to the history |
java.lang.Integer |
movePathwayHistory(Blockunit blockunit,
java.lang.String username)
move the current pathway to the history |
void |
notifyPathwayStructureChange(java.util.Collection pbidList,
java.lang.String username)
change the pathway structure history. |
java.util.Collection |
permitOrganismList(java.lang.String username)
get all organism that the user allowed to edit |
java.util.Collection |
pubchemCasFilter(java.util.Collection nameList)
filter out the cas number from synonyms |
java.util.Collection |
pubchemCid2Name(java.util.Collection cidList)
get the pubchem synonym from pubchem cid |
java.util.Collection |
pubchemName2Cid(java.util.Collection nameList)
this function search the table pubchem_cid_synonym to get the cid based on the name. |
java.lang.Integer |
realizePathwayHistory(java.lang.Integer pbid,
java.lang.Integer prid,
java.lang.String pathwayName,
java.lang.String username)
concrete one history of the pathway into the database so we can use it for comparison or other purposed like a normal pathway |
java.lang.Integer |
recognizeControlInteraction()
depends on the controlled interaction? |
java.lang.Integer |
recognizeNormalInteraction()
recognize the interaction and create it if necesaary. |
java.lang.Integer |
recognizeNormalLiveEntity(java.lang.String name,
java.lang.String entityType,
java.lang.String location,
java.lang.String organism,
java.lang.String source,
java.lang.String username,
java.lang.String aracycId)
recognize the live entity and create the live entity if necessary, since the data can be from expert data or aracyc, so source and username are parameters also. |
void |
remoteDelete(java.lang.Object object)
remote delete a database object |
java.io.Serializable |
remoteInsert(java.lang.Object object)
remote insert a database object |
void |
remoteInsert(java.lang.Object object,
java.io.Serializable serializable)
remote insert a database object |
java.lang.Object[] |
remoteLayout(java.lang.String bitstream)
run layout on the server |
java.util.Vector |
remoteSelect(java.lang.String hql)
let hibernate run at remote side |
void |
remoteUpdate(java.lang.Object object)
remote update a database object |
void |
remoteUpdate(java.lang.Object oldRecord,
java.lang.Object newRecord)
remote update a database object which has a natural key by itself |
void |
removeChebiLink(EntityOntology entityOntology)
remove the entityontology |
void |
removeGroup(java.lang.Integer groupid)
remove the selected group |
void |
renameCategory(java.lang.Integer classId,
java.lang.String name)
rename the category |
void |
saveGraph(java.lang.Integer pbid,
MetnetPathway metnetPathway,
org._3pq.jgrapht.DirectedGraph network,
java.util.Map dataMap,
org.apache.commons.collections.map.MultiKeyMap coeffMap,
java.lang.String sessionUsername,
java.lang.String sessionOrganism,
boolean isAracycUpdate)
save graph to the database. |
java.lang.Integer |
saveInteractionDeletionHistory(java.lang.Integer blockId,
java.lang.String username)
save the deletion history, who delete it and when it is deleted, we can use null name to determine this is a saved deletion history |
java.lang.Integer |
saveLiveEntityDeletionHistory(java.lang.Integer blockId,
java.lang.String username)
save the deletion history |
void |
saveNetwork4All()
save all compilation in the database. |
java.lang.Integer |
savePathwayDeletionHistory(java.lang.Integer blockId,
java.lang.String username)
move the current pathway to the history. |
java.util.List |
sortAlignmentList(java.util.Collection alignList)
sort the alignment list |
boolean |
testPathwayName(java.lang.String name,
java.lang.String organism)
test if the pathway name exists |
Blockunit |
undeleteBlockunit(java.lang.Integer blockId,
java.lang.String username)
undelete one history |
void |
updateAbbreviationrules(java.util.Vector rulevec)
update the rules changed by users |
void |
updateBlockunitConfidence(int blockid,
int locationConfidence,
int functionConfidence)
update existing confidence |
void |
updateMembers(java.lang.Integer groupid,
java.util.Vector memberList)
update the member list |
void |
updateUser(User userObject)
create a new user and presume that the user does not exist |
| Methods inherited from interface javax.ejb.EJBLocalObject |
|---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
| Method Detail |
|---|
void approveCandidate(java.util.Vector blockidlist)
throws javax.ejb.EJBException
blockidlist - the id list of the candidates
EJBException - Throw if the instance could not perform the function requested by the container because of an system-level error
void generateSynonyms()
throws javax.ejb.EJBException
EJBException - Throw if the instance could not perform the function requested by the container because of an system-level error
java.util.Vector getAbbreviationRules()
throws javax.ejb.EJBException
javax.ejb.EJBException
void updateAbbreviationrules(java.util.Vector rulevec)
throws javax.ejb.EJBException
javax.ejb.EJBException
java.util.List getCoderules()
throws javax.ejb.EJBException
javax.ejb.EJBException
java.util.List getAllUserList()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.List getGroupMemberList(java.lang.Integer groupid)
throws javax.ejb.EJBException
groupid -
EJBException - any remote call exception
java.util.Vector findEntitywithlocation(java.lang.String name)
throws javax.ejb.EJBException
name - the search string
EJBException - any remote call exception
java.util.Vector findAmbiguousEntitywithlocation(java.lang.String name)
throws javax.ejb.EJBException
name - the search string may containing double common or delimer
EJBException - any remote call exception
java.util.Vector findExactEntitywithlocation(java.lang.String name)
throws javax.ejb.EJBException
name - the search string may containing double common or delimer
EJBException - any remote call exception
java.util.Vector findAmbiguousEntitywithlocationIDList(java.lang.String name)
throws javax.ejb.EJBException
name - the search string may containing double common or delimer
EJBException - any remote call exception
java.util.Map findBlockunitInstance(java.util.Collection blockIdList)
throws javax.ejb.EJBException
blockIdList - the list of blockid
EJBException - any remote call exception
java.util.Map findEntityInstance(java.util.Vector entityidvec)
throws javax.ejb.EJBException
blockidvec - the list of entityid
EJBException - any remote call exception
java.util.Vector findBrendaProduct(java.lang.String ecid)
throws javax.ejb.EJBException
ecid - ec number
EJBException
java.util.Vector findBrendaSubstrate(java.lang.String ecid)
throws javax.ejb.EJBException
ecid - ec number
EJBException
java.util.Vector findBrendaName(java.lang.String ecid)
throws javax.ejb.EJBException
ecid - the ec number
EJBException - any remote call exception
Blockunit findBlockunitInstance(java.lang.Integer blockid)
throws javax.ejb.EJBException
blockid - the id of the blockunit
EJBException - any remote call exception
Entity findEntityInstance(java.lang.Integer entityid)
throws javax.ejb.EJBException
entityid - the id of the entity
EJBException - any remote call exception
java.util.Vector findUser(User userObject)
throws javax.ejb.EJBException
userObject -
EJBException - any remote call exception
User findUserInstance(java.lang.String username)
throws javax.ejb.EJBException
username - the account of the user
EJBException - any remote call exception
void createUser(User userObject)
throws javax.ejb.EJBException
userObject - new user
EJBException - any remote call exception
void updateUser(User userObject)
throws javax.ejb.EJBException
userObject - new user
EJBException - any remote call exception
java.util.Vector getCodelocationList()
throws javax.ejb.EJBException
any - remote call exception
javax.ejb.EJBException
java.util.Vector getCodeconfidenceList()
throws javax.ejb.EJBException
any - remote call exception
javax.ejb.EJBException
java.util.Vector getCodedatasourceList()
throws javax.ejb.EJBException
any - remote call exception
javax.ejb.EJBException
java.util.Vector getCodeentitytypeList()
throws javax.ejb.EJBException
any - remote call exception
javax.ejb.EJBException
java.util.Vector getCodeinteractiontypeList()
throws javax.ejb.EJBException
any - remote call exception
javax.ejb.EJBException
java.util.Vector getCodeorganismList()
throws javax.ejb.EJBException
any - remote call exception
javax.ejb.EJBException
java.util.Vector getCodereferencetypeList()
throws javax.ejb.EJBException
any - remote call exception
javax.ejb.EJBException
java.util.Vector getCoderuleList()
throws javax.ejb.EJBException
any - remote call exception
javax.ejb.EJBException
void mergeBlockunit(Blockunit blockunitOld,
Blockunit blockunitNew,
boolean replace,
java.lang.String username)
throws javax.ejb.EJBException
blockunitOld - the old blockunitblockunitNew - the new blockunitreplace - if true, all old blockunits in the database are replaced by the new blockunit. if false, old blockunit information are not deleted, only the interaction parts are replaced while the old information is merged to new blockunit information set
EJBException - any remote call exception
void deleteBlockunit(java.lang.Integer blockid,
java.lang.String username,
int callLevel)
throws javax.ejb.EJBException
blockid - the blockid of the blockunit
EJBException - any remote call exception
java.util.Vector findDownstreamInteraction(Blockunit blockunit)
throws javax.ejb.EJBException
blockunit - the catalysis interaction
EJBException - any remote call exception
java.util.Vector filterCatalysis(java.util.Vector vector)
throws javax.ejb.EJBException
vector - the list of the interactions
EJBException - any remote call exception
java.util.Vector findUpstreamInteraction(Blockunit blockunit)
throws javax.ejb.EJBException
blockunit - the enzymatic reactions
EJBException - any remote call exception
void attachPathway(java.lang.Integer interactionID,
java.lang.Integer pathwayID)
throws javax.ejb.EJBException
interactionID - the blokid of the interactionpathwayID - the blockid of the pathway
EJBException - any remote call exception
void detachPathway(java.lang.Integer ibid,
java.lang.Integer pbid,
java.lang.String username)
throws javax.ejb.EJBException
ibid - the blockid of the interactionpbid - the blockid of the pathway
EJBException - any remote call exception
java.io.Serializable remoteInsert(java.lang.Object object)
throws javax.ejb.EJBException
object - the DAO
EJBException - any remote call exception
void remoteInsert(java.lang.Object object,
java.io.Serializable serializable)
throws javax.ejb.EJBException
object - the DAOserializable - the id of the object
EJBException - any remote call exception
void batchInsert(java.util.Vector vector)
throws javax.ejb.EJBException
vector - the list of object
EJBException - any remote call exception
void remoteUpdate(java.lang.Object object)
throws javax.ejb.EJBException
object - the DAO
EJBException - any remote call exception
void remoteUpdate(java.lang.Object oldRecord,
java.lang.Object newRecord)
throws javax.ejb.EJBException
oldRecord - the old DAOnewRecord - the new DAO
EJBException - any remote call exception
void remoteDelete(java.lang.Object object)
throws javax.ejb.EJBException
object - the DAO
EJBException - any remote call exception
java.util.Vector remoteSelect(java.lang.String hql)
throws javax.ejb.EJBException
hql - the HQL to do the select
EJBException - any remote call exception
void batchDelete(java.util.Vector vector)
throws javax.ejb.EJBException
vector - list of the object
EJBException - any remote call exception
void batchUpdate(java.util.Vector vector)
throws javax.ejb.EJBException
vector - list of the object
EJBException - any remote call exception
java.util.Vector findConfidenceList()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector findChebiCompoundsList()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector findChebiNamesList()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector findSimilarEntitywithlocationIDByName(java.lang.String name)
throws javax.ejb.EJBException
name - the search name
EJBException - any remote call exception
java.util.Vector findDatasourceList()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector findOrganismList()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector findEntityTypeList()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector findInteractionTypeList()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector findLocationList()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector findCodelocationList()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector findReferenceTypeList()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector findRuleList()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector findExactBlockunit(java.lang.String name)
throws javax.ejb.EJBException
name - the name
EJBException - any remote cal exception
java.util.Vector findExactEntity(java.lang.String name)
throws javax.ejb.EJBException
name - the name
EJBException - any remote cal exception
java.util.Map getCandidate()
throws javax.ejb.EJBException
javax.ejb.EJBException
java.util.Map getCandidate(int limit)
throws javax.ejb.EJBException
javax.ejb.EJBException
java.util.Vector findExactEntity(java.lang.String name,
java.lang.String entityType)
throws javax.ejb.EJBException
name - the name of the entityentityType - the type of the entity
EJBException - any remote call exception
java.util.Vector findEnzyme(java.lang.Integer blockid)
throws javax.ejb.EJBException
blockid - the id of enzymatic interaction
EJBException - any remote call exception
java.util.Vector findEntity(java.lang.String name)
throws javax.ejb.EJBException
name - the search string
EJBException - any remote exception
java.util.Vector findEntity(java.util.Vector nameList)
throws javax.ejb.EJBException
nameList - the search string list
EJBException - any remote exception
java.util.Vector findExactEntitywithlocation(java.lang.String name,
java.lang.String entityType,
java.lang.String location)
throws javax.ejb.EJBException
name - entity nameentityType - entity typelocation - location of the entity
EJBException - any remote call exception
java.util.Vector findDownstreamEntitywithlocation(java.lang.Integer blockid)
throws javax.ejb.EJBException
blockid - the blockid of the interaction
EJBException - any remote call exception
java.util.Vector findUpstreamEntitywithlocation(java.lang.Integer blockid)
throws javax.ejb.EJBException
blockid - the blockid of the interaction
EJBException - any remote call exception
void checkOrInsertEntitywithcontext(java.lang.Integer blockid,
java.lang.Integer entityid)
throws javax.ejb.EJBException
blockid - the blockid of the blockunitentityid - the entityid of the entity
EJBException - any remote call exception
org.apache.commons.collections.keyvalue.MultiKey fullCheckOrInsertEntitywithlocation(java.lang.String name,
java.lang.String entityType,
java.lang.String location,
java.lang.String organism,
java.lang.String source,
java.lang.String username,
java.lang.String aracycId)
throws javax.ejb.EJBException
name - name of the entitywithlocationentityType - entity type of the entitywithlocationlocation - location of the entitywithlocationorganism - organism of the entitywithlocationsource - source of the datausername - username of the data source
EJBException - any remote call exception
void checkOrInsertSynonym(java.lang.Integer blockid,
java.util.Vector synonymList)
throws javax.ejb.EJBException
blockid - the id of the blockunitsynonymList - the synonym list
EJBException - any remote call exception
void checkOrInsertAbbreviation(java.lang.Integer blockid,
java.lang.String abbreviation)
throws javax.ejb.EJBException
blockid - the id of the blockunitsynonymList - the synonym list
EJBException - any remote call exception
void deleteSynonym(java.lang.Integer blockid,
java.lang.String synonym)
blockid - id of the blockunitsynonym - the synonym of the blockunit to be removed
void deleteAbbreviation(java.lang.Integer blockid,
java.lang.String abbreviation)
blockid - id of the blockunitabbreviation - the abbreviation of the blockunit
void checkOrInsertReference(java.lang.Integer blockid,
java.util.Vector refereceList)
throws javax.ejb.EJBException
blockid - blockid of the blockunitrefereceList - the list of reference object
EJBException - any remote call exception
void checkOrInsertComment(java.lang.Integer blockid,
java.util.Vector commentList)
throws javax.ejb.EJBException
blockid - id of the blockunitcommentList - the list of comment object
EJBException - any remote call exception
void deleteReference(java.lang.Integer blockid,
ReferenceObject referenceObject)
throws javax.ejb.EJBException
blockid - the id of the blockunitreferenceObject - the reference object
EJBException - any remote call exception
void deleteComment(java.lang.Integer blockid,
CommentObject commentObject)
throws javax.ejb.EJBException
blockid - the id of hte blockunitcommentObject - the comment object
EJBException - any remote call exeption
java.util.Vector detectWrongInteraction()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector findInteractionIDByEntitywithlocationID(java.lang.Integer blockid)
throws javax.ejb.EJBException
blockid - the id of the entitywithlocation
EJBException - any remote call exception
java.util.Vector findInteractionIDByName(java.lang.String name)
throws javax.ejb.EJBException
name - the search string
EJBException - any remote call exception
InteractionInformation findInteractionInformation(java.lang.Integer blockid)
throws javax.ejb.EJBException
blockid - the id of the interaction
EJBException - any remote call exception
java.util.Vector findInteractionInformation(java.lang.String name)
throws javax.ejb.EJBException
name - entitywithlocation name
EJBException - any remote call exception
java.util.Vector findExactInteractionInformation(java.lang.String name)
throws javax.ejb.EJBException
name - entitywithlocation name
EJBException - any remote call exception
java.util.Vector findInteractionInformationByEntitywithlocationID(java.lang.Integer entitywithlocationid)
throws javax.ejb.EJBException
blockid - the entitywithlocation's blockid
EJBException - any remote call exception
java.util.Vector iterateCompositionInteraction(java.lang.Integer complexid)
throws javax.ejb.EJBException
blockid - the start point of the whole arbitrary pathway
EJBException - any remote call exception
java.util.Vector findChebiOntologyName(java.lang.String name)
throws javax.ejb.EJBException
name - search name
EJBException - any remote call exception
java.util.ArrayList getAllPathwayObjectList2(java.lang.String searchString)
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.List getPathwayObjectList(java.util.Collection pbidList,
boolean includeEmpty)
throws javax.ejb.EJBException
pbidList - the pathway blockid listincludeEmpty - include emtpy structure?
EJBException - any remote call exception
java.util.List findInvolvedPathways(java.util.Collection ebidList,
java.util.Collection pbidList)
throws javax.ejb.EJBException
ebidList - the blockid list of the selected entitywithlocationpbidList - the blockid list of pathway NOT to be returned
EJBException - any remote call exception
ChebiOntologyName findChebiOntologyName(java.lang.Integer chebiid)
throws javax.ejb.EJBException
chebiid - the id of chebi
EJBException - any remote call exception
void checkOrInsertEntitySynonym(java.lang.Integer entityid,
java.util.Vector synonymList)
throws javax.ejb.EJBException
entityid - the id of the entitysynonymList - the synonym list
EJBException - any remote call exception
void removeChebiLink(EntityOntology entityOntology)
throws javax.ejb.EJBException
entityOntology - the entityonlogy not contain the serial id
EJBException - any remote call exception
BidiMultiHashMap getChebiidName()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector findPubchemID(java.util.Vector names)
throws javax.ejb.EJBException
names - the search name list
EJBException - any remote call exception
java.util.Vector findPubchemSynonym(java.util.Vector names)
throws javax.ejb.EJBException
names - the search name list
EJBException - any remote call exception
java.util.Vector findPubchemEntityID(java.util.Vector names)
throws javax.ejb.EJBException
names - the search name
EJBException
java.util.Vector findStrictPubchemEntityID(java.util.Vector names)
throws javax.ejb.EJBException
names - the search name
EJBException
java.util.Vector findStrictPubchemID(java.util.Vector names)
throws javax.ejb.EJBException
names - the search name list
EJBException - any remote call exception
java.util.Vector findStrictPubchemSynonym(java.util.Vector names)
throws javax.ejb.EJBException
names - the search name list
EJBException - any remote call exception
Blockunit findAssociatedInteraction(java.lang.Integer leftid,
java.lang.Integer rightid)
throws javax.ejb.EJBException
leftid - the blockid of the left noderightid - the blockid of the right node
EJBException - any remote call exception
java.util.Vector getA()
throws javax.ejb.EJBException
EJBException
java.util.Vector getP()
throws javax.ejb.EJBException
EJBException
java.util.Vector findGroupOfOwner(java.lang.String username)
throws javax.ejb.EJBException
username - the owner
EJBException - any remote call exception
void removeGroup(java.lang.Integer groupid)
throws javax.ejb.EJBException
groupid - the id of the group
EJBException - any remote call exception
void updateMembers(java.lang.Integer groupid,
java.util.Vector memberList)
throws javax.ejb.EJBException
groupid - the id of the groupmemberList - member list only contain the username key
EJBException - any remote call exception
boolean isVisibleBlockunit(java.lang.Integer blockid,
java.lang.String username)
throws javax.ejb.EJBException
blockid - the id of the blockunitusername - the id of the user
EJBException - any remote call exception
boolean isVisibleBlockunit(Blockunit blockunit,
java.lang.String username)
throws javax.ejb.EJBException
blockunit - the blockunitusername - the id of the user
EJBException - any remote call exception
java.util.Vector findEntitywithlocation(boolean exactMatch,
java.lang.String name,
java.lang.String location,
java.lang.String entityType,
java.lang.String source)
throws javax.ejb.EJBException
exactMatch - if search by exact matchname - search nmelocation - entity's locationentityType - entity typesource - data source
EJBException - any remote call exception
boolean isOrphanInteraction(java.lang.Integer blockid)
throws javax.ejb.EJBException
blockid - the id of the blockunit
EJBException - any remote call exception
java.util.Vector detectOrphanInteraction()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Vector detectOrphanInteraction2()
throws javax.ejb.EJBException
EJBException - any remote call exception
int getCounter()
throws javax.ejb.EJBException
javax.ejb.EJBException
java.util.Map detectDuplicationInteractions()
throws javax.ejb.EJBException
javax.ejb.EJBException
java.lang.Integer checkOrInsertEntity(java.lang.String name,
java.lang.String entityType,
java.lang.String organism,
java.lang.String source,
java.lang.String username)
throws javax.ejb.EJBException
name - entity nameentityType - entity type like gene, rna or polypeptideorganism - entity organism like human, mouse or arabidopsissource - source of the datausername - username of the data owner
EJBException - any remote call exception
java.util.Vector detectAbnormalEntitywithcontext()
throws javax.ejb.EJBException
EJBException
java.lang.Integer checkInteraction(java.util.Vector leftPart,
java.util.Vector rightPart)
throws javax.ejb.EJBException
leftPart - blockid of left part of the proposed interactionrightPart - blockid of right part of the proposed interaction
EJBException - any remote call exception
org.apache.commons.collections.map.MultiKeyMap getCoefficientMap(java.util.ArrayList interactionIDList,
java.util.ArrayList intermediumIDList)
throws javax.ejb.EJBException
interactionIDList - the blockid list of the interactionsintermediumIDList - the blockid list o f the entitywithlocations
EJBException - any remote call exception
void extendLocusInPathway(java.lang.Integer pathwayid,
java.lang.String username)
throws javax.ejb.EJBException
pathwayid - the blockid of pathwayusername - user name since new interaction may be created
EJBException - any remote call exception
void formalizeComposition()
throws javax.ejb.EJBException
EJBException - any remote call exception
AtGeneSearchLocusObject findAtGeneLocusObject(java.lang.String locusid)
throws javax.ejb.EJBException
locusid - the locus id from the input
EJBException - any remote call exception
java.util.Vector findInvolvedPathway(Blockunit blockunit)
throws javax.ejb.EJBException
blockunit - interaction or entityeithlocation
EJBException - any remote call exception
java.util.ArrayList findAtGeneLocusObjectList(java.lang.String searchString)
throws javax.ejb.EJBException
searchString - any input string separated by non-alphanum characters
EJBException - any remote exception
java.util.ArrayList findAtGeneLocusObjectListByFulltext(java.lang.String searchString)
throws javax.ejb.EJBException
searchString - any input string for fulltext search
EJBException - any remote exception
void deleteAbbreviationRule(java.lang.String shortterm,
java.lang.String longterm)
throws javax.ejb.EJBException
shortterm - short termlongterm - long term
EJBException - any remote call exception
void findOrInsertAbbreviationRule(java.lang.String shortterm,
java.lang.String longterm)
throws javax.ejb.EJBException
shortterm - short termlongterm - long term
EJBException - any remote call exception
void insertBlockunitConfidence(int blockid,
int locationConfidence,
int functionConfidence)
throws javax.ejb.EJBException
blockid - the blockid of the blockunitlocationConfidence - confidence of the locationfunctionConfidence - confidence of the function
EJBException - any remote call exception
void updateBlockunitConfidence(int blockid,
int locationConfidence,
int functionConfidence)
throws javax.ejb.EJBException
blockid - the blockid of the blockunitlocationConfidence - confidence of the locationfunctionConfidence - confidence of the function
EJBException - any remote call exception
ChebiObject getChebiObjectByBlockID(java.lang.Integer blockid)
throws javax.ejb.EJBException
chebiCompoundID - the chebi compound id
EJBException - any remote call exception
InteractionObject getInteractionObject(java.lang.Integer blockid)
throws javax.ejb.EJBException
blockid - the blockid of the interaction
EJBException - any remote call exception
java.util.ArrayList getAllElementNodeBlockIDList(java.lang.Integer pbid)
throws javax.ejb.EJBException
pbid - the blockid of the pathway
EJBException - any remote call exception
MultiPathwayGraph constructMultiPathwayGraph(java.util.ArrayList pbidList)
throws javax.ejb.EJBException
pbidList - the pathway id list, we only use the first two
EJBException - any remote exception
java.util.List findTrivialMetabolite(java.lang.Integer degreeThreshold,
java.lang.Integer limit)
throws javax.ejb.EJBException
degreeThreshold - the threshold of the degreelimit - the return list upper size
EJBException - any remote call exception
java.lang.Object[] remoteLayout(java.lang.String bitstream)
throws javax.ejb.EJBException
bitstream - the bitstream of GraphViz
EJBException - any remote call exception
java.lang.Object[] eaQuery(java.util.Collection ebidList,
java.util.Collection pbidList,
java.util.Collection eidList)
throws javax.ejb.EJBException
ebidList - the entity blockid listpbidList - the pathway blockid listeidList - the trivial node entity id list *
EJBException - any remote call exception
java.lang.Object[] aaQuery(java.util.Collection ebidList,
java.util.Collection pbidList,
java.util.Collection eidList)
throws javax.ejb.EJBException
ebidList - the entity blockid listpbidList - the pathway blockid listeidList - the trivial node entity id list
EJBException - any remote call exception
java.util.List esQuery(org._3pq.jgrapht.DirectedGraph directedGraph)
throws javax.ejb.EJBException
directedGraph - directed graph model, vertex is the blockid
EJBException - any remote call exception
java.util.List esQuery(java.util.Collection pbidList,
org._3pq.jgrapht.DirectedGraph directedGraph)
pbidList - the blockid list of selected pathwaysinputGraph - the input graph
java.util.List sortAlignmentList(java.util.Collection alignList)
alignList - the alignment list
java.lang.Integer moveLiveEntityHistory(Blockunit blockunit)
throws javax.ejb.EJBException
blockId - the block id of the live entity
EJBException - any remote exception
java.lang.Integer moveInteractionHistory(Blockunit blockunit,
java.lang.String username)
throws javax.ejb.EJBException
blockunit - the block id of the interactionusername - session username
EJBException - any remote exception
java.lang.Integer movePathwayHistory(Blockunit blockunit,
java.lang.String username)
throws javax.ejb.EJBException
blockId - the block id of the pathwayusername - session username
EJBException - any remote exception
MyVersionGraph findHistoryAsGraph(java.lang.Integer blockId,
java.lang.String username)
throws javax.ejb.EJBException
blockid - the blockid of the blockunit(s)username - session username
EJBException - any remote exception
void generateHistory(java.lang.Integer blockId,
java.lang.Integer recordOldId,
java.lang.String username)
throws javax.ejb.EJBException
blockId - the blockid which has just been updatedrecordNewId - new record idrecordOldId - old record idusername - session username
EJBException - any remote exception
void createInitialHistory()
throws javax.ejb.EJBException
username - session username
EJBException - any remote exception
java.lang.Integer checkOrCreateLatestHistory(java.lang.Integer blockId,
java.lang.String username)
throws javax.ejb.EJBException
blockId - the blockid of the blockunitusername - session username
EJBException - any remote call exception
void generateHistory(java.lang.Integer blockId)
throws javax.ejb.EJBException
blockId - the blockid which has just been updated
EJBException - any remote exception
java.util.Map findLatestPathwayPart(java.lang.Integer pbid,
java.lang.Integer prid)
throws javax.ejb.EJBException
pbid - the blockid of the interactionprid - the record id of the interaction
javax.ejb.EJBException
java.util.Map findLatestInteractionPart(java.lang.Integer ibid,
java.lang.Integer irid)
throws javax.ejb.EJBException
ibid - the blockid of the interactionirid - the record id of the interactionreturn - the mapping of ebid and erid of live entity
javax.ejb.EJBException
HistoryFlatInteraction findHistoryFlatInteraction(java.lang.Integer blockId,
java.lang.Integer recordId)
throws javax.ejb.EJBException
blockId - the blockid of the interactionrecordId - the record id of the interaction
javax.ejb.EJBException
HistoryFlatLiveEntity findHistoryFlatLiveEntity(java.lang.Integer blockId,
java.lang.Integer recordId)
throws javax.ejb.EJBException
blockId - the blockid of the live entityrecordId - the record id of the live entity
javax.ejb.EJBException
HistoryFlatPathway findHistoryFlatPathway(java.lang.Integer blockId,
java.lang.Integer recordId)
throws javax.ejb.EJBException
blockId - the blockid of the pathwayrecordId - the record id of the pathway
javax.ejb.EJBException
org.apache.commons.collections.keyvalue.MultiKey findLatestControlLiveEntity(java.lang.Integer ibid,
java.lang.Integer irid)
throws javax.ejb.EJBException
ibid - the blockid of the interactionirid - the recordid of the interaction
EJBException - any remote call exception
void notifyPathwayStructureChange(java.util.Collection pbidList,
java.lang.String username)
throws javax.ejb.EJBException
pbidList - the blockid list of the pathwayusername - session username
EJBException - any remote call exception
void createAgrisNetwork()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.lang.Integer checkOrInsertTransInteraction(java.lang.Integer sourceBlockid,
java.lang.Integer targetBlockid,
java.lang.String interactionType,
java.lang.String name,
java.lang.String location,
java.lang.String organism,
java.lang.String username)
throws javax.ejb.EJBException
sourceBlockid - the blockid of the blockunit in the source locationtargetBlockid - the blockid of the blockunit in the target locationinteractionType - the interaction type, only be trasnportation, transcription, or translationname - the name of the interaction, used for insertion onlylocation - the location of the interaction, used for insertion onlyorganism - the organism of the interaction, used for insertion onlyusername - user name since new interaction may be created
EJBException - any remote call exception
java.lang.Integer checkOrInsertPathway(java.util.Collection ibidList,
java.lang.String pathwayName,
java.lang.String username,
java.lang.String organism)
throws javax.ejb.EJBException
ibidList - the blockid list of interactionpathwayName - the name of the pathway if it needs creationusername - the user who input the pathway
EJBException - any remote call exception
void createAgrisPathway()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.lang.Integer saveInteractionDeletionHistory(java.lang.Integer blockId,
java.lang.String username)
throws javax.ejb.EJBException
blockId - the block id of the interactionusername - session username
EJBException - any remote exception
java.lang.Integer saveLiveEntityDeletionHistory(java.lang.Integer blockId,
java.lang.String username)
throws javax.ejb.EJBException
blockId - the block id of the live entity
EJBException - any remote exception
java.lang.Integer savePathwayDeletionHistory(java.lang.Integer blockId,
java.lang.String username)
throws javax.ejb.EJBException
blockunit - the blockunit instance of the pathwayusername - session username
EJBException - any remote exception
java.lang.String getLiveEntityChange(HistoryFlatLiveEntity history)
throws javax.ejb.EJBException
history - the current version
EJBException - any remote call exception
java.lang.String getInteractionChange(HistoryFlatInteraction history)
throws javax.ejb.EJBException
history - the current version
EJBException - any remote call exception
java.lang.String getPathwayChange(HistoryFlatPathway history)
throws javax.ejb.EJBException
history - the current version
EJBException - any remote call exception
java.util.List getHistoryReport(java.util.Date fromDate,
java.util.Date toDate,
java.lang.Integer numLimit)
throws javax.ejb.EJBException
fromDate - the start datetoDate - the end datenumLimit - the number up to what to be returned
EJBException - any remote call exception
Blockunit undeleteBlockunit(java.lang.Integer blockId,
java.lang.String username)
throws javax.ejb.EJBException
blockId - the block id of the blockunit to be undeleted
EJBException - any remote call exception
java.util.Set getInvolvedPbidSet(java.lang.Integer ebid)
throws javax.ejb.EJBException
ebid - the blockid of the live entity
EJBException - any remote call exception
boolean testPathwayName(java.lang.String name,
java.lang.String organism)
throws javax.ejb.EJBException
name - the name to be testorganism - the organism to be test
EJBException - any remote call exception
java.lang.Integer realizePathwayHistory(java.lang.Integer pbid,
java.lang.Integer prid,
java.lang.String pathwayName,
java.lang.String username)
throws javax.ejb.EJBException
pbid - the blockid of the pathwayprid - the record id of the historypathwayName - new pathway nameusername - session username
EJBException - any remote call exception
HistoryBlockunit getLatestHistory(java.lang.Integer blockId)
throws javax.ejb.EJBException
blockId - the blockid of the blockunit
EJBException - any remote call exception
java.lang.Object[] constructAlignmentMode(AlignmentObject alignment)
throws javax.ejb.EJBException
alignment - the alignment object
EJBException - any remote call exception
void saveNetwork4All()
throws javax.ejb.EJBException
EJBException - any remote call exceptionjava.util.List getPbidList()
org._3pq.jgrapht.DirectedGraph getClassNet(boolean containPathway)
throws javax.ejb.EJBException
containPathway - if contains pathway nodes
EJBException - any remote call exception
java.util.Collection getPbidList4Class(java.lang.Integer classId)
throws javax.ejb.EJBException
classId - the class id
EJBException - any remote call exception
void moveCategory(java.lang.Integer newParentClassId,
java.lang.Integer oldParentClassId,
java.lang.Integer childClassId)
throws javax.ejb.EJBException
newParentClassId - the new parent categoryoldParentClassId - the old parent categorychildClassId - the child category
EJBException - remote call exception
void copyCategory(java.lang.Integer newParentClassId,
java.lang.Integer oldParentClassId,
java.lang.Integer childClassId)
throws javax.ejb.EJBException
newParentClassId - the new parent categoryoldParentClassId - the old parent categorychildClassId - the child category
EJBException - any remote call exception
void renameCategory(java.lang.Integer classId,
java.lang.String name)
throws javax.ejb.EJBException
classId - the class id of the categoryname - the new name of the category
EJBException - any remote call exception
void detachPathwayFromClass(java.lang.Integer classId,
java.util.Collection pbidList)
throws javax.ejb.EJBException
classId - the class id of the classpbidList - the pathway blockid list
EJBException - any remote call exception
void deleteCategory(java.lang.Integer classId)
throws javax.ejb.EJBException
classId - the class id of the category
EJBException - any remote call exception
void createCategory(java.lang.Integer classId,
java.lang.String name,
java.lang.String username)
throws javax.ejb.EJBException
classId - the class id of current categoryname - the new category nameusername - the user who provides the data
EJBException - any remote call exception
void attachPathwayToClass(java.lang.Integer classId,
java.util.Collection pbidList)
throws javax.ejb.EJBException
classId - the class id of the selected categorypbidList - the pathway blockid list
EJBException - any remote call exception
void createUserRequest(java.lang.String username,
java.lang.String organism)
throws javax.ejb.EJBException
username - the account nameorganism - the organism
EJBException - any remote call exception
java.util.Collection findNormalInteractionStructure(java.util.Collection leftList,
java.util.Collection rightList)
throws javax.ejb.EJBException
leftList - the left substratesrightList - the right substratesconsiderInteraction - if consider the connected interaction or only compare the live entity structurevalidIbidSet - if consider the interaction, this contains all available interaction set
EJBException - any remote call exception
java.lang.Integer copyPathway(java.util.Collection pbidList,
java.lang.String name,
java.lang.String organism,
java.lang.String username,
java.lang.String source)
pbid - the blockid of the pathwayname - new pathway nameorganism - the new organism, normally should be different with the old organism of the pathwayusername - user namesource - data source
void createSoybeanLocus()
throws javax.ejb.EJBException
EJBException - any remote call exception
void generateSoybeanNetwork()
throws javax.ejb.EJBException
EJBException - any remote call exception
void moreSoybeanAnnotation()
throws javax.ejb.EJBException
EJBException - any remote call exception
void moreSoybeanPathwayCategory()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Collection permitOrganismList(java.lang.String username)
throws javax.ejb.EJBException
username -
EJBException - any remote call exception
java.lang.Integer createBasicPathway(Blockunit blockunit,
java.lang.String username)
throws javax.ejb.EJBException
blockunit - the blockunit informationusername - user name
EJBException - any remote call exception
java.util.Collection findPbidList(java.lang.String searchString,
boolean includeEmpty)
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.List getPathwayCoverList(java.util.Collection ibidList)
throws javax.ejb.EJBException
ibidList - the interaction list
EJBException - any remote call exception
java.util.Set getPathwayComponentSet(java.util.Collection pbidList)
throws javax.ejb.EJBException
pbidList - the pathway blockid list
EJBException - any remote call exception
java.util.Collection changeSoybeanOR()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.lang.Integer recognizeNormalLiveEntity(java.lang.String name,
java.lang.String entityType,
java.lang.String location,
java.lang.String organism,
java.lang.String source,
java.lang.String username,
java.lang.String aracycId)
throws javax.ejb.EJBException
name - name of the live entityentityType - entity type of the live entitylocation - location of the live entityorganism - organism of the live entitysource - source of the datausername - username of the data source
EJBException - any remote call exception
java.lang.Integer recognizeNormalInteraction()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.lang.Integer recognizeControlInteraction()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Collection findPbidListX(java.lang.String nameS,
java.lang.String organism)
throws javax.ejb.EJBException
nameS - the name, may containing AND and ORorganism - organism
EJBException - any remote call exception
java.util.Collection findEbidListX(java.lang.String nameS,
java.lang.String organism,
java.lang.String entityType,
java.lang.String location)
throws javax.ejb.EJBException
nameS - the name, may containing AND and ORorganism - organismentityType - entity typelocation - location
EJBException - any remote call exception
java.util.Collection findIbidListX(java.lang.String nameS,
java.lang.String organism,
java.lang.String interactionType,
java.lang.String location)
throws javax.ejb.EJBException
nameS - the name, may containing AND and ORorganism - organisminteractionType - interaction typelocation - location
EJBException - any remote call exception
java.lang.Integer checkTransInteraction(java.lang.Integer sourceBlockid,
java.lang.Integer targetBlockid)
sourceBlockid - the blockid of the blockunit in the source locationtargetBlockid - the blockid of the blockunit in the target location
org._3pq.jgrapht.DirectedGraph adjacentIbidList(java.lang.Integer ibid)
ibid - one interaction in an interaction cluster
void saveGraph(java.lang.Integer pbid,
MetnetPathway metnetPathway,
org._3pq.jgrapht.DirectedGraph network,
java.util.Map dataMap,
org.apache.commons.collections.map.MultiKeyMap coeffMap,
java.lang.String sessionUsername,
java.lang.String sessionOrganism,
boolean isAracycUpdate)
throws javax.ejb.EJBException
pbid - blockid of the pathway to be savedmetnetPathway - pathway informationnetwork - the networkdataMap - the data mapcoeffMap - the coefficient mapsessionUsername - session usernamesessionOrganism - session organism
EJBException - any remote call exception
java.util.Collection findNormalInteractionStructureX(java.util.Map leftX,
java.util.Map rightX)
throws javax.ejb.EJBException
leftX - the substrate list. It is a map of [ebid, coeff].rightX - the product list. It is a map of [ebid, coeff].
EJBException - any remote call exception
java.util.Collection pubchemCasFilter(java.util.Collection nameList)
throws javax.ejb.EJBException
nameList - the synonym list
EJBException - any remote call exception
java.util.Collection pubchemName2Cid(java.util.Collection nameList)
throws javax.ejb.EJBException
nameList - the compound name list
EJBException - any remote call exception
java.util.Collection pubchemCid2Name(java.util.Collection cidList)
throws javax.ejb.EJBException
cidList - cid list
EJBException - any remote call exception
java.lang.String getBiologicalType(java.lang.Integer blockId)
throws javax.ejb.EJBException
blockId - the blockid
EJBException - any remote call exception
org.apache.commons.collections.map.MultiKeyMap getPathwayElementMap()
throws javax.ejb.EJBException
EJBException - any remote call exception
org.apache.commons.collections.map.MultiKeyMap getPathwayLocusMap()
throws javax.ejb.EJBException
EJBException - any remote call exception
org.apache.commons.collections.map.MultiKeyMap getPathwayMetaboliteMap()
throws javax.ejb.EJBException
EJBException - any remote call exception
org.apache.commons.collections.map.MultiKeyMap getMetaboliteMap()
throws javax.ejb.EJBException
EJBException - any remote call exception
java.util.Collection getEntityIdListOfPathway(java.lang.Integer pbid)
throws javax.ejb.EJBException
pbid - the blockid of the pathway
EJBException - any remote call exception
java.util.Collection getEntityIdOfUniqueId(java.util.Collection blockunitList)
throws javax.ejb.EJBException
blockunitList - the blockunit list
EJBException - any remote call exception
java.lang.Integer getEntityIdOfUniqueId(Blockunit blockunit)
throws javax.ejb.EJBException
blockunit - AraCyc entry. This is not a concrete blockunit in database. Instead, it is a data holder for AraCyc entry.
EJBException - any remote call exception
org.apache.commons.collections.map.MultiKeyMap getEntityIdListOfPathway()
throws javax.ejb.EJBException
EJBException - any remote call exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||