mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added a new REST method, publishing-events-query.post which allows you to query for publishing events based on id or published nodes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28846 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -39,14 +39,15 @@ import org.alfresco.service.namespace.QName;
|
||||
public class NodeSnapshotTransferImpl implements NodeSnapshot
|
||||
{
|
||||
private final TransferManifestNormalNode transferNode;
|
||||
|
||||
private final String version;
|
||||
|
||||
/**
|
||||
* @param transferNode
|
||||
*/
|
||||
public NodeSnapshotTransferImpl(TransferManifestNormalNode transferNode)
|
||||
public NodeSnapshotTransferImpl(TransferManifestNormalNode transferNode, String version)
|
||||
{
|
||||
super();
|
||||
this.transferNode = transferNode;
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
@@ -120,4 +121,13 @@ public class NodeSnapshotTransferImpl implements NodeSnapshot
|
||||
{
|
||||
return transferNode.getType();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public String getVersion()
|
||||
{
|
||||
return version;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user