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) |
void |
deleteTerm(String guid) |
List<Term> |
findTerms(String criteria) |
List<Category> |
getCategoriesAPI(String termGuid) |
Term |
getTermByGUID(String guid) |
static int |
getTermCount(String url,
String serverName,
String userId) |
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)
Purge - we should not need to decrement the createdTermsSet as the soft delete should have done this
|
Term |
replaceTerm(String guid,
Term term) |
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 InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public static void main(String[] args)
public static void runWith2Servers(String url) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public static void runIt(String url, String serverName, String userId) throws SubjectAreaFVTCheckedException, InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public static int getTermCount(String url, String serverName, String userId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException, SubjectAreaFVTCheckedException
public void run()
throws SubjectAreaFVTCheckedException,
InvalidParameterException,
PropertyServerException,
UserNotAuthorizedException
public Term createTerm(String termName, String glossaryGuid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public Term issueCreateTerm(Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public Term createTermWithGovernanceActions(String termName, String glossaryGuid, GovernanceActions governanceActions) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public Term getTermByGUID(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public List<Term> findTerms(String criteria) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public Term updateTerm(String guid, Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public Term replaceTerm(String guid, Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public Term restoreTerm(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public Term updateTermToFuture(String guid, Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public void deleteTerm(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public void purgeTerm(String guid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
guid - InvalidParameterExceptionPropertyServerExceptionUserNotAuthorizedExceptionpublic List<Line> getTermRelationships(Term term) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public List<Line> getTermRelationships(Term term, Date asOfTime, int offset, int pageSize, SequencingOrder sequenceOrder, String sequenceProperty) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
public List<Category> getCategoriesAPI(String termGuid) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Copyright © 2018–2020 ODPi. All rights reserved.