Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.core.operations.services
Class GetPictureView

java.lang.Object
  extended by org.nuxeo.ecm.automation.core.operations.services.GetPictureView

public class GetPictureView
extends Object

Simple Operation to extract an image view from a Picture Document.

This operation is needed because using the default blob operation is too complicated in the case of the Picture DocumentType.

Author:
Tiry (tdelprat@nuxeo.com)

Field Summary
static String ID
           
 
Constructor Summary
GetPictureView()
           
 
Method Summary
 Blob run(DocumentModel doc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values
Constructor Detail

GetPictureView

public GetPictureView()
Method Detail

run

public Blob run(DocumentModel doc)
         throws Exception
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.