protected void ExportContextItems(List <ContextItem> contextItems, string isoIDRef, string groupName, string prefix = "") { if (contextItems.Any()) { List <string> errors = UniqueIDMapper.ExportContextItems(contextItems, isoIDRef, groupName, prefix); foreach (string error in errors) { TaskDataMapper.AddError(error); } } }
protected List <ContextItem> ImportContextItems(string isoIDRef, string linkGroupDescription, ISOElement element = null) { //Read any data from the LinkList List <ContextItem> output = UniqueIDMapper.ImportContextItemsFromLinkList(isoIDRef, linkGroupDescription); if (element != null) { //Add any proprietary attributes on the element output.AddRange(UniqueIDMapper.ImportContextItemsFromProprietaryAttributes(element)); } return(output); }
protected bool ImportIDs(CompoundIdentifier id, string isoIDRef) { id.UniqueIds.AddRange(UniqueIDMapper.ImportUniqueIDs(isoIDRef)); return(TaskDataMapper.InstanceIDMap.Add(id.ReferenceId, isoIDRef)); }
protected List <ContextItem> ImportContextItems(string isoIDRef, string linkGroupDescription) { return(UniqueIDMapper.ImportContextItems(isoIDRef, linkGroupDescription)); }