public override Item SyncItem(object entity, Item accountItem)
        {
            Asset asset = (Asset)entity;

            if (ExportQueueManager.IsExist(accountItem, FieldIDs.MediaElement.Id, asset.Id))
            {
                return((Item)null);
            }
            return(base.SyncItem(entity, accountItem));
        }
        public override Item SyncItem(object entity, Item accountItem)
        {
            var playerEntity = (Player)entity;

            if (ExportQueueManager.IsExist(accountItem, FieldIDs.Player.Id, playerEntity.Id))
            {
                return(null);
            }

            return(base.SyncItem(entity, accountItem));
        }
Exemple #3
0
        public override Item SyncItem(object entity, Item accountItem)
        {
            var labelEntity = (Label)entity;

            if (ExportQueueManager.IsExist(accountItem, FieldIDs.Label.Id, labelEntity.Id))
            {
                return(null);
            }

            return(base.SyncItem(entity, accountItem));
        }
        public override Item SyncItem(object entity, Item accountItem)
        {
            var assetEntity = (Asset)entity;

            if (ExportQueueManager.IsExist(accountItem, FieldIDs.MediaElement.EmbedCode, assetEntity.EmbedCode))
            {
                return(null);
            }

            return(base.SyncItem(entity, accountItem));
        }
Exemple #5
0
        public override Item SyncItem(object entity, Item accountItem)
        {
            Asset asset = (Asset)entity;

            if (ExportQueueManager.IsExist(accountItem, Templates.MediaElement.UniqueID, asset.UniqueId))
            {
                return(null);
            }

            return(base.SyncItem(entity, accountItem));
        }