public class

HistoryFactory

extends Object
java.lang.Object
   ↳ vars.knowledgebase.HistoryFactory

Summary

Public Constructors
HistoryFactory(KnowledgebaseFactory knowledgebaseFactory)
Public Methods
History add(UserAccount userAccount, Concept concept)
History add(UserAccount userAccount, ConceptName conceptName)
Create a History object
History add(UserAccount userAccount, LinkRealization linkRealization)
History add(UserAccount userAccount, LinkTemplate linkTemplate)
History add(UserAccount userAccount, Media media)
History delete(UserAccount userAccount, Concept concept)
When deleting a Concept the History object should be added to the parent of the Concept you are deleting.
History delete(UserAccount userAccount, ConceptName conceptName)
History delete(UserAccount userAccount, LinkRealization linkRealization)
History delete(UserAccount userAccount, LinkTemplate linkTemplate)
History delete(UserAccount userAccount, Media media)
History replaceConceptName(UserAccount userAccount, ConceptName oldName, ConceptName newName)
History replaceLinkRealization(UserAccount userAccount, LinkRealization oldValue, LinkRealization newValue)
History replaceLinkTemplate(UserAccount userAccount, LinkTemplate oldValue, LinkTemplate newValue)
History replaceNodcCode(UserAccount userAccount, String oldCode, String newCode)
History replaceOriginator(UserAccount userAccount, String oldOrig, String newOrig)
History replaceParentConcept(UserAccount userAccount, Concept oldParent, Concept newParent)
History replacePrimaryConceptName(UserAccount userAccount, ConceptName oldName, ConceptName newName)
History replaceRankLevel(UserAccount userAccount, String oldRankLevel, String newRankLevel)
History replaceRankName(UserAccount userAccount, String oldRankName, String newRankName)
History replaceReference(UserAccount userAccount, String oldRef, String newRef)
History replaceStructureType(UserAccount userAccount, String oldSt, String newSt)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public HistoryFactory (KnowledgebaseFactory knowledgebaseFactory)

Public Methods

public History add (UserAccount userAccount, Concept concept)

Parameters
userAccount The UserAccount for the user adding a concept.
concept The concept that is being added
Returns
  • A History object representing a new Concept. This History object should be added to the parent of the Concept supplied as an argument

public History add (UserAccount userAccount, ConceptName conceptName)

Create a History object

public History add (UserAccount userAccount, LinkRealization linkRealization)

public History add (UserAccount userAccount, LinkTemplate linkTemplate)

public History add (UserAccount userAccount, Media media)

public History delete (UserAccount userAccount, Concept concept)

When deleting a Concept the History object should be added to the parent of the Concept you are deleting.

public History delete (UserAccount userAccount, ConceptName conceptName)

public History delete (UserAccount userAccount, LinkRealization linkRealization)

public History delete (UserAccount userAccount, LinkTemplate linkTemplate)

public History delete (UserAccount userAccount, Media media)

public History replaceConceptName (UserAccount userAccount, ConceptName oldName, ConceptName newName)

public History replaceLinkRealization (UserAccount userAccount, LinkRealization oldValue, LinkRealization newValue)

public History replaceLinkTemplate (UserAccount userAccount, LinkTemplate oldValue, LinkTemplate newValue)

public History replaceNodcCode (UserAccount userAccount, String oldCode, String newCode)

public History replaceOriginator (UserAccount userAccount, String oldOrig, String newOrig)

public History replaceParentConcept (UserAccount userAccount, Concept oldParent, Concept newParent)

public History replacePrimaryConceptName (UserAccount userAccount, ConceptName oldName, ConceptName newName)

public History replaceRankLevel (UserAccount userAccount, String oldRankLevel, String newRankLevel)

public History replaceRankName (UserAccount userAccount, String oldRankName, String newRankName)

public History replaceReference (UserAccount userAccount, String oldRef, String newRef)

public History replaceStructureType (UserAccount userAccount, String oldSt, String newSt)