|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.dtsrpc.client.DTSRPCClient
DTSRPC Client Class
| Field Summary | |
static java.lang.String |
CONCEPT_STATUS
a static string "Concept_Status" |
static java.lang.String |
EDIT_ACTION_CREATE_STR
Constant string for Create action |
static java.lang.String |
EDIT_ACTION_MERGE_STR
Constant string for Merge action |
static java.lang.String |
EDIT_ACTION_MODIFY_STR
Constant string for Modify action |
static java.lang.String |
EDIT_ACTION_RETIRE_STR
Constant string for Retire action |
static java.lang.String |
EDIT_ACTION_SPLIT_STR
Constant string for Split action |
static java.lang.String |
NAMESPACE_TYPE_CONNECTION
Constant string for NAMESPACE_TYPE_CONNECTION |
static java.lang.String |
NAMESPACE_TYPE_ONTYLOG
Constant string for NAMESPACE_TYPE_ONTYLOG |
static java.lang.String |
NAMESPACE_TYPE_THESAURUS
Constant string for NAMESPACE_TYPE_THESAURUS |
static java.util.Date |
NO_HISTORY_DATE
A constant date (January 1, 1970) |
static int |
PING_DTS_COMMUNICATION_DOWN
Ping server failure mode 3 -- DTS communication is down. |
static int |
PING_DTS_DATABASE_DOWN
Ping server failure mode 2 -- DTS database server is down. |
static int |
PING_DTS_SERVER_DOWN
Ping server failure mode 1 -- DTS server is down. |
static int |
PING_RPC_FAILURE
Ping server failure mode 4 -- XML-RPC exception. |
static int |
PING_SUCCESS
A constant, 0, indicating that no failure mode is encountered. |
boolean |
useTitleCase
a boolean variable true, if apply title case conversion; false, otherwise |
| Constructor Summary | |
DTSRPCClient()
a constructor for creating an instance of DTSRPCClient. |
|
DTSRPCClient(java.lang.String ip,
java.lang.String port)
a constructor for creating an instance of DTSRPCClient. |
|
| Method Summary | |
java.lang.Boolean |
containsInverseRole(java.lang.String role_name,
java.lang.String role_value,
java.lang.String ontylogconcept_in)
Checks if a ontylog concept in a namespace has a specific inverse role and if so whether the role has a specific value |
java.lang.Boolean |
containsInverseRole(java.lang.String role_name,
java.lang.String role_value,
java.lang.String ontylogconcept_in,
int namespaceId)
Checks if a ontylog concept in a namespace has a specific inverse role and if so whether the role has a specific value |
java.lang.Boolean |
containsRole(java.lang.String role_name,
java.lang.String role_value,
java.lang.String ontylogconcept_in)
Checks if a ontylog concept in a namespace has a specific role and if so whether the role has a specific value |
java.lang.Boolean |
containsRole(java.lang.String role_name,
java.lang.String role_value,
java.lang.String ontylogconcept_in,
int namespaceId)
Checks if a ontylog concept in a namespace has a specific role and if so whether the role has a specific value |
java.util.Vector |
fetchDTSProperties(java.lang.String term_in)
Fetchs the properties of a givn concept belonging to a given namespace |
java.util.Vector |
fetchDTSProperties(java.lang.String term_in,
int namespaceId)
Fetchs the properties of a givn concept belonging to a given namespace |
java.util.Vector |
fetchTermAssociations(java.lang.String term_in)
Fetchs term association data corresponding to a concept belonging to a given namespace . |
java.util.Vector |
fetchTermAssociations(java.lang.String term_in,
int namespaceId)
Fetchs term association data corresponding to a concept belonging to a given namespace . |
Concept |
findConcept(java.lang.String conceptname)
Retrieves the Concept corresponding to a specific Concept name in the default namespace with all fetched attributes |
Concept |
findConcept(java.lang.String conceptname,
boolean allAttributes)
Retrieves the Concept corresponding to a specific Concept name in the default namespace with all fetched attributes |
Concept |
findConcept(java.lang.String conceptname,
int namespaceId)
Retrieves the Concept corresponding to a specific Concept name in a specific namespace with all fetched attributes |
Concept |
findConcept(java.lang.String conceptname,
int ASD_index,
int namespaceId)
Retrieves the Concept corresponding to a specific Concept name in a specific namespace |
Concept |
findConceptByCode(java.lang.String conceptcode)
Retrieves the Concept corresponding to a specific Concept code in the default namespace with all attributes retrieved |
Concept |
findConceptByCode(java.lang.String conceptcode,
boolean allAttributes)
Retrieves the Concept corresponding to a specific Concept code in the default namespace |
Concept |
findConceptByCode(java.lang.String conceptcode,
int namespaceId)
Retrieves the Concept corresponding to a specific Concept name in a specific namespace |
Concept |
findConceptByCode(java.lang.String conceptcode,
int ASD_index,
int namespaceId)
Retrieves the Concept corresponding to a specific Concept name in a specific namespace |
java.util.Vector |
findConceptsByCode(java.util.Vector conceptCodes_in)
Finds concept names matched with specified concept codes. |
java.util.Vector |
findConceptsByCode(java.util.Vector conceptCodes_in,
java.util.Vector namespaceIds_in)
Finds concept names matched with specified concept codes. |
java.util.Vector |
findConceptsById(java.util.Vector conceptIds_in)
Finds concept names matched with specified concept ids. |
java.util.Vector |
findConceptsById(java.util.Vector conceptIds_in,
java.util.Vector namespaceIds_in)
Finds concept names matched with specified concept ids. |
java.util.Vector |
findConceptsWithConceptAssociationMatching(java.lang.String conceptAssocType_in,
java.lang.String toConceptName,
int searchLimit)
Finds concepts with a concept association matching a specific search criteria. |
java.util.Vector |
findConceptsWithConceptAssociationMatching(java.lang.String conceptAssocType_in,
java.lang.String toConceptName,
int searchLimit,
int namespaceId)
Finds concepts with a concept association matching a specific search criteria. |
java.util.Vector |
findConceptsWithInverseConceptAssociationMatching(java.lang.String invConceptAssocType_in,
java.lang.String fromConceptName,
int searchLimit)
Finds concepts with an inverse concept association matching a specific search criteria. |
java.util.Vector |
findConceptsWithInverseConceptAssociationMatching(java.lang.String invConceptAssocType_in,
java.lang.String fromConceptName,
int searchLimit,
int namespaceId)
Finds concepts with an inverse concept association matching a specific search criteria. |
java.util.Vector |
findConceptsWithInverseRoleMatching(java.lang.String roleType_in,
java.lang.String pattern,
int searchLimit)
Finds concepts with an inverse role matching a specific search criteria. |
java.util.Vector |
findConceptsWithInverseRoleMatching(java.lang.String roleType_in,
java.lang.String pattern,
int searchLimit,
int namespaceId)
Finds concepts with an inverse role matching a specific search criteria. |
java.util.Vector |
findConceptsWithNameMatching(java.lang.String pattern,
int searchLimit)
Finds concepts with name matching a specific search criteria. |
java.util.Vector |
findConceptsWithNameMatching(java.lang.String pattern,
int searchLimit,
boolean synonyms)
Finds concepts with name matching a specific search criteria. |
java.util.Vector |
findConceptsWithNameMatching(java.lang.String pattern,
int searchLimit,
boolean synonyms,
int namespaceId)
Finds concepts with name matching a specific search criteria. |
java.util.Vector |
findConceptsWithNameMatching(java.lang.String pattern,
int searchLimit,
int namespaceId)
Finds concepts with name matching a specific search criteria. |
java.util.Vector |
findConceptsWithPropertyContaining(java.lang.String propType_in,
java.lang.String pattern,
int searchLimit)
Finds concepts with a property containing a specific search criteria. |
java.util.Vector |
findConceptsWithPropertyContaining(java.lang.String propType_in,
java.lang.String pattern,
int searchLimit,
int namespaceId)
Finds concepts with a property containing a specific search criteria. |
java.util.Vector |
findConceptsWithPropertyMatching(java.lang.String propType_in,
java.lang.String pattern,
int searchLimit)
Finds concepts with a property matching a specific search criteria. |
java.util.Vector |
findConceptsWithPropertyMatching(java.lang.String propType_in,
java.lang.String pattern,
int searchLimit,
int namespaceId)
Finds concepts with a property matching a specific search criteria. |
java.util.Vector |
findConceptsWithRoleMatching(java.lang.String roleType_in,
java.lang.String pattern,
int searchLimit)
Finds concepts with a role matching a specific search criteria. |
java.util.Vector |
findConceptsWithRoleMatching(java.lang.String roleType_in,
java.lang.String pattern,
int searchLimit,
int namespaceId)
Finds concepts with a role matching a specific search criteria. |
java.util.Vector |
findConceptsWithRoleOrPropertyMatching(int namespaceId,
java.lang.String infixExpression)
Finds concepts with roles or properties matching with a specific search criteria. |
java.util.Vector |
findConceptsWithRoleOrPropertyMatching(java.lang.String infixExpression)
Performs complex search for concepts that match a search criteria defined by roles, properties, and binary operators, AND, OR, and NOT. |
java.util.Vector |
findConceptsWithSiloMatching(java.lang.String pattern,
int limit)
Gets a vector of silo names that represent the search pattern, but with those attributes present that are specified in the AttributteSetDescriptor. |
Concept[] |
findConceptsWithSiloMatching(java.lang.String pattern,
int limit,
int ASD_index,
boolean bestMatchOnly,
boolean spellCorrection,
boolean closeResult,
int matchtype_index,
java.lang.String siloname)
Gets an array of Concept objects that represents the search pattern since DTSRPC 2.1 |
java.util.Vector |
findConceptsWithSiloMatching(java.lang.String pattern,
int limit,
java.lang.String siloname)
Gets a vector of silo names that represent the search pattern, but with those attributes present that are specified in the AttributteSetDescriptor. |
java.util.Vector |
findConceptsWithSynonymMatching(java.lang.String synonymType_in,
java.lang.String synonymTermName,
int searchLimit)
Finds concepts with a synonym matching a specific search criteria. |
java.util.Vector |
findConceptsWithSynonymMatching(java.lang.String synonymType_in,
java.lang.String synonymTermName,
int searchLimit,
int namespaceId)
Finds concepts with a synonym matching a specific search criteria. |
java.util.Vector |
findConceptWithPropertyMatching(java.lang.String propertyname,
java.lang.String pattern,
int matchLimit)
Gets all concepts that have a property value of the given property that matches the argument pattern. |
java.util.Vector |
findConceptWithRoleMatching(java.lang.String rolename,
java.lang.String pattern,
int matchLimit)
Gets all concepts that have a role value of the given role that matches the argument pattern. |
java.lang.String |
findNamespaceByCode(java.lang.String namespaceCode)
Finds the namespace that matched with a specified id |
java.lang.String |
findNamespaceById(int namespaceId)
Finds the namespace that matched with a specified id |
java.util.Vector |
findTermsByName(java.lang.String termname_in)
Finds terms that match with a specific search string |
java.util.Vector |
findTermsByName(java.lang.String termname_in,
int namespaceId)
Finds terms that match with a specific search string |
java.util.Vector |
findTermsWithNameMatching(java.lang.String pattern,
int searchLimit)
Retrieves each term with a name (string identifier) that matches the argument pattern, based on the specified search options. |
java.util.Vector |
findTermsWithNameMatching(java.lang.String pattern,
int searchLimit,
int namespaceId)
Retrieves each term with a name (string identifier) that matches the argument pattern, based on the specified search options. |
java.util.Vector |
getAllAssociationTypes()
Retrieves all association types known in the knowledgebase. |
java.util.Vector |
getAllConceptAssociationQualifierTypes()
Retrieves the names of all concept association qualifier types. |
java.util.Vector |
getAllConceptAssociationTypes()
Retrieves all concept association types. |
java.util.Vector |
getAllConceptPropertyQualifierTypes()
Retrieves all concept property qualifier type names. |
java.util.Vector |
getAllConceptPropertyTypes()
Retrieves all concept property types. |
java.util.Vector |
getAllLicenses(java.lang.String condition)
Gets all licenses from the server. |
PropertyType[] |
getAllPropertyTypes()
Retrieves all PropertyType |
PropertyType[] |
getAllPropertyTypes(int namespaceId)
Retrieves all PropertyType in a given namespace |
java.util.Vector |
getAllQualifierTypes()
Retrieves all qualifier type names. |
java.util.Vector |
getAllRoleNames()
Gets all role names defined in the default namespace |
java.util.Vector |
getAllRoleNames(int namespaceId)
Gets the role names defined in a particular namespace. |
RoleType[] |
getAllRoleTypes()
Retrieves all RoleType |
RoleType[] |
getAllRoleTypes(int namespaceId)
Retrieves all RoleType in a given namespace |
RoleType[] |
getAllRoleTypesInNamespace()
Retrieves all RoleType in the default namespace |
Silo[] |
getAllSilos()
Retrieves all silos |
java.util.Vector |
getAllSubConceptCodes(java.lang.String conceptCode)
Gets the codes of all subconcept of a specified concept |
java.util.Vector |
getAllSubConceptCodes(java.lang.String conceptCode,
int namespaceId)
Gets the codes of all subconcept of a specified concept |
java.util.Vector |
getAllSubConceptNames(java.lang.String conceptName)
Gets the names of all subconcept of a specified concept |
java.util.Vector |
getAllSubConceptNames(java.lang.String conceptName,
int namespaceId)
Gets the names of all subconcept of a specified concept |
java.util.Vector |
getAllSynonymTypes()
Retrieves all synonym types. |
java.util.Vector |
getAllTermAssociationQualifierTypes()
Retrieves all term association qualifier type names. |
java.util.Vector |
getAllTermAssociationTypes()
Retrieves all term association types. |
java.util.Vector |
getAllTermPropertyQualifierTypes()
Retrieves all term property qualifier type names. |
java.util.Vector |
getAllTermPropertyTypes()
Retrieves all term property types. |
java.util.Vector |
getAncestorCodeActionDates(int namespaceId,
java.lang.String inCode,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Gets the ancestor concepts' CodeActionDate of the specified concept. |
java.util.Vector |
getAncestorCodeActionDates(java.lang.String inCode,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Gets the ancestor concepts' CodeActionDate of the specified concept. |
java.util.Vector |
getAncestorCodes(int namespaceId,
java.lang.String inCode,
boolean atBaseline,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Gets the ancestor concept codes of the specified concept. |
java.util.Vector |
getAncestorCodes(java.lang.String inCode,
boolean atBaseline,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Gets the ancestor concept codes of the specified concept. |
java.util.Vector |
getAuthorities()
Retrieves a vector of Authority names which represent the available namespace authorities in the DTS knowledgebase. |
java.util.Vector |
getCodeActionChildren(int namespaceId,
java.lang.String inCode,
java.util.Date baselineDate_in)
Gets the descendant concepts' codes of the specified concept involved in "split or merge" actions that occurred in the specified baseline date. |
java.util.Vector |
getCodeActionChildren(java.lang.String inCode,
java.util.Date baselineDate_in)
Gets the descendant concepts' codes of the specified concept involved in "split or merge" actions that occurred in the specified baseline date. |
java.util.Vector |
getCodeActionParents(int namespaceId,
java.lang.String inCode,
java.util.Date baselineDate_in)
Gets the ancestor concepts' codes of the specified concept involved in "split or merge" actions that occurred in the specified baseline date. |
java.util.Vector |
getCodeActionParents(java.lang.String inCode,
java.util.Date baselineDate_in)
Gets the ancestor concepts' codes of the specified concept involved in "split or merge" actions that occurred in the specified baseline date. |
java.util.Vector |
getComplexPropertyElements(java.lang.String propValue)
Gets tag names in a XML formatted sString |
java.lang.String |
getComplexPropertyElementValue(java.lang.String element,
java.lang.String propValue)
Gets the value associated with the element in the property value |
Concept |
getConcept(java.lang.String inputvalue,
boolean inputcode,
int ASD_index)
Retrieves the Concept corresponding to a specific Concept name, or code in the default namespace with all fetched attributes |
Concept |
getConcept(java.lang.String inputvalue,
boolean inputcode,
int ASD_index,
int namespaceId)
Retrieves the Concept corresponding to a specific Concept name, or code in the default namespace with all fetched attributes |
java.util.Vector |
getConceptAssociationQualifierTypes()
Retrieves the names of all concept association qualifier types |
java.util.Vector |
getConceptAssociationQualifierTypes(int namespaceId)
Retrieves the names of all concept association qualifier types within a given namespace. |
java.util.Vector |
getConceptAssociationTypes()
Retrieves all concept association types. |
java.util.Vector |
getConceptAssociationTypes(int namespaceId)
Retrieves all concept association types in a namespace. |
java.util.Vector |
getConceptChildRoots()
Gets the names of root concepts |
java.util.Vector |
getConceptChildRoots(int namespaceId)
Get root concept names |
java.lang.String |
getConceptCodeByName(java.lang.String conceptname)
Finds the code of the specified concept. |
java.lang.String |
getConceptCodeByName(java.lang.String conceptname,
int namespaceId)
Finds the code of the specified concept. |
java.util.Date |
getConceptCreationDate(int namespaceId,
java.lang.String inCode)
Gets the baseline date of creation of the specified concept. |
java.util.Date |
getConceptCreationDate(java.lang.String inCode)
Gets the baseline date of creation of the specified concept. |
java.util.Vector |
getConceptEditAction(int namespaceId,
java.lang.String inCode)
Gets all EditAction of the specified concept. |
java.util.Vector |
getConceptEditAction(int namespaceId,
java.lang.String inCode,
java.util.Date baselineDate_in)
Gets all EditAction of the specified concept. |
java.util.Vector |
getConceptEditAction(java.lang.String inCode)
Gets all EditAction of the specified concept. |
java.util.Vector |
getConceptEditAction(java.lang.String inCode,
java.util.Date baselineDate_in)
Gets all EditAction of the specified concept. |
java.util.Vector |
getConceptEditActionDates(int namespaceId,
java.lang.String inCode,
int iAction)
Gets EditActionDate that match with the given concept code and edit action index. |
java.util.Vector |
getConceptEditActionDates(java.lang.String inCode,
int iAction)
Gets EditActionDate that match with the given concept code and edit action index. |
java.util.Vector |
getConceptEditActionDates(java.lang.String inCode,
java.lang.String action)
Gets EditActionDate that match with the given concept code and edit action index. |
ConceptHistory |
getConceptHistory(int namespaceId,
java.lang.String conceptcode)
Retrieves the ConceptHistory corresponding to a specific concept in a given namespace |
ConceptHistory |
getConceptHistory(java.lang.String conceptcode)
Retrieves the ConceptHistory corresponding to a specific concept. |
java.lang.String |
getConceptNameByCode(java.lang.String conceptcode)
Finds the code of the specified concept. |
java.lang.String |
getConceptNameByCode(java.lang.String conceptcode,
int namespaceId)
Finds the code of the specified concept. |
java.util.Vector |
getConceptPropertyQualifierTypes()
Retrieves all concept property qualifier types. |
java.util.Vector |
getConceptPropertyQualifierTypes(int namespaceId)
Retrieves all concept property qualifier types within a given namespace. |
java.util.Vector |
getConceptPropertyTypes()
Retrieves all concept property types. |
java.util.Vector |
getConceptPropertyTypes(int namespaceId)
Retrieves all concept property types within a given namespace. |
Concept[] |
getConcepts(java.util.Vector conceptNames_in)
Retrieves Concepts with name matching with specified values |
Concept[] |
getConcepts(java.util.Vector conceptNames_in,
boolean allAttributes)
Retrieves Concepts with name matching with specified values |
Concept[] |
getConcepts(java.util.Vector conceptNames_in,
int ASD_index,
java.util.Vector namespaceIds_in)
Retrieves Concepts with name matching with specified values |
java.util.Vector |
getConceptStatus(java.lang.String conceptname)
Gets the status of the specific concept |
java.util.Vector |
getConceptStatus(java.lang.String conceptname,
int namespaceId)
Gets the status of the specific concept |
java.util.Date |
getCreationDate(java.lang.String inCode)
Gets the creation date of a concept |
java.util.Vector |
getDescendantCodeActionDates(int namespaceId,
java.lang.String inCode,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Gets the descendant concepts' CodeActionDate of the specified concept. |
java.util.Vector |
getDescendantCodeActionDates(java.lang.String inCode,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Gets the descendant concepts' CodeActionDate of the specified concept. |
java.util.Vector |
getDescendantCodes(int namespaceId,
java.lang.String inCode,
boolean atBaseline,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Gets the descendant concept codes of the specified concept. |
java.util.Vector |
getDescendantCodes(java.lang.String inCode,
boolean atBaseline,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Gets the descendant concept codes of the specified concept. |
Concept[] |
getDirectSubs(java.lang.String conceptname)
Retrieves direct superconcepts of a specific Concept in a specific namespace |
Concept[] |
getDirectSubs(java.lang.String conceptname,
boolean allAttributes)
Retrieves direct superconcepts of a specific Concept in a specific namespace |
Concept[] |
getDirectSubs(java.lang.String inputvalue,
boolean inputcode,
int ASD_index,
int namespaceId)
Retrieves direct superconcepts of a specific Concept in a specific namespace |
Concept[] |
getDirectSubs(java.lang.String conceptname,
int namespaceId)
Retrieves direct superconcepts of a specific Concept in a specific namespace |
Concept[] |
getDirectSubs(java.lang.String conceptname,
int ASD_index,
int namespaceId)
Retrieves direct superconcepts of a specific Concept in a specific namespace |
Concept[] |
getDirectSups(java.lang.String conceptname)
Retrieves direct superconcepts of a specific Concept in the default namespace. |
Concept[] |
getDirectSups(java.lang.String conceptname,
boolean allAttributes)
Retrieves direct superconcepts of a specific Concept in the default namespace. |
Concept[] |
getDirectSups(java.lang.String inputvalue,
boolean inputcode,
int ASD_index,
int namespaceId)
Retrieves the direct superconcepts of a specific concept in a given namespace |
Concept[] |
getDirectSups(java.lang.String conceptname,
int namespaceId)
Retrieves direct superconcepts of a specific Concept in a specific namespace. |
Concept[] |
getDirectSups(java.lang.String conceptname,
int ASD_index,
int namespaceId)
Retrieves the direct superconcepts of a specific concept in a given namespace |
java.lang.Boolean |
getFetchedHasSubs(java.lang.String ontylogconcept_in)
Checks if the concept has subconcepts. |
java.lang.Boolean |
getFetchedHasSubs(java.lang.String ontylogconcept_in,
int namespaceId)
Checks if the concept has subconcepts. |
java.lang.Boolean |
getFetchedHasSups(java.lang.String ontylogconcept_in)
Checks if the concept has superconcepts. |
java.lang.Boolean |
getFetchedHasSups(java.lang.String ontylogconcept_in,
int namespaceId)
Checks if the concept has superconcepts. |
java.util.Vector |
getFetchedInverseRoles(java.lang.String ontylogconcept_in)
Gets the fetched inverse roles of a given concept. |
java.util.Vector |
getFetchedInverseRoles(java.lang.String ontylogconcept_in,
int namespaceId)
Gets the fetched inverse roles of a given concept. |
java.util.Vector |
getFetchedInverseTermAssociations(java.lang.String term_in)
Gets the inverse term associations which have been fetched for this term. |
java.util.Vector |
getFetchedInverseTermAssociations(java.lang.String term_in,
int namespaceId)
Gets the inverse term associations which have been fetched for this term. |
java.util.Vector |
getFetchedRoles(java.lang.String ontylogconcept_in)
Gets the roles which have been retrieved for this concept. |
java.util.Vector |
getFetchedRoles(java.lang.String ontylogconcept_in,
int namespaceId)
Gets the roles which have been retrieved for this concept. |
java.util.Vector |
getFetchedTermAssociations(java.lang.String term_in)
Gets the term associations which have been fetched for this term. |
java.util.Vector |
getFetchedTermAssociations(java.lang.String term_in,
int namespaceId)
Gets the term associations which have been fetched for this term. |
java.util.Vector |
getHistoryDates()
Gets all distinct dates in concept_history table. |
java.util.Date |
getHistoryEnd()
Gets the latest date in concept_history table. |
java.util.Date |
getHistoryEndDate()
Gets history end date |
java.util.Vector |
getHistoryRecords(java.lang.String vocabularyName,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Retrieves a set of history records from the concept_history table. |
java.util.Vector |
getHistoryRecords(java.lang.String vocabularyName,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in,
java.lang.String conceptcode)
Retrieves a set of history records from the concept_history table. |
java.util.Vector |
getHistoryRecords(java.lang.String vocabularyName,
java.lang.String conceptcode)
Retrieves a set of history records from the concept_history table. |
java.util.Date |
getHistoryStart()
Gets the initial date in concept_history table. |
java.util.Date |
getHistoryStartDate()
Gets history starting date |
java.util.Vector |
getKindNames()
Gets kind names . |
java.lang.String |
getLicense(java.lang.String source)
Gets the license for a given source. |
java.lang.Integer |
getMatchedTermCount(java.lang.String pattern)
Gets the total number of matched terms. |
java.lang.Integer |
getMatchedTermCount(java.lang.String pattern,
java.util.Vector namespace_vec,
java.util.Vector kind_vec)
Gets the total number of matched terms. |
java.util.Vector |
getMatchedTerms(java.lang.String pattern,
int searchLimit)
Finds terms that match with a specific pattern. |
java.util.Vector |
getMatchedTerms(java.lang.String pattern,
int initial_index,
int final_index)
Finds terms that match with a specific pattern. |
java.util.Vector |
getMatchedTerms(java.lang.String pattern,
int initial_index,
int final_index,
java.util.Vector namespace_vec,
java.util.Vector kind_vec)
Finds terms that match with a specific pattern. |
java.util.Vector |
getMatchedTerms(java.lang.String pattern,
int searchLimit,
java.util.Vector namespace_vec,
java.util.Vector kind_vec)
Finds terms that match with a specific pattern. |
java.util.Vector |
getMatches(java.lang.String pattern,
int matchLimit)
Searches for concept names that partially match with the search pattern. |
java.lang.String |
getMatchItemType(java.lang.String term_in)
Gets the match item type, i.e. |
java.lang.String |
getMatchItemType(java.lang.String term_in,
int namespaceId)
Gets the match item type, i.e. |
java.lang.String |
getMatchString(java.lang.String term_in)
Gets the string that was matched. |
java.lang.String |
getMatchString(java.lang.String term_in,
int namespaceId)
Gets the string that was matched. |
java.lang.String |
getNamespaceDescription(java.lang.String namespaceName)
Gets the description of a specific namespace |
int |
getNamespaceId(java.lang.String namespaceName)
Gets the relative id of a namespace |
java.util.Vector |
getNamespaceNames()
Gets namespace names |
java.util.Vector |
getNamespaces()
Gets available namespaces in a knowledgebase Note: in DTS 3.0, each connection is associated with a knowledgebase Each knowledgebase can contain multiple namespaces |
java.lang.String |
getNamespaceType(java.lang.String namespaceName)
Gets namespace type . |
int |
getNumberEditActions(int namespaceId,
java.lang.String inCode,
java.util.Date baselineDate_in)
Gets the number of editing actions on the specified concept registered in the specified baseline date. |
int |
getNumberEditActions(int namespaceId,
java.lang.String inCode,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Gets the number of editing actions on the specified concept registered in the specified baseline date. |
int |
getNumberEditActions(java.lang.String inCode,
java.util.Date baselineDate_in)
Gets the number of editing actions on the specified concept registered in the specified baseline date. |
int |
getNumberEditActions(java.lang.String inCode,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Gets the number of editing actions on the specified concept registered in the specified baseline date. |
int |
getNumberOfSpecifiedInverseRoles(java.lang.String ontylogconcept_in)
Get the number of inverse roles that are available of the types specified in the ConceptAttributeSetDescriptor used to obtain this OntylogConcept. |
int |
getNumberOfSpecifiedInverseRoles(java.lang.String ontylogconcept_in,
int namespaceId)
Gets the number of inverse roles that are available of the types specified in the ConceptAttributeSetDescriptor used to obtain this OntylogConcept. |
int |
getNumberOfSpecifiedInverseTermAssociations(java.lang.String term_in)
Gets the number of inverse term associations that are available for this term. |
int |
getNumberOfSpecifiedInverseTermAssociations(java.lang.String term_in,
int namespaceId)
Get the number of inverse term associations that are available for this term. |
int |
getNumberOfSpecifiedRoles(java.lang.String ontylogconcept_in)
Gets the number of roles that are available of the types specified in the ConceptAttributeSetDescriptor used to obtain this OntylogConcept. |
int |
getNumberOfSpecifiedRoles(java.lang.String ontylogconcept_in,
int namespaceId)
Gets the number of roles that are available of the types specified in the ConceptAttributeSetDescriptor used to obtain this OntylogConcept. |
int |
getNumberOfSpecifiedTermAssociations(java.lang.String term_in)
Gets the number of term associations that are available for the specified term. |
int |
getNumberOfSpecifiedTermAssociations(java.lang.String term_in,
int namespaceId)
Gets the number of term associations that are available for the specified term. |
java.util.Vector |
getPropertiesByConceptName(java.lang.String conceptname)
Gets the names and values of properties owned by the specified concept. |
java.util.Vector |
getPropertiesByConceptName(java.lang.String conceptname,
int namespaceId)
Gets the names and values of properties owned by the specified concept. |
java.util.Vector |
getPropertyNames(java.lang.String conceptname)
Gets the names of all roles owned by the specified concept (in the default namespace). |
java.util.Vector |
getPropertyNames(java.lang.String conceptname,
int namespaceId)
Gets the names of all properties owned by the specified concept. |
PropertyType |
getPropertyTypeById(int propertyId)
Retrieves the PropertyType corresponding to a specific PropertyType identifier in the default namespace |
PropertyType |
getPropertyTypeById(int propertyId,
int namespaceId)
Retrieves the PropertyType corresponding to a specific PropertyType identifier in a specific namespace |
PropertyType |
getPropertyTypeByName(java.lang.String propertyName)
Retrieves the PropertyType corresponding to a specific PropertyType name in the default namespace |
PropertyType |
getPropertyTypeByName(java.lang.String propertyName,
int namespaceId)
Retrieves the PropertyType corresponding to a specific PropertyType name in a given namespace |
java.util.Vector |
getPropertyTypes()
Gets the names of all property types |
java.util.Vector |
getPropertyValues(java.lang.String conceptname,
java.lang.String propertyname)
Gets the values of a propertyies owned by a concept in the default name space |
java.util.Vector |
getPropertyValues(java.lang.String conceptname,
java.lang.String propertyname,
int namespaceId)
Gets the values of a particular properties owned by the specified concept in a given namespace. |
java.util.Vector |
getRoleNames(java.lang.String conceptname)
Gets the names of roles owned by a specific concept (in the default namespace) |
java.util.Vector |
getRoleNames(java.lang.String conceptname,
int namespaceId)
Gets the names of all roles owned by the specified concept. |
java.util.Vector |
getRolesByConceptName(java.lang.String conceptname)
Gets the names and values of roles owned by the specified concept in the default namespace.. |
java.util.Vector |
getRolesByConceptName(java.lang.String conceptname,
int namespaceId)
Gets the names and values of roles owned by the specified concept. |
RoleType |
getRoleTypeById(int roleId)
Retrieves the RoleType corresponding to a specific RoleType identifier |
RoleType |
getRoleTypeById(int roleId,
int namespaceId)
Retrieves the RoleType corresponding to a specific RoleType identifier in a given namespace |
RoleType |
getRoleTypeByName(java.lang.String roleName)
Retrieves the RoleType corresponding to a specific RoleType name in the default namespace |
RoleType |
getRoleTypeByName(java.lang.String roleName,
int namespaceId)
Retrieves the RoleType corresponding to a specific RoleType name in a given namespace |
java.util.Vector |
getRoleValues(java.lang.String conceptname,
java.lang.String rolename)
Gets the values of a role owned by a particular concept |
java.util.Vector |
getRoleValues(java.lang.String conceptname,
java.lang.String rolename,
int namespaceId)
Gets the values of a particular role owned by the specified concept. |
Concept[] |
getRootConcepts()
Retrieves all root concepts of in the default namespace. |
Concept[] |
getRootConcepts(boolean allAttributes)
Retrieves all root concepts of in a given namespace. |
Concept[] |
getRootConcepts(int namespaceId)
Retrieves all root concepts of in a given namespace. |
Concept[] |
getRootConcepts(int ASD_index,
int namespaceId)
Retrieves all root concepts of in a given namespace. |
java.util.Vector |
getSubConcepts(java.lang.String inputvalue,
boolean inputcode,
boolean outputcode)
Gets the codes, or the names, of all subconcepts of the specified concept |
java.util.Vector |
getSubConcepts(java.lang.String inputvalue,
java.lang.Boolean inputcodeObj,
java.lang.Boolean outputcodeObj)
Gets the codes, or the names, of all subconcepts of the specified concept |
java.util.Vector |
getSubConcepts(java.lang.String inputvalue,
boolean inputcode,
boolean outputcode,
int namespaceId)
Gets the codes, or the names, of all subconcepts of the specified concept |
java.util.Vector |
getSubConcepts(java.lang.String inputvalue,
java.lang.Boolean inputcodeObj,
java.lang.Boolean outputcodeObj,
int namespaceId)
Gets the names (or the codes) of a given concept in a specific namespace |
java.util.Vector |
getSuperConcepts(java.lang.String inputvalue,
boolean inputcode,
boolean outputcode)
Gets the codes (or the names) of all superconcepts of the specified concepts. |
java.util.Vector |
getSuperConcepts(java.lang.String inputvalue,
java.lang.Boolean inputcodeObj,
java.lang.Boolean outputcodeObj)
Gets the codes (or the names) of all superconcepts of the specified concepts. |
java.util.Vector |
getSuperConcepts(java.lang.String inputvalue,
boolean inputcode,
boolean outputcode,
int namespaceId)
Gets the codes (or the names) of all superconcepts of the specified concepts. |
java.util.Vector |
getSynonymTypes()
Retrieves all synonym types. |
java.util.Vector |
getSynonymTypes(int namespaceId)
Retrieves all synonym types in a given namespace. |
java.util.Vector |
getTermAssociationQualifierTypes()
Retrieves all term association qualifier type names. |
java.util.Vector |
getTermAssociationQualifierTypes(int namespaceId)
Retrieves all term association qualifier type names within a specific namespace. |
java.util.Vector |
getTermAssociationTypes()
Retrieves all term association types. |
java.util.Vector |
getTermAssociationTypes(int namespaceId)
Retrieves all term association types in a given namespace. |
java.util.Vector |
getTermPropertyQualifierTypes()
Retrieves the names of all term property qualifier types |
java.util.Vector |
getTermPropertyQualifierTypes(int namespaceId)
Retrieves the names of all term property qualifier types within a given namespace. |
java.util.Vector |
getTermPropertyTypes()
Retrieves all term property types within a given namespace. |
java.util.Vector |
getTermPropertyTypes(int namespaceId)
Retrieves all term property types within a given namespace. |
javax.swing.tree.DefaultMutableTreeNode |
getTree(java.lang.String rootname,
boolean direction,
AttributeSetDescriptor attributes)
Gets tree data from the server (UserObject is a Concept instance). |
javax.swing.tree.DefaultMutableTreeNode |
getTree(java.lang.String rootname,
boolean direction,
int level,
AttributeSetDescriptor attributes)
Gets tree data from the server (UserObject is a Concept instance). |
javax.swing.tree.DefaultMutableTreeNode |
getTree(java.lang.String rootname,
boolean direction,
int level,
AttributeSetDescriptor attributes,
boolean isaflag,
java.util.Vector rolenames)
Gets tree data from the server (UserObject is a Concept instance). |
javax.swing.tree.DefaultMutableTreeNode |
getTree(java.lang.String rootname,
boolean direction,
int levels,
AttributeSetDescriptor attributes,
boolean isaflag,
java.util.Vector rolenames,
int namespaceId)
Gets tree data. |
javax.swing.tree.DefaultMutableTreeNode |
getTree(java.lang.String rootname,
boolean direction,
int level,
AttributeSetDescriptor attributes,
int namespaceId)
Gets tree data from the server (UserObject is a Concept instance). |
javax.swing.tree.DefaultMutableTreeNode |
getTree(java.lang.String rootname,
boolean direction,
int levels,
java.lang.String propertyname)
Gets tree data from the server (UserObject is a Concept instance). |
javax.swing.tree.DefaultMutableTreeNode |
getTree(java.lang.String rootname,
boolean direction,
int levels,
java.lang.String propertyname,
int namespaceId)
Gets tree data from the server (UserObject is a Concept instance). |
java.util.Vector |
getVersions()
Retrieves an array of ContentVersions which are the list of versions |
java.util.Vector |
getVersions(int namespaceId)
Retrieves an array of ContentVersions which are the list of versions for the given namespace Id in the knowledgebase. |
java.lang.String |
getVocabularyDescription(java.lang.String name)
Gets the description of a vocabulary |
java.lang.String |
getVocabularyHost(java.lang.String name)
Gets the host of a vocabulary server |
java.util.Vector |
getVocabularyNames()
Gets available vocabulary names |
java.lang.String |
getVocabularyPort(java.lang.String name)
Gets the port of a vocabulary server |
java.lang.String |
getVocabularyVersion(java.lang.String name)
Gets vocabulary name (a vocabulary name maps to a |
java.lang.Boolean |
hasChildren(java.lang.String conceptname)
Checks if a concept in the default namespace has any subconcept |
java.lang.Boolean |
hasChildren(java.lang.String conceptname,
int namespaceId)
Checks if a concept in a namespace has any subconcepts. |
java.lang.Boolean |
hasParents(java.lang.String conceptname)
Checks if a concept has any superconcept |
java.lang.Boolean |
hasParents(java.lang.String conceptname,
int namespaceId)
Checks if a concept has any superconcept . |
java.lang.Boolean |
hasPermission()
Determine whether the currently logged on user has permission to write to the default namespace. |
java.lang.Boolean |
hasPermission(int namespaceId)
Determine whether the currently logged on user has permission to write to the specified namespace. |
java.lang.Boolean |
hasStatus(java.lang.String conceptname)
a boolean variable indicating whether the concept has a concept status |
java.lang.Boolean |
hasStatus(java.lang.String conceptname,
int namespaceId)
Checks if a concept has any status. |
boolean |
hasSubconcepts(java.lang.String conceptname)
Checks if a concept in the default namespace has any subconcept |
boolean |
hasSubconcepts(java.lang.String conceptname,
int namespaceId)
Deprecated. replaced by hasChildren(java.lang.String) since DTSRPC 1.3.1 |
boolean |
hasSuperconcepts(java.lang.String conceptname)
Checks if a concept has any superconcept |
boolean |
hasSuperconcepts(java.lang.String conceptname,
int namespaceId)
Deprecated. replaced by hasParents(java.lang.String) since DTSRPC 1.3.1 |
java.lang.String |
isCacheDone()
Gets tree caching status. |
java.lang.Boolean |
isChild(java.lang.String concept1,
java.lang.String concept2)
Checks if the first concept is a subconcept of the second concept. |
java.lang.Boolean |
isChild(java.lang.String concept1,
java.lang.String concept2,
int namespaceId)
Checks if the first concept is a subconcept of the second concept. |
java.lang.Boolean |
isChildByCode(java.lang.String concept1,
java.lang.String concept2)
Checks if a code belongs to a subconcept of a concept with a specific code |
java.lang.Boolean |
isChildByCode(java.lang.String concept1,
java.lang.String concept2,
int namespaceId)
Determines if the firest concept (with cide concept1) is a subconcept of the second concept (with code concept2). |
java.lang.Boolean |
isComplex(java.lang.String propValue)
Determines if property is Complex |
boolean |
isComplexProperty(java.lang.String propValue)
Deprecated. replaced by isComplex(String) since DTSRPC 1.3.1 |
boolean |
isConceptEdited(int namespaceId,
java.lang.String inCode,
boolean mrg_splt,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Checks if the specified concept is edited or not during a date range. |
boolean |
isConceptEdited(java.lang.String inCode,
boolean mrg_splt,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Checks if the specified concept is edited or not during a date range. |
boolean |
isConceptRetired(int namespaceId,
java.lang.String inCode)
Deprecated. replaced by isRetired(java.lang.String) since DTSRPC 1.3.1 |
boolean |
isConceptRetired(java.lang.String inCode)
Deprecated. replaced by isRetired(java.lang.String) since DTSRPC 1.3.1 |
java.lang.Boolean |
isEdited(int namespaceId,
java.lang.String inCode,
boolean mrg_splt,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Checks if the specified concept is edited or not during a date range. |
java.lang.Boolean |
isEdited(java.lang.String inCode,
boolean mrg_splt,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
Checks if the specified concept is edited or not during a date range. |
java.lang.Boolean |
isRetired(int namespaceId,
java.lang.String inCode)
Checks if the specified concept is retired or not. |
java.lang.Boolean |
isRetired(java.lang.String inCode)
Checks if the specified concept is retired or not. |
boolean |
isSubConcept(java.lang.String concept1,
java.lang.String concept2)
Checks if the first concept is a subconcept of the second concept. |
boolean |
isSubConcept(java.lang.String concept1,
java.lang.String concept2,
int namespaceId)
Deprecated. replaced by isChild(java.lang.String, java.lang.String) since DTSRPC 1.3.1 |
boolean |
isSubConceptByCode(java.lang.String concept1,
java.lang.String concept2)
Checks if a code belongs to a subconcept of the specifiedc concept |
boolean |
isSubConceptByCode(java.lang.String concept1,
java.lang.String concept2,
int namespaceId)
Deprecated. replaced by isChildByCode(String,String) since DTSRPC
1.3.1 |
java.lang.Boolean |
isSubConceptById(int conceptId1,
int conceptId2)
Checks if the concept with id conceptId1 is a subconcept of the concept with id conceptI2 |
java.lang.Boolean |
isSubConceptById(int conceptId1,
int conceptId2,
int namespaceId)
Checks if the concept with id conceptId1 is a subconcept of the concept with id conceptI2 |
java.lang.Boolean |
isSubConceptByName(java.lang.String concept1,
java.lang.String concept2)
Determines if concept1 is a subconcept of concept2 in the specified namespace. |
java.lang.Boolean |
isSubConceptByName(java.lang.String concept1,
java.lang.String concept2,
int namespaceId)
Determines if concept1 is a subconcept of concept2 in the specified namespace. |
java.util.Vector |
isSubConceptByName(java.lang.String concept1,
java.util.Vector concepts_in)
Determines if concept1 is a subconcept of a collection of concepts in the specified namespace. |
java.util.Vector |
isSubConceptByName(java.lang.String concept1,
java.util.Vector concepts_in,
int namespaceId)
Determines if concept1 is a subconcept of a collection of concepts in the specified namespace. |
boolean |
isTreeDataAvailable()
Checks if tree data are available. |
boolean |
isUp()
Checks if the server connection is up. |
boolean |
isValidHistoryDate(java.util.Date historydate)
Determines if a date is a valid history date. |
java.util.Vector |
parseDefinitionProperty(java.lang.String definitionValue)
Parses DEFINITION property |
java.util.Vector |
parseFullSynProperty(java.lang.String propValue)
Parses FULL_SYN property |
java.lang.String |
ping(boolean db)
ping DTS Server . |
int |
PingServer()
Ping DTS Server . |
void |
printTree(java.io.PrintWriter treeWriter,
javax.swing.tree.DefaultMutableTreeNode root)
Print a tree (UserObject is a Concept instance). |
Concept[] |
searchConcepts(int namespaceId,
java.lang.String pattern,
int searchLimit)
Searches concepts in a given namespace that match with a specific search criteria |
Concept[] |
searchConcepts(int namespaceId,
java.lang.String pattern,
int limit,
int matchOption,
java.lang.String matchType,
int ASDIndex)
Searches concepts in accordance with user specified search criteria |
Concept[] |
searchConcepts(SearchCriteria sc)
Searches concepts in accordance with search criteria as defined in a SearchCriteria object |
Concept[] |
searchConcepts(java.lang.String pattern,
int searchLimit)
Searches concepts that match with a specific search criteria |
Concept[] |
searchConcepts(java.lang.String pattern,
int limit,
int matchOption,
java.lang.String matchType,
int ASDIndex)
Searches concepts in accordance with user specified search criteria |
java.util.Vector |
searchSilo(java.lang.String pattern,
int limit)
Searches for the specified pattern using the given search specification and returns an array of matches. |
boolean |
setDefaultNamespaceId(int nsid)
Sets default namespaceID. |
java.lang.Boolean |
setVocabulary(java.lang.String name)
Sets active vocabulary name |
java.lang.Boolean |
setVocabulary(java.lang.String name,
java.lang.String key)
Sets active vocabulary name with authentication (Note: This method has not yet been fully implemented. |
boolean |
setVocabularyName(java.lang.String name)
Deprecated. replaced by setVocabulary(String) since DTSRPC 1.3.1 |
java.util.Vector |
sortMatchedTerms(java.util.Vector matchedterm_vec,
int first_by)
Sorts MatchedTerm objects. |
java.util.Vector |
sortMatchedTerms(java.util.Vector matchedterm_vec,
int first_by,
int next_by)
Sorts MatchedTerm objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int PING_SUCCESS
public static final int PING_DTS_SERVER_DOWN
public static final int PING_DTS_DATABASE_DOWN
public static final int PING_DTS_COMMUNICATION_DOWN
public static final int PING_RPC_FAILURE
public static java.util.Date NO_HISTORY_DATE
public static final java.lang.String EDIT_ACTION_CREATE_STR
public static final java.lang.String EDIT_ACTION_MERGE_STR
public static final java.lang.String EDIT_ACTION_MODIFY_STR
public static final java.lang.String EDIT_ACTION_RETIRE_STR
public static final java.lang.String EDIT_ACTION_SPLIT_STR
public static final java.lang.String NAMESPACE_TYPE_CONNECTION
public static final java.lang.String NAMESPACE_TYPE_ONTYLOG
public static final java.lang.String NAMESPACE_TYPE_THESAURUS
public static java.lang.String CONCEPT_STATUS
public boolean useTitleCase
| Constructor Detail |
public DTSRPCClient()
public DTSRPCClient(java.lang.String ip,
java.lang.String port)
ip - IPport - port| Method Detail |
public boolean setDefaultNamespaceId(int nsid)
nsid - default namespace id
public boolean isValidHistoryDate(java.util.Date historydate)
historydate - input date
public boolean setVocabularyName(java.lang.String name)
setVocabulary(String) since DTSRPC 1.3.1
name - set active vocabulary to the specified vocabulary name
public java.lang.Boolean setVocabulary(java.lang.String name,
java.lang.String key)
name - set active vocabulary to the specified vocabulary namekey - string for authentication use.
public java.lang.Boolean setVocabulary(java.lang.String name)
name - set active vocabulary to the specified vocabulary name
public java.util.Vector getVocabularyNames()
public java.lang.String getVocabularyDescription(java.lang.String name)
name - vocabulary name
public int getNamespaceId(java.lang.String namespaceName)
namespaceName - namespace name
public java.lang.String getVocabularyHost(java.lang.String name)
name - the specified vocabulary name
public java.util.Vector getNamespaces()
public java.lang.String getConceptCodeByName(java.lang.String conceptname)
conceptname - the specified concept name
public java.lang.String getConceptCodeByName(java.lang.String conceptname,
int namespaceId)
conceptname - the specified concept namenamespaceId - namespace id
public java.lang.String getConceptNameByCode(java.lang.String conceptcode)
conceptcode - concept code
public java.lang.String getConceptNameByCode(java.lang.String conceptcode,
int namespaceId)
conceptcode - the specified concept codenamespaceId - namespace id
public java.util.Vector findConceptsWithRoleOrPropertyMatching(java.lang.String infixExpression)
infixExpression - search expression
public java.util.Vector findConceptsWithRoleOrPropertyMatching(int namespaceId,
java.lang.String infixExpression)
namespaceId - namespace idinfixExpression - search expression
public java.lang.Boolean hasStatus(java.lang.String conceptname)
conceptname - concept name
public java.lang.Boolean hasStatus(java.lang.String conceptname,
int namespaceId)
conceptname - concept namenamespaceId - namespace id
public java.util.Vector getConceptStatus(java.lang.String conceptname)
conceptname - concept name
public java.util.Vector getConceptStatus(java.lang.String conceptname,
int namespaceId)
conceptname - concept namenamespaceId - namespace id
public java.lang.String getVocabularyVersion(java.lang.String name)
name - vocabulary name
public java.lang.String getVocabularyPort(java.lang.String name)
name - the specified vocabulary name
public java.util.Date getCreationDate(java.lang.String inCode)
inCode - concept code
public java.util.Date getHistoryStartDate()
public java.util.Date getHistoryEndDate()
public java.util.Vector parseFullSynProperty(java.lang.String propValue)
propValue - property value
public boolean isComplexProperty(java.lang.String propValue)
isComplex(String) since DTSRPC 1.3.1
propValue - property value
public java.lang.Boolean isComplex(java.lang.String propValue)
propValue - property value
public java.util.Vector getComplexPropertyElements(java.lang.String propValue)
propValue - property value
public java.lang.String getComplexPropertyElementValue(java.lang.String element,
java.lang.String propValue)
element - the tag element value to be retrievedpropValue - the complex Property value for which to search the
element
public java.util.Vector parseDefinitionProperty(java.lang.String definitionValue)
definitionValue - the specified definitionValue value
public java.util.Vector findConceptWithRoleMatching(java.lang.String rolename,
java.lang.String pattern,
int matchLimit)
rolename - all returned concepts should have this role.pattern - concept role value pattern for searching.matchLimit - maximum number of records
public java.util.Vector findConceptWithPropertyMatching(java.lang.String propertyname,
java.lang.String pattern,
int matchLimit)
propertyname - all returned concepts should have the value of this
Property.pattern - concept property value pattern for searchingmatchLimit - maximum number of records
public java.util.Vector getMatches(java.lang.String pattern,
int matchLimit)
pattern - search pattern stringmatchLimit - the maximum number of matches to be returned
public java.util.Vector getRoleNames(java.lang.String conceptname)
conceptname - concept name
public java.util.Vector getRoleNames(java.lang.String conceptname,
int namespaceId)
conceptname - the specified concept namenamespaceId - namespace id
public java.util.Vector getRoleValues(java.lang.String conceptname,
java.lang.String rolename)
conceptname - concept namerolename - role name
public java.util.Vector getRoleValues(java.lang.String conceptname,
java.lang.String rolename,
int namespaceId)
conceptname - the specified concept namerolename - the specified role namenamespaceId - namespace id
public java.util.Vector getPropertyNames(java.lang.String conceptname)
conceptname - the specified concept name
public java.util.Vector getPropertyNames(java.lang.String conceptname,
int namespaceId)
conceptname - the specified concept namenamespaceId - namespace id
public java.util.Vector getPropertyValues(java.lang.String conceptname,
java.lang.String propertyname)
conceptname - concept namepropertyname - property name
public java.util.Vector getPropertyValues(java.lang.String conceptname,
java.lang.String propertyname,
int namespaceId)
conceptname - the specified concept namepropertyname - the specified property namenamespaceId - namespace id
public java.util.Vector getRolesByConceptName(java.lang.String conceptname)
conceptname - concept name
public java.util.Vector getRolesByConceptName(java.lang.String conceptname,
int namespaceId)
conceptname - the specified concept namenamespaceId - namespace id
public java.util.Vector getPropertiesByConceptName(java.lang.String conceptname)
conceptname - the specified concept name
public java.util.Vector getPropertiesByConceptName(java.lang.String conceptname,
int namespaceId)
conceptname - the specified concept namenamespaceId - namespace id
public java.util.Vector getSuperConcepts(java.lang.String inputvalue,
java.lang.Boolean inputcodeObj,
java.lang.Boolean outputcodeObj)
inputvalue - code or the specified concept nameinputcodeObj - a Boolean true - if inputvalue is a concept code ;
false - it is a concept name.outputcodeObj - a Boolean true - if returned value is a concept
code ; false - it is a concept name.
public java.util.Vector getSuperConcepts(java.lang.String inputvalue,
boolean inputcode,
boolean outputcode)
inputvalue - code or the specified concept nameinputcode - a Boolean true - if inputvalue is a concept code ;
false - it is a concept name.outputcode - a Boolean true - if returned value is a concept code
; false - it is a concept name.
public java.util.Vector getSuperConcepts(java.lang.String inputvalue,
boolean inputcode,
boolean outputcode,
int namespaceId)
inputvalue - code or the specified concept nameinputcode - a Boolean true - if inputvalue is a concept code ;
false - it is a concept name.outputcode - a Boolean true - if returned value is a concept code
; false - it is a concept name.namespaceId - namespace id
public java.util.Vector getSubConcepts(java.lang.String inputvalue,
java.lang.Boolean inputcodeObj,
java.lang.Boolean outputcodeObj,
int namespaceId)
inputvalue - input name (or code)inputcodeObj - a Boolean true - if returned value is a concept
code ; false - it is a concept name.outputcodeObj - a Boolean true - if returned value is a concept
code ; false - it is a concept name.namespaceId - namespace id
public java.util.Vector getSubConcepts(java.lang.String inputvalue,
java.lang.Boolean inputcodeObj,
java.lang.Boolean outputcodeObj)
inputvalue - code or the specified concept nameinputcodeObj - a Boolean true - if returned value is a concept
code ; false - it is a concept name.outputcodeObj - a boolean true - if returned value is a concept
code ; false - it is a concept name.
public java.util.Vector getSubConcepts(java.lang.String inputvalue,
boolean inputcode,
boolean outputcode)
inputvalue - code or the specified concept nameinputcode - a boolean true - if inputvalue is a concept code;
false - it is a concept name.outputcode - a boolean true - if returned value is a concept code
; false - it is a concept name.
public java.util.Vector getSubConcepts(java.lang.String inputvalue,
boolean inputcode,
boolean outputcode,
int namespaceId)
inputvalue - code or the specified concept nameinputcode - a boolean true - if inputvalue is a concept code;
false - it is a concept name.outputcode - a boolean true - if returned value is a concept code
; false - it is a concept name.namespaceId - namespace id
public java.util.Vector getAllRoleNames()
public java.util.Vector getAllRoleNames(int namespaceId)
namespaceId - namespace id
public java.util.Vector getConceptEditActionDates(java.lang.String inCode,
java.lang.String action)
inCode - concept codeaction - edit action index
public java.util.Vector getConceptEditActionDates(java.lang.String inCode,
int iAction)
inCode - concept codeiAction - edit action index
public java.util.Vector getConceptEditActionDates(int namespaceId,
java.lang.String inCode,
int iAction)
namespaceId - namespace idinCode - concept codeiAction - edit action index
public boolean isSubConceptByCode(java.lang.String concept1,
java.lang.String concept2)
concept1 - the code of the first concept (subconcept)concept2 - the code of the second concept (superconcept)
public boolean isSubConceptByCode(java.lang.String concept1,
java.lang.String concept2,
int namespaceId)
isChildByCode(String,String) since DTSRPC
1.3.1
concept1 - the code of the first concept (subconcept)concept2 - the code of the first concept (superconcept)namespaceId - namespace id
public java.lang.Boolean isChildByCode(java.lang.String concept1,
java.lang.String concept2)
concept1 - the subconcept codeconcept2 - the superconcept code
public java.lang.Boolean isChildByCode(java.lang.String concept1,
java.lang.String concept2,
int namespaceId)
concept1 - the code of the first conceptconcept2 - the code of the second conceptnamespaceId - namespace id
public java.util.Vector getPropertyTypes()
public java.util.Vector getMatchedTerms(java.lang.String pattern,
int searchLimit)
pattern - search patternsearchLimit - maximum number of MatchedTerm to return
public java.util.Vector getMatchedTerms(java.lang.String pattern,
int searchLimit,
java.util.Vector namespace_vec,
java.util.Vector kind_vec)
pattern - search patternsearchLimit - maximum number of MatchedTerm to returnnamespace_vec - a vector of namespace nameskind_vec - a vector of kind names
public java.util.Vector getMatchedTerms(java.lang.String pattern,
int initial_index,
int final_index)
pattern - search patterninitial_index - initial indexfinal_index - final index
public java.util.Vector getMatchedTerms(java.lang.String pattern,
int initial_index,
int final_index,
java.util.Vector namespace_vec,
java.util.Vector kind_vec)
pattern - search patterninitial_index - initial indexfinal_index - final indexnamespace_vec - a vector of namespace nameskind_vec - a vector of kind names
public java.lang.Integer getMatchedTermCount(java.lang.String pattern)
pattern - search pattern
public java.lang.Integer getMatchedTermCount(java.lang.String pattern,
java.util.Vector namespace_vec,
java.util.Vector kind_vec)
pattern - search patternnamespace_vec - a vector of namespace nameskind_vec - a vector of kind names
public java.lang.String getNamespaceDescription(java.lang.String namespaceName)
namespaceName - namespace name
public java.util.Vector sortMatchedTerms(java.util.Vector matchedterm_vec,
int first_by)
matchedterm_vec - an input vector containing MatchedTerm objectsfirst_by - the index of a member variable of MatchedTerm
public java.util.Vector sortMatchedTerms(java.util.Vector matchedterm_vec,
int first_by,
int next_by)
matchedterm_vec - an input vector containing MatchedTerm objectsfirst_by - the index of the first member variable of MatchedTermnext_by - the index of the second member variable of MatchedTerm
public boolean hasSubconcepts(java.lang.String conceptname)
conceptname - concept name
public boolean hasSubconcepts(java.lang.String conceptname,
int namespaceId)
hasChildren(java.lang.String) since DTSRPC 1.3.1
conceptname - concept namenamespaceId - namespace id
public java.lang.Boolean hasChildren(java.lang.String conceptname)
conceptname - concept name
public java.lang.Boolean hasChildren(java.lang.String conceptname,
int namespaceId)
conceptname - concept namenamespaceId - namespace id
public boolean isSubConcept(java.lang.String concept1,
java.lang.String concept2)
concept1 - the name of the first conceptconcept2 - the name of the second concept
public boolean isSubConcept(java.lang.String concept1,
java.lang.String concept2,
int namespaceId)
isChild(java.lang.String, java.lang.String) since DTSRPC 1.3.1
concept1 - the name of the first conceptconcept2 - the name of the second conceptnamespaceId - namespace id
public java.lang.Boolean isChild(java.lang.String concept1,
java.lang.String concept2)
concept1 - the name of the first conceptconcept2 - the name of the second concept
public java.lang.Boolean isChild(java.lang.String concept1,
java.lang.String concept2,
int namespaceId)
concept1 - the name of the first conceptconcept2 - the name of the second conceptnamespaceId - namespace id
public java.util.Vector getAllSubConceptNames(java.lang.String conceptName)
conceptName - concept name
public java.util.Vector getAllSubConceptNames(java.lang.String conceptName,
int namespaceId)
conceptName - concept namenamespaceId - namespace id
public java.util.Vector getAllSubConceptCodes(java.lang.String conceptCode)
conceptCode - concept code
public java.util.Vector getAllSubConceptCodes(java.lang.String conceptCode,
int namespaceId)
conceptCode - concept codenamespaceId - namespace id
public boolean hasSuperconcepts(java.lang.String conceptname)
conceptname - concept name
public boolean hasSuperconcepts(java.lang.String conceptname,
int namespaceId)
hasParents(java.lang.String) since DTSRPC 1.3.1
conceptname - concept namenamespaceId - namespace id
public java.lang.Boolean hasParents(java.lang.String conceptname)
conceptname - concept name
public java.lang.Boolean hasParents(java.lang.String conceptname,
int namespaceId)
conceptname - concept namenamespaceId - namespace id
public java.lang.String getNamespaceType(java.lang.String namespaceName)
namespaceName - name of Namespace
public int PingServer()
public javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname,
boolean direction,
int levels,
AttributeSetDescriptor attributes,
boolean isaflag,
java.util.Vector rolenames,
int namespaceId)
rootname - the name of the root conceptdirection - a boolean value; set to true, if traverse down; to
false, otherwiselevels - the depth of the treeattributes - an AttributeSetDescriptor instance (Note: To retrieve a subtree of
a pre-cached mixed tree (graph), set this parameter to NO_ATTRIBUTES.)isaflag - a boolean value; set to true, if the tree contains
taxonomy (is a relationships); to false, otherwiserolenames - the names of role relationshipsnamespaceId - namespace id
public java.lang.String isCacheDone()
public boolean isTreeDataAvailable()
public boolean isUp()
public java.util.Vector findTermsByName(java.lang.String termname_in)
termname_in - term name (search criteria)
public java.util.Vector findTermsByName(java.lang.String termname_in,
int namespaceId)
termname_in - term name (search criteria)namespaceId - namespace id
public java.util.Vector fetchDTSProperties(java.lang.String term_in)
term_in - a term name
public java.util.Vector fetchDTSProperties(java.lang.String term_in,
int namespaceId)
term_in - a term namenamespaceId - namespace id
public java.util.Vector fetchTermAssociations(java.lang.String term_in)
term_in - a term name
public java.util.Vector fetchTermAssociations(java.lang.String term_in,
int namespaceId)
term_in - a term namenamespaceId - namespace id
public java.lang.Boolean containsRole(java.lang.String role_name,
java.lang.String role_value,
java.lang.String ontylogconcept_in)
role_name - role namerole_value - role valueontylogconcept_in - the name of the specific ontylog concept
public java.lang.Boolean containsRole(java.lang.String role_name,
java.lang.String role_value,
java.lang.String ontylogconcept_in,
int namespaceId)
role_name - role namerole_value - role valueontylogconcept_in - the name of the specific ontylog conceptnamespaceId - namespace id
public java.lang.Boolean containsInverseRole(java.lang.String role_name,
java.lang.String role_value,
java.lang.String ontylogconcept_in)
role_name - role namerole_value - role valueontylogconcept_in - the name of the specific ontylog concept
public java.lang.Boolean containsInverseRole(java.lang.String role_name,
java.lang.String role_value,
java.lang.String ontylogconcept_in,
int namespaceId)
role_name - role namerole_value - role valueontylogconcept_in - the name of the specific ontylog conceptnamespaceId - namespace id
public java.lang.Boolean isSubConceptByName(java.lang.String concept1,
java.lang.String concept2)
concept1 - - a concept nameconcept2 - - a concept name
public java.lang.Boolean isSubConceptByName(java.lang.String concept1,
java.lang.String concept2,
int namespaceId)
concept1 - - a concept nameconcept2 - - a concept namenamespaceId - - namespace ID of the two Ontylog concepts
public java.util.Vector isSubConceptByName(java.lang.String concept1,
java.util.Vector concepts_in)
concept1 - - a concept nameconcepts_in - a list of concept names
public java.util.Vector isSubConceptByName(java.lang.String concept1,
java.util.Vector concepts_in,
int namespaceId)
concept1 - - a concept nameconcepts_in - a list of concept namesnamespaceId - - namespace ID of the two Ontylog concepts
public java.util.Vector getNamespaceNames()
public java.util.Vector getKindNames()
public java.util.Vector getAllAssociationTypes()
public java.util.Vector getAllConceptAssociationTypes()
public java.util.Vector getConceptAssociationTypes()
public java.util.Vector getConceptAssociationTypes(int namespaceId)
namespaceId - - desired namespace ID of association types
public java.util.Vector getAllTermAssociationTypes()
public java.util.Vector getTermAssociationTypes()
public java.util.Vector getTermAssociationTypes(int namespaceId)
namespaceId - namespace id
public java.util.Vector getAllSynonymTypes()
public java.util.Vector getSynonymTypes()
public java.util.Vector getSynonymTypes(int namespaceId)
namespaceId - namespace id
public java.util.Vector findConceptsById(java.util.Vector conceptIds_in)
conceptIds_in - a vector of concept ids
public java.util.Vector findConceptsById(java.util.Vector conceptIds_in,
java.util.Vector namespaceIds_in)
conceptIds_in - a vector of concept idsnamespaceIds_in - a vector of namespace ids
public java.util.Vector findConceptsByCode(java.util.Vector conceptCodes_in)
conceptCodes_in - a vector of concept codes
public java.util.Vector findConceptsByCode(java.util.Vector conceptCodes_in,
java.util.Vector namespaceIds_in)
conceptCodes_in - a vector of concept codesnamespaceIds_in - a vector of namespace ids
public java.util.Vector getAllConceptPropertyTypes()
public java.util.Vector getConceptPropertyTypes()
public java.util.Vector getConceptPropertyTypes(int namespaceId)
namespaceId - - the ID of the namespace of interest
public java.util.Vector getAllTermPropertyTypes()
public java.util.Vector getTermPropertyTypes()
public java.util.Vector getTermPropertyTypes(int namespaceId)
namespaceId - - the ID of the namespace of interest
public java.lang.String ping(boolean db)
db - if true, return date from db
public java.util.Vector getHistoryDates()
public java.util.Vector getHistoryRecords(java.lang.String vocabularyName,
java.lang.String conceptcode)
vocabularyName - vocabulary nameconceptcode - concept code
public java.util.Vector getHistoryRecords(java.lang.String vocabularyName,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
vocabularyName - vocabulary nameiBaselineDate_in - initial baseline datefBaselineDate_in - final baseline date
public java.util.Vector getHistoryRecords(java.lang.String vocabularyName,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in,
java.lang.String conceptcode)
vocabularyName - vocabulary nameiBaselineDate_in - initial baseline datefBaselineDate_in - final baseline dateconceptcode - concept code
public java.util.Date getHistoryStart()
public java.util.Date getHistoryEnd()
public java.util.Date getConceptCreationDate(java.lang.String inCode)
inCode - - The specified concept's code.
public java.util.Date getConceptCreationDate(int namespaceId,
java.lang.String inCode)
namespaceId - - The namespace id of the conceptinCode - The specified concept's code.
public java.util.Vector getDescendantCodes(java.lang.String inCode,
boolean atBaseline,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
inCode - The specified concept's code.atBaseline - The boolean value to specify the search type.iBaselineDate_in - initial baseline datefBaselineDate_in - final baseline date
public java.util.Vector getDescendantCodes(int namespaceId,
java.lang.String inCode,
boolean atBaseline,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
namespaceId - The namespace id of the conceptinCode - The specified concept's code.atBaseline - The boolean value to specify the search type.iBaselineDate_in - initial baseline datefBaselineDate_in - final baseline date
public java.util.Vector getCodeActionChildren(java.lang.String inCode,
java.util.Date baselineDate_in)
inCode - - The specified concept's code.baselineDate_in - baseline date
public java.util.Vector getCodeActionChildren(int namespaceId,
java.lang.String inCode,
java.util.Date baselineDate_in)
namespaceId - - The namespace id of the conceptinCode - - The specified concept's code.baselineDate_in - baseline date
public java.util.Vector getDescendantCodeActionDates(java.lang.String inCode,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
inCode - - The specified concept's code.iBaselineDate_in - initial baseline datefBaselineDate_in - final baseline date
public java.util.Vector getDescendantCodeActionDates(int namespaceId,
java.lang.String inCode,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
namespaceId - namespace idinCode - - The specified concept's code.iBaselineDate_in - initial baseline datefBaselineDate_in - final baseline date
public java.util.Vector getAncestorCodes(java.lang.String inCode,
boolean atBaseline,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
inCode - - The specified concept's code.atBaseline - - The boolean value to specify the search type.iBaselineDate_in - - The initial baseline date.fBaselineDate_in - - The final baseline date.
public java.util.Vector getAncestorCodes(int namespaceId,
java.lang.String inCode,
boolean atBaseline,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
namespaceId - - The namespace id of the conceptinCode - - The specified concept's code.atBaseline - - The boolean value to specify the search type.iBaselineDate_in - - The initial baseline date.fBaselineDate_in - - The final baseline date.
public java.util.Vector getCodeActionParents(java.lang.String inCode,
java.util.Date baselineDate_in)
inCode - - The specified concept's code.baselineDate_in - - The specified baseline date.
public java.util.Vector getCodeActionParents(int namespaceId,
java.lang.String inCode,
java.util.Date baselineDate_in)
namespaceId - - The namespace id of the conceptinCode - - The specified concept's code.baselineDate_in - - The specified baseline date.
public java.util.Vector getAncestorCodeActionDates(java.lang.String inCode,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
inCode - - The specified concept's code.iBaselineDate_in - - The initial baseline date.fBaselineDate_in - - The final baseline date.
public java.util.Vector getAncestorCodeActionDates(int namespaceId,
java.lang.String inCode,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
namespaceId - - namespace idinCode - - The specified concept's code.iBaselineDate_in - - The initial baseline date.fBaselineDate_in - - The final baseline date.
public java.util.Vector getConceptEditAction(java.lang.String inCode)
inCode - - The specified concept's code.
public java.util.Vector getConceptEditAction(int namespaceId,
java.lang.String inCode)
namespaceId - - namespace idinCode - - The specified concept's code.
public boolean isConceptRetired(java.lang.String inCode)
isRetired(java.lang.String) since DTSRPC 1.3.1
inCode - - The specified concept's code.
public boolean isConceptRetired(int namespaceId,
java.lang.String inCode)
isRetired(java.lang.String) since DTSRPC 1.3.1
namespaceId - - namespace idinCode - - The specified concept's code.
public java.lang.Boolean isRetired(java.lang.String inCode)
inCode - - The specified concept's code.
public java.lang.Boolean isRetired(int namespaceId,
java.lang.String inCode)
namespaceId - - namespace idinCode - - The specified concept's code.
public boolean isConceptEdited(java.lang.String inCode,
boolean mrg_splt,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
inCode - - The specified concept's code.mrg_splt - - True - only check for "merge or split" editing
action. False - check for any editing action.iBaselineDate_in - - The initial baseline date.fBaselineDate_in - - The final baseline date.
public boolean isConceptEdited(int namespaceId,
java.lang.String inCode,
boolean mrg_splt,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
namespaceId - - namespace idinCode - - The specified concept's code.mrg_splt - - True - only check for "merge or split" editing
action. False - check for any editing action.iBaselineDate_in - - The initial baseline date.fBaselineDate_in - - The final baseline date.
public java.lang.Boolean isEdited(java.lang.String inCode,
boolean mrg_splt,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
inCode - - The specified concept's code.mrg_splt - - True - only check for "merge or split" editing
action. False - check for any editing action.iBaselineDate_in - - The initial baseline date.fBaselineDate_in - - The final baseline date.
public java.lang.Boolean isEdited(int namespaceId,
java.lang.String inCode,
boolean mrg_splt,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
namespaceId - - namespace idinCode - - The specified concept's code.mrg_splt - - True - only check for "merge or split" editing
action. False - check for any editing action.iBaselineDate_in - - The initial baseline date.fBaselineDate_in - - The final baseline date.
public int getNumberEditActions(java.lang.String inCode,
java.util.Date baselineDate_in)
inCode - - The specified concept's code.baselineDate_in - - The specified baseline date.
public int getNumberEditActions(int namespaceId,
java.lang.String inCode,
java.util.Date baselineDate_in)
namespaceId - The namespace of the conceptinCode - The specified concept's code.baselineDate_in - The baseline date
public int getNumberEditActions(java.lang.String inCode,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
inCode - - The specified concept's code.iBaselineDate_in - - initial baseline datefBaselineDate_in - - final baseline date
public int getNumberEditActions(int namespaceId,
java.lang.String inCode,
java.util.Date iBaselineDate_in,
java.util.Date fBaselineDate_in)
namespaceId - - namespace idinCode - - The specified concept's code.iBaselineDate_in - - The initial baseline date.fBaselineDate_in - - The final baseline date.
public java.util.Vector getConceptEditAction(java.lang.String inCode,
java.util.Date baselineDate_in)
inCode - - The specified concept's code.baselineDate_in - baseline date
public java.util.Vector getConceptEditAction(int namespaceId,
java.lang.String inCode,
java.util.Date baselineDate_in)
namespaceId - - namespace idinCode - - The specified concept's code.baselineDate_in - baseline date
public java.lang.String getLicense(java.lang.String source)
source - - the source for which the license is to be retreived
public java.util.Vector getAllLicenses(java.lang.String condition)
condition - the value of a condition parameter
public java.util.Vector findConceptsWithSiloMatching(java.lang.String pattern,
int limit)
pattern - - the query string (pattern) on which the search is basedlimit - the maximum number of matches to be returned
public java.util.Vector findConceptsWithSiloMatching(java.lang.String pattern,
int limit,
java.lang.String siloname)
pattern - - the query string (pattern) on which the search is basedlimit - the maximum number of matches to be returnedsiloname - the name of Silo where the search will be performed
public Concept[] findConceptsWithSiloMatching(java.lang.String pattern,
int limit,
int ASD_index,
boolean bestMatchOnly,
boolean spellCorrection,
boolean closeResult,
int matchtype_index,
java.lang.String siloname)
pattern - - the query string (pattern) on which the search is basedlimit - the maximum number of matches to be returnedASD_index - concept attribute set descriptor indexbestMatchOnly - indicator variable true if best match only;
false, otherwisespellCorrection - indicator variable true if spell checking is
used, false, otherwisecloseResult - indicator variable true if shortest match rule is
applied, false, otherwisematchtype_index - 1: complete match; 2: partial under match; 3:
under matchsiloname - silo name
public java.util.Vector searchSilo(java.lang.String pattern,
int limit)
pattern - - the words to search forlimit - the maximum number of matches to be returned
public java.lang.String findNamespaceById(int namespaceId)
namespaceId - - the namespace ID
public java.lang.String findNamespaceByCode(java.lang.String namespaceCode)
namespaceCode - - the namespace code
public java.util.Vector getVersions()
public java.util.Vector getVersions(int namespaceId)
namespaceId - - the namespace ID
public java.util.Vector getAuthorities()
public java.lang.Boolean hasPermission()
public java.lang.Boolean hasPermission(int namespaceId)
namespaceId - - the ID of the namespace to check for permission
public java.util.Vector getConceptChildRoots()
public java.util.Vector getConceptChildRoots(int namespaceId)
namespaceId - namespace id
public java.lang.Boolean isSubConceptById(int conceptId1,
int conceptId2)
conceptId1 - a concept IDconceptId2 - a concept ID
public java.lang.Boolean isSubConceptById(int conceptId1,
int conceptId2,
int namespaceId)
conceptId1 - a concept IDconceptId2 - a concept IDnamespaceId - namespace id
public java.util.Vector getFetchedRoles(java.lang.String ontylogconcept_in)
ontylogconcept_in - the name of an ontylog concept
public java.util.Vector getFetchedRoles(java.lang.String ontylogconcept_in,
int namespaceId)
ontylogconcept_in - the name of an ontylog conceptnamespaceId - namespace id
public int getNumberOfSpecifiedRoles(java.lang.String ontylogconcept_in)
ontylogconcept_in - the name of an ontylog concept
public int getNumberOfSpecifiedRoles(java.lang.String ontylogconcept_in,
int namespaceId)
ontylogconcept_in - the name of an ontylog conceptnamespaceId - namespace id
public java.util.Vector getFetchedInverseRoles(java.lang.String ontylogconcept_in)
ontylogconcept_in - concept name
public java.util.Vector getFetchedInverseRoles(java.lang.String ontylogconcept_in,
int namespaceId)
ontylogconcept_in - concept name
public int getNumberOfSpecifiedInverseRoles(java.lang.String ontylogconcept_in)
ontylogconcept_in - the name of an ontylog concept
public int getNumberOfSpecifiedInverseRoles(java.lang.String ontylogconcept_in,
int namespaceId)
ontylogconcept_in - the name of an ontylog conceptnamespaceId - namespace id
public java.lang.Boolean getFetchedHasSubs(java.lang.String ontylogconcept_in)
ontylogconcept_in - the name of an ontylog concept
public java.lang.Boolean getFetchedHasSubs(java.lang.String ontylogconcept_in,
int namespaceId)
ontylogconcept_in - the name of an ontylog conceptnamespaceId - namespace id
public java.lang.Boolean getFetchedHasSups(java.lang.String ontylogconcept_in)
ontylogconcept_in - the name of an ontylog concept
public java.lang.Boolean getFetchedHasSups(java.lang.String ontylogconcept_in,
int namespaceId)
ontylogconcept_in - the name of an ontylog conceptnamespaceId - namespace id
public java.util.Vector getAllQualifierTypes()
public java.util.Vector getAllConceptPropertyQualifierTypes()
public java.util.Vector getConceptPropertyQualifierTypes()
public java.util.Vector getConceptPropertyQualifierTypes(int namespaceId)
namespaceId - - the ID of the namespace of interest
public java.util.Vector getAllTermPropertyQualifierTypes()
public java.util.Vector getTermPropertyQualifierTypes()
public java.util.Vector getTermPropertyQualifierTypes(int namespaceId)
namespaceId - - the ID of the namespace of interest
public java.util.Vector getAllConceptAssociationQualifierTypes()
public java.util.Vector getConceptAssociationQualifierTypes()
public java.util.Vector getConceptAssociationQualifierTypes(int namespaceId)
namespaceId - - the ID of the namespace of interest
public java.util.Vector getAllTermAssociationQualifierTypes()
public java.util.Vector getTermAssociationQualifierTypes()
public java.util.Vector getTermAssociationQualifierTypes(int namespaceId)
namespaceId - - the ID of the namespace of interest
public java.util.Vector findConceptsWithNameMatching(java.lang.String pattern,
int searchLimit)
pattern - the query string (pattern) on which the search is basedsearchLimit - the maximum number of matches
public java.util.Vector findConceptsWithNameMatching(java.lang.String pattern,
int searchLimit,
int namespaceId)
pattern - the query string (pattern) on which the search is basedsearchLimit - the maximum number of matchesnamespaceId - namespace id
public java.util.Vector findConceptsWithNameMatching(java.lang.String pattern,
int searchLimit,
boolean synonyms)
pattern - the query string (pattern) on which the search is basedsearchLimit - the maximum number of matchessynonyms - if true searches by synonym name and concept name.
public java.util.Vector findConceptsWithNameMatching(java.lang.String pattern,
int searchLimit,
boolean synonyms,
int namespaceId)
pattern - the query string (pattern) on which the search is basedsearchLimit - the maximum number of matchessynonyms - if true searches by synonym name and concept name.namespaceId - namespace id
public java.util.Vector findConceptsWithPropertyMatching(java.lang.String propType_in,
java.lang.String pattern,
int searchLimit)
propType_in - the name of a property typepattern - the query string (pattern) on which the search is basedsearchLimit - the maximum number of matches
public java.util.Vector findConceptsWithPropertyMatching(java.lang.String propType_in,
java.lang.String pattern,
int searchLimit,
int namespaceId)
propType_in - the name of a property typepattern - the query string (pattern) on which the search is basedsearchLimit - the maximum number of matchesnamespaceId - namespace id
public java.util.Vector findConceptsWithPropertyContaining(java.lang.String propType_in,
java.lang.String pattern,
int searchLimit)
propType_in - the name of a property typepattern - the query string (pattern) on which the search is basedsearchLimit - the maximum number of matches
public java.util.Vector findConceptsWithPropertyContaining(java.lang.String propType_in,
java.lang.String pattern,
int searchLimit,
int namespaceId)
propType_in - the name of a property typepattern - the query string (pattern) on which the search is basedsearchLimit - the maximum number of matchesnamespaceId - namespace id
public java.util.Vector findConceptsWithRoleMatching(java.lang.String roleType_in,
java.lang.String pattern,
int searchLimit)
roleType_in - the name of a role typepattern - the query string (pattern) on which the search is basedsearchLimit - the maximum number of matches
public java.util.Vector findConceptsWithRoleMatching(java.lang.String roleType_in,
java.lang.String pattern,
int searchLimit,
int namespaceId)
roleType_in - the name of a role typepattern - the query string on which the search is basedsearchLimit - the maximum number of matchesnamespaceId - namespace id
public java.util.Vector findConceptsWithInverseRoleMatching(java.lang.String roleType_in,
java.lang.String pattern,
int searchLimit)
roleType_in - the name of a role typepattern - the query string (pattern) on which the search is basedsearchLimit - the maximum number of matches
public java.util.Vector findConceptsWithInverseRoleMatching(java.lang.String roleType_in,
java.lang.String pattern,
int searchLimit,
int namespaceId)
roleType_in - the name of a role typepattern - the query string (pattern) on which the search is basedsearchLimit - the maximum number of matchesnamespaceId - namespace id
public java.util.Vector findConceptsWithConceptAssociationMatching(java.lang.String conceptAssocType_in,
java.lang.String toConceptName,
int searchLimit)
conceptAssocType_in - concept association type to search fortoConceptName - the to concept namesearchLimit - the maximum number of matches
public java.util.Vector findConceptsWithConceptAssociationMatching(java.lang.String conceptAssocType_in,
java.lang.String toConceptName,
int searchLimit,
int namespaceId)
conceptAssocType_in - concept association type to search fortoConceptName - the to concept namesearchLimit - the maximum number of matchesnamespaceId - namespace id
public java.util.Vector findConceptsWithInverseConceptAssociationMatching(java.lang.String invConceptAssocType_in,
java.lang.String fromConceptName,
int searchLimit)
invConceptAssocType_in - concept association type to search forfromConceptName - the from concept namesearchLimit - the maximum number of matches
public java.util.Vector findConceptsWithInverseConceptAssociationMatching(java.lang.String invConceptAssocType_in,
java.lang.String fromConceptName,
int searchLimit,
int namespaceId)
invConceptAssocType_in - concept association type to search forfromConceptName - the from concept namesearchLimit - the maximum number of matchesnamespaceId - namespace id
public java.util.Vector findConceptsWithSynonymMatching(java.lang.String synonymType_in,
java.lang.String synonymTermName,
int searchLimit)
synonymType_in - synonym type to search forsynonymTermName - the synonym namesearchLimit - the maximum number of matches
public java.util.Vector findConceptsWithSynonymMatching(java.lang.String synonymType_in,
java.lang.String synonymTermName,
int searchLimit,
int namespaceId)
synonymType_in - synonym type to search forsynonymTermName - the synonym namesearchLimit - the maximum number of matchesnamespaceId - namespace id
public java.lang.String getMatchString(java.lang.String term_in)
term_in - input term code
public java.lang.String getMatchString(java.lang.String term_in,
int namespaceId)
term_in - input term codenamespaceId - namespace id
public java.lang.String getMatchItemType(java.lang.String term_in)
term_in - input term code
public java.lang.String getMatchItemType(java.lang.String term_in,
int namespaceId)
term_in - input term codenamespaceId - namespace id
public java.util.Vector getFetchedTermAssociations(java.lang.String term_in)
term_in - input term code
public java.util.Vector getFetchedTermAssociations(java.lang.String term_in,
int namespaceId)
term_in - input term codenamespaceId - namespace id
public int getNumberOfSpecifiedTermAssociations(java.lang.String term_in)
term_in - input term code
public int getNumberOfSpecifiedTermAssociations(java.lang.String term_in,
int namespaceId)
term_in - input term codenamespaceId - namespace id
public java.util.Vector getFetchedInverseTermAssociations(java.lang.String term_in)
term_in - input term code
public java.util.Vector getFetchedInverseTermAssociations(java.lang.String term_in,
int namespaceId)
term_in - input term codenamespaceId - namespace id
public int getNumberOfSpecifiedInverseTermAssociations(java.lang.String term_in)
term_in - input term code
public int getNumberOfSpecifiedInverseTermAssociations(java.lang.String term_in,
int namespaceId)
term_in - input term codenamespaceId - namespace id
public java.util.Vector findTermsWithNameMatching(java.lang.String pattern,
int searchLimit)
pattern - - the term name pattern for searchingsearchLimit - the maximum number of matches to be returned
public java.util.Vector findTermsWithNameMatching(java.lang.String pattern,
int searchLimit,
int namespaceId)
pattern - - the term name pattern for searchingsearchLimit - the maximum number of matches to be returnednamespaceId - namespace id
public Concept[] getConcepts(java.util.Vector conceptNames_in)
conceptNames_in - - a vector containing the specified concept names
public Concept[] getConcepts(java.util.Vector conceptNames_in,
boolean allAttributes)
conceptNames_in - - a vector containing the specified concept
namesallAttributes - boolean variable indicating whether all
attributes of matched concepts should also be retrieved
public Concept[] getConcepts(java.util.Vector conceptNames_in,
int ASD_index,
java.util.Vector namespaceIds_in)
conceptNames_in - - a vector containing the specified concept namesASD_index - - attribute set descriptor index; 0, no attribute; 1:
all attributes; 2: properties only; 3: roles onlynamespaceIds_in - - a vector containing the namespace ids of each
corresponding concept
public PropertyType[] getAllPropertyTypes()
public PropertyType[] getAllPropertyTypes(int namespaceId)
namespaceId - - namespace id
public Silo[] getAllSilos()
public RoleType[] getAllRoleTypes()
public RoleType[] getAllRoleTypesInNamespace()
public RoleType[] getAllRoleTypes(int namespaceId)
namespaceId - - namespace id
public RoleType getRoleTypeById(int roleId)
roleId - - role id
public RoleType getRoleTypeById(int roleId,
int namespaceId)
roleId - role idnamespaceId - namespace id
public RoleType getRoleTypeByName(java.lang.String roleName)
roleName - role name
public RoleType getRoleTypeByName(java.lang.String roleName,
int namespaceId)
roleName - role namenamespaceId - namespace id
public PropertyType getPropertyTypeById(int propertyId)
propertyId - property id
public PropertyType getPropertyTypeById(int propertyId,
int namespaceId)
propertyId - property idnamespaceId - - namespace id
public PropertyType getPropertyTypeByName(java.lang.String propertyName)
propertyName - - property name
public PropertyType getPropertyTypeByName(java.lang.String propertyName,
int namespaceId)
propertyName - - property namenamespaceId - - namespace id
public Concept getConcept(java.lang.String inputvalue,
boolean inputcode,
int ASD_index,
int namespaceId)
inputvalue - - Concept name, if inputcode is true; concept code,
if otherwiseinputcode - - true, if inputvalue is a concept name, false,
otherwiseASD_index - - attribute set descriptor index; 0, no
attribute; 1: all attributes; 2: properties only; 3: roles onlynamespaceId - - namespace Id
public Concept getConcept(java.lang.String inputvalue,
boolean inputcode,
int ASD_index)
inputvalue - - Concept name, if inputcode is true; concept code,
if otherwiseinputcode - - true, if inputvalue is a concept name, false,
otherwiseASD_index - - attribute set descriptor index; 0, no
attribute; 1: all attributes; 2: properties only; 3: roles only
public Concept findConcept(java.lang.String conceptname)
conceptname - - Concept name
public Concept findConcept(java.lang.String conceptname,
boolean allAttributes)
conceptname - - Concept nameallAttributes - - 1, if all attributes are retrieved; 0, if
no attribute is retrieved.
public Concept findConcept(java.lang.String conceptname,
int namespaceId)
conceptname - - Concept namenamespaceId - - namespace Id
public Concept findConcept(java.lang.String conceptname,
int ASD_index,
int namespaceId)
conceptname - - Concept nameASD_index - - attribute set descriptor index; 0, no attribute; 1:
all attributes; 2: properties only; 3: roles onlynamespaceId - - namespace Id
public Concept findConceptByCode(java.lang.String conceptcode)
conceptcode - - Concept code
public Concept findConceptByCode(java.lang.String conceptcode,
boolean allAttributes)
conceptcode - - Concept codeallAttributes - - boolean false, if no attribute is
retrieved; true: if all attributes are retrieved
public Concept findConceptByCode(java.lang.String conceptcode,
int namespaceId)
conceptcode - - Concept codenamespaceId - - namespace Id
public Concept findConceptByCode(java.lang.String conceptcode,
int ASD_index,
int namespaceId)
conceptcode - - Concept codeASD_index - - attribute set descriptor index; 0, no attribute; 1:
all attributes; 2: properties only; 3: roles onlynamespaceId - - namespace Id
public Concept[] getDirectSubs(java.lang.String conceptname)
conceptname - - Concept name
public Concept[] getDirectSubs(java.lang.String conceptname,
boolean allAttributes)
conceptname - - Concept nameallAttributes - - boolean true, if all attributes are
retrieved; false, if no attribute is retrieved
public Concept[] getDirectSubs(java.lang.String conceptname,
int namespaceId)
conceptname - - Concept namenamespaceId - - namespace Id
public Concept[] getDirectSubs(java.lang.String conceptname,
int ASD_index,
int namespaceId)
conceptname - - Concept nameASD_index - - attribute set descriptor index; 0, no
attribute; 1: all attributes; 2: properties only; 3: roles onlynamespaceId - - namespace Id
public Concept[] getDirectSubs(java.lang.String inputvalue,
boolean inputcode,
int ASD_index,
int namespaceId)
inputvalue - - Concept name, if inputcode is true; concept code,
if otherwiseinputcode - - true, if inputvalue is a concept name, false,
otherwiseASD_index - - attribute set descriptor index; 0, no
attribute; 1: all attributes; 2: properties only; 3: roles onlynamespaceId - - namespace Id
public Concept[] getDirectSups(java.lang.String conceptname)
conceptname - - Concept name
public Concept[] getDirectSups(java.lang.String conceptname,
boolean allAttributes)
conceptname - - Concept nameallAttributes - - a boolean variable, true, if all
attributes are retrieved; false, otherwise.
public Concept[] getDirectSups(java.lang.String conceptname,
int namespaceId)
conceptname - - Concept namenamespaceId - - namespace id
public Concept[] getDirectSups(java.lang.String conceptname,
int ASD_index,
int namespaceId)
conceptname - - Concept nameASD_index - - attribute set descriptor index; 0, no
attribute; 1: all attributes; 2: properties only; 3: roles onlynamespaceId - - namespace Id
public Concept[] getDirectSups(java.lang.String inputvalue,
boolean inputcode,
int ASD_index,
int namespaceId)
inputvalue - - Concept name, if inputcode is true; concept code,
if otherwiseinputcode - - true, if inputvalue is a concept name, false,
otherwiseASD_index - - attribute set descriptor index; 0, no
attribute; 1: all attributes; 2: properties only; 3: roles onlynamespaceId - - namespace Id
public Concept[] getRootConcepts()
public Concept[] getRootConcepts(int namespaceId)
namespaceId - namespace id
public Concept[] getRootConcepts(boolean allAttributes)
allAttributes - - 1, if all attributes are retrieved; 0, if no
attribute is retrieved.
public Concept[] getRootConcepts(int ASD_index,
int namespaceId)
ASD_index - - attribute set descriptor index; 0, no attribute; 1: all
attributes; 2: properties only; 3: roles onlynamespaceId - - namespace Id
public ConceptHistory getConceptHistory(java.lang.String conceptcode)
conceptcode - - concept code
public ConceptHistory getConceptHistory(int namespaceId,
java.lang.String conceptcode)
namespaceId - - namespace idconceptcode - - concept code
public Concept[] searchConcepts(java.lang.String pattern,
int searchLimit)
pattern - search patternsearchLimit - search limit (the maximum number of matches)
public Concept[] searchConcepts(int namespaceId,
java.lang.String pattern,
int searchLimit)
namespaceId - namespace idpattern - search patternsearchLimit - search limit (the maximum number of matches)
public Concept[] searchConcepts(SearchCriteria sc)
sc - - a SearchCriteria object
public Concept[] searchConcepts(java.lang.String pattern,
int limit,
int matchOption,
java.lang.String matchType,
int ASDIndex)
pattern - - search patternlimit - - maximum number of matched conceptsmatchOption - - match optionmatchType - - match type (role or property name)ASDIndex - - attribute set descriptor index
public Concept[] searchConcepts(int namespaceId,
java.lang.String pattern,
int limit,
int matchOption,
java.lang.String matchType,
int ASDIndex)
namespaceId - - namespace Idpattern - - search patternlimit - - maximum number of matched conceptsmatchOption - - match optionmatchType - - match type (role or property name)ASDIndex - - attribute set descriptor index
public javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname,
boolean direction,
AttributeSetDescriptor attributes)
rootname - the name of the root conceptdirection - a boolean variable set to true if tree traverses
down, to false, if otherwiseattributes - a gov.nih.nci.dtsrpc.client.Concept instance
public javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname,
boolean direction,
int level,
AttributeSetDescriptor attributes)
rootname - the name of the root conceptdirection - a boolean variable set to true if tree traverses
down, to false, if otherwiselevel - maximum number of levelsattributes - a gov.nih.nci.dtsrpc.client.AttributeSetDescriptor
instance
public javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname,
boolean direction,
int level,
AttributeSetDescriptor attributes,
int namespaceId)
rootname - the name of the root conceptdirection - a boolean variable set to true if tree traverses
down, to false, if otherwiselevel - maximum number of levelsattributes - a gov.nih.nci.dtsrpc.client.AttributeSetDescriptor
instancenamespaceId - namespace Id
public javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname,
boolean direction,
int level,
AttributeSetDescriptor attributes,
boolean isaflag,
java.util.Vector rolenames)
rootname - the name of the root conceptdirection - a boolean variable set to true if tree traverses
down, to false, if otherwiselevel - maximum number of levelsattributes - a gov.nih.nci.dtsrpc.client.AttributeSetDescriptor
instanceisaflag - a boolean value; set to true, if the tree contains
taxonomy (is a relationships); to false, otherwiserolenames - the names of role relationships
public void printTree(java.io.PrintWriter treeWriter,
javax.swing.tree.DefaultMutableTreeNode root)
treeWriter - an instance of PrintWriterroot - The root (DefaultMutableTreeNode) of the tree
public javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname,
boolean direction,
int levels,
java.lang.String propertyname)
rootname - the name of the root conceptdirection - a boolean variable set to true if tree traverses
down, to false, if otherwiselevels - maximum number of levelspropertyname - - Provides the property name with which to
populate returned concepts.
public javax.swing.tree.DefaultMutableTreeNode getTree(java.lang.String rootname,
boolean direction,
int levels,
java.lang.String propertyname,
int namespaceId)
rootname - the name of the root conceptdirection - a boolean variable set to true if tree traverses
down, to false, if otherwiselevels - maximum number of levelspropertyname - - Provides the property name with which to
populate returned concepts.namespaceId - namespace id
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||