Class LegacyTxnTags

java.lang.Object
com.infinitekind.moneydance.model.LegacyTxnTags

public class LegacyTxnTags
extends java.lang.Object
A TxnTagSet keeps track of the set of TxnTags that are associated with an AbstractTxn. This class is only available as of build 414
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  LegacyTxnTags.TxnTag
    A TxnClass represents a classification or 'class' that can be applied to a split.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String TAG_PARAM_PREFIX  
    static java.lang.String TXN_TAG_KEY  
  • Constructor Summary

    Constructors 
    Constructor Description
    LegacyTxnTags​(AccountBook book)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<LegacyTxnTags.TxnTag> getTagsForIDString​(java.lang.String tagStr)
    Get the tags that identified in the given tagset string.
    java.util.List<LegacyTxnTags.TxnTag> getTagsForTxn​(AbstractTxn txn)
    Get the tags that are associated with the given transaction.
    java.util.List<LegacyTxnTags.TxnTag> getTagsForTxn​(Txn txn)
    Get the tags that are associated with the given transaction.
    java.util.List<java.lang.String> getTagStringsForIDString​(java.lang.String tagStr)
    Get the tags that identified in the given tagset string.
    void loadFromLegacyData()  
    boolean removeTag​(LegacyTxnTags.TxnTag tag)
    Remove the given tag from the tag set if there are no transactions referencing the tag.
    void upgradeFromLegacyData()
    Convert the transaction tags in older data structures to the new simpler tags/keywords model

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait