@Name(value="pictureManager") @Scope(value=CONVERSATION) public class PictureManagerBean extends Object implements PictureManager, Serializable
| Constructor and Description |
|---|
PictureManagerBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
addPicture()
Deprecated.
|
String |
crop() |
void |
destroy() |
void |
download(DocumentView docView) |
String |
getCropCoords() |
Blob |
getFileContent()
Gets the content of the Picture.
|
String |
getFilename()
Gets the filename of the uploaded file.
|
String |
getFileurlPicture()
Gets the fileurl.
|
Integer |
getIndex()
Gets the index.
|
ArrayList |
getSelectItems()
Gets the selectedItems.
|
void |
initialize() |
Boolean |
isImageMagickAvailable() |
String |
remoteDownload(String patternName,
String docID,
String blobPropertyName,
String filename) |
void |
resetFields()
Listener reinitializing values at every Document changes.
|
String |
rotate90left()
Turns every view of a picture 90 degrees to the left.
|
String |
rotate90right()
Turns every view of a picture 90 degrees to the right.
|
void |
setCropCoords(String cropCoords) |
void |
setFileContent(Blob fileContent)
Sets the content of the Picture.
|
void |
setFilename(String filename)
Sets the filename of the uploaded file.
|
void |
setFileurlPicture(String fileurlPicture)
Sets the fileurl.
|
void |
setIndex(Integer index)
Sets the index.
|
void |
setSelectItems(ArrayList selectItems)
Sets the selectedItems.
|
static String |
urlPopup(String url) |
@Create public void initialize() throws Exception
initialize in interface PictureManagerExceptionpublic String getFileurlPicture() throws ClientException
PictureManagergetFileurlPicture in interface PictureManagerClientExceptionpublic void setFileurlPicture(String fileurlPicture)
PictureManagersetFileurlPicture in interface PictureManagerfileurlPicture - a String holding the fileurl.public ArrayList getSelectItems() throws ClientException
PictureManagergetSelectItems in interface PictureManagerClientExceptionpublic void setSelectItems(ArrayList selectItems)
PictureManagersetSelectItems in interface PictureManagerselectItems - an Array holding the selectItems.@Deprecated public String addPicture() throws Exception
PictureManageraddPicture in interface PictureManagerExceptionpublic String rotate90left() throws ClientException, IOException
PictureManagerrotate90left in interface PictureManagerClientExceptionIOExceptionpublic String rotate90right() throws ClientException, IOException
PictureManagerrotate90right in interface PictureManagerClientExceptionIOExceptionpublic String crop() throws ClientException, IOException
crop in interface PictureManagerClientExceptionIOException@Observer(value={"documentSelectionChanged","documentChanged"}) @BypassInterceptors public void resetFields()
PictureManagerresetFields in interface PictureManager@WebRemote public String remoteDownload(String patternName, String docID, String blobPropertyName, String filename) throws ClientException
ClientException@WebRemote public static String urlPopup(String url)
public void download(DocumentView docView) throws ClientException
download in interface PictureManagerClientException@Destroy public void destroy()
destroy in interface PictureManagerpublic String getFilename()
PictureManagergetFilename in interface PictureManagerpublic void setFilename(String filename)
PictureManagersetFilename in interface PictureManagerfilename - a String holding the filename.public Blob getFileContent()
PictureManagergetFileContent in interface PictureManagerpublic void setFileContent(Blob fileContent)
PictureManagersetFileContent in interface PictureManagerfileContent - a Blob holding the uploaded filepublic Integer getIndex()
PictureManagergetIndex in interface PictureManagerpublic void setIndex(Integer index)
PictureManagersetIndex in interface PictureManagerindex - an Integer holding the index.public String getCropCoords()
getCropCoords in interface PictureManagerpublic void setCropCoords(String cropCoords)
setCropCoords in interface PictureManagerCopyright © 2013 Nuxeo SA. All Rights Reserved.