com.day.cq.dam.core.process.SyncAssetProcess Maven / Gradle / Ivy
/*
* Copyright 1997-2008 Day Management AG
* Barfuesserplatz 6, 4001 Basel, Switzerland
* All Rights Reserved.
*
* This software is the confidential and proprietary information of
* Day Management AG, ("Confidential Information"). You shall not
* disclose such Confidential Information and shall use it only in
* accordance with the terms of the license agreement you entered into
* with Day.
*/
package com.day.cq.dam.core.process;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Property;
import org.apache.felix.scr.annotations.Service;
import com.day.cq.dam.commons.process.AbstractAssetWorkflowProcess;
import com.day.cq.workflow.WorkflowException;
import com.day.cq.workflow.WorkflowSession;
import com.day.cq.workflow.exec.WorkItem;
import com.day.cq.workflow.metadata.MetaDataMap;
/**
* @deprecated Since 6.3, this is sync mechanism is not used anymore.
* This implementation will be removed in future releases.
*
* The SyncAssetProcess
class will copy the (via webdav) uploaded
* binary into the dam metadata structure.
*/
@Component(metatype = false)
@Service
@Property(name = "process.label", value = "Synchronize Asset")
@Deprecated
public class SyncAssetProcess extends AbstractAssetWorkflowProcess {
@Deprecated
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException {
throw new UnsupportedOperationException("Since 6.3 this sync mechanism is not used anymore.");
}
}