public class TermFVT extends Object
| Constructor and Description |
|---|
TermFVT(String url,
String serverName,
String userId) |
| Modifier and Type | Method and Description |
|---|---|
Term |
createTerm(String termName,
String glossaryGuid) |
Term |
createTermWithGovernanceActions(String termName,
String glossaryGuid,
GovernanceActions governanceActions) |
Term |
deleteTerm(String guid) |
List<Term> |
findTerms(String criteria) |
Term |
getTermByGUID(String guid) |
List<Line> |
getTermRelationships(Term term) |
List<Line> |
getTermRelationships(Term term,
Date asOfTime,
int offset,
int pageSize,
SequencingOrder sequenceOrder,
String sequenceProperty) |
Term |
issueCreateTerm(Term term) |
static void |
main(String[] args) |
void |
purgeTerm(String guid) |
Term |
restoreTerm(String guid) |
void |
run() |
static void |
runIt(String url,
String serverName,
String userId) |
static void |
runWith2Servers(String url) |
Term |
updateTerm(String guid,
Term term) |
Term |
updateTermToFuture(String guid,
Term term) |
public TermFVT(String url, String serverName, String userId) throws SubjectAreaCheckedException
SubjectAreaCheckedExceptionpublic static void main(String[] args)
public static void runWith2Servers(String url) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public static void runIt(String url, String serverName, String userId) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public void run()
throws SubjectAreaCheckedException,
SubjectAreaFVTCheckedException
public Term createTerm(String termName, String glossaryGuid) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public Term issueCreateTerm(Term term) throws MetadataServerUncontactableException, InvalidParameterException, UserNotAuthorizedException, ClassificationException, FunctionNotSupportedException, UnexpectedResponseException
public Term createTermWithGovernanceActions(String termName, String glossaryGuid, GovernanceActions governanceActions) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public Term getTermByGUID(String guid) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public List<Term> findTerms(String criteria) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public Term updateTerm(String guid, Term term) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public Term restoreTerm(String guid) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public Term updateTermToFuture(String guid, Term term) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public Term deleteTerm(String guid) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public void purgeTerm(String guid) throws SubjectAreaCheckedException, SubjectAreaFVTCheckedException
public List<Line> getTermRelationships(Term term) throws UserNotAuthorizedException, UnexpectedResponseException, InvalidParameterException, FunctionNotSupportedException, MetadataServerUncontactableException
public List<Line> getTermRelationships(Term term, Date asOfTime, int offset, int pageSize, SequencingOrder sequenceOrder, String sequenceProperty) throws UserNotAuthorizedException, UnexpectedResponseException, InvalidParameterException, FunctionNotSupportedException, MetadataServerUncontactableException
Copyright © 2018–2020 ODPi. All rights reserved.