|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.picture.web.PictureManagerBean
@Name(value="pictureManager") @Scope(value=CONVERSATION) public class PictureManagerBean
Constructor Summary | |
---|---|
PictureManagerBean()
|
Method Summary | |
---|---|
java.lang.String |
addPicture()
Creates and saves a picture document. |
java.lang.String |
crop()
|
void |
destroy()
|
void |
download(DocumentView docView)
|
java.lang.String |
getCropCoords()
|
Blob |
getFileContent()
Gets the content of the Picture. |
java.lang.String |
getFilename()
Gets the filename of the uploaded file. |
java.lang.String |
getFileurlPicture()
Gets the fileurl. |
java.lang.Integer |
getIndex()
Gets the index. |
java.util.ArrayList |
getSelectItems()
Gets the selectedItems. |
void |
initialize()
|
java.lang.Boolean |
isImageMagickAvailable()
|
java.lang.String |
remoteDownload(java.lang.String patternName,
java.lang.String docID,
java.lang.String blobPropertyName,
java.lang.String filename)
|
void |
resetFields()
Listener reinitializing values at every Document changes. |
java.lang.String |
rotate90left()
Turns every view of a picture 90 degrees to the left. |
java.lang.String |
rotate90right()
Turns every view of a picture 90 degrees to the right. |
void |
setCropCoords(java.lang.String cropCoords)
|
void |
setFileContent(Blob fileContent)
Sets the content of the Picture. |
void |
setFilename(java.lang.String filename)
Sets the filename of the uploaded file. |
void |
setFileurlPicture(java.lang.String fileurlPicture)
Sets the fileurl. |
void |
setIndex(java.lang.Integer index)
Sets the index. |
void |
setSelectItems(java.util.ArrayList selectItems)
Sets the selectedItems. |
static java.lang.String |
urlPopup(java.lang.String url)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PictureManagerBean()
Method Detail |
---|
@Create public void initialize() throws java.lang.Exception
initialize
in interface PictureManager
java.lang.Exception
public java.lang.String getFileurlPicture() throws ClientException
PictureManager
getFileurlPicture
in interface PictureManager
ClientException
public void setFileurlPicture(java.lang.String fileurlPicture)
PictureManager
setFileurlPicture
in interface PictureManager
fileurlPicture
- a String holding the fileurl.public java.util.ArrayList getSelectItems() throws ClientException
PictureManager
getSelectItems
in interface PictureManager
ClientException
public void setSelectItems(java.util.ArrayList selectItems)
PictureManager
setSelectItems
in interface PictureManager
selectItems
- an Array holding the selectItems.public java.lang.String addPicture() throws java.lang.Exception
PictureManager
addPicture
in interface PictureManager
java.lang.Exception
public java.lang.String rotate90left() throws ClientException, java.io.IOException
PictureManager
rotate90left
in interface PictureManager
ClientException
java.io.IOException
public java.lang.String rotate90right() throws ClientException, java.io.IOException
PictureManager
rotate90right
in interface PictureManager
ClientException
java.io.IOException
public java.lang.String crop() throws ClientException, java.io.IOException
crop
in interface PictureManager
ClientException
java.io.IOException
@Observer(value={"documentSelectionChanged","documentChanged"}) @BypassInterceptors public void resetFields()
PictureManager
resetFields
in interface PictureManager
@WebRemote public java.lang.String remoteDownload(java.lang.String patternName, java.lang.String docID, java.lang.String blobPropertyName, java.lang.String filename) throws ClientException
ClientException
@WebRemote public static java.lang.String urlPopup(java.lang.String url)
public void download(DocumentView docView) throws ClientException
download
in interface PictureManager
ClientException
@Destroy public void destroy()
destroy
in interface PictureManager
public java.lang.String getFilename()
PictureManager
getFilename
in interface PictureManager
public void setFilename(java.lang.String filename)
PictureManager
setFilename
in interface PictureManager
filename
- a String holding the filename.public Blob getFileContent()
PictureManager
getFileContent
in interface PictureManager
public void setFileContent(Blob fileContent)
PictureManager
setFileContent
in interface PictureManager
fileContent
- a Blob holding the uploaded filepublic java.lang.Integer getIndex()
PictureManager
getIndex
in interface PictureManager
public void setIndex(java.lang.Integer index)
PictureManager
setIndex
in interface PictureManager
index
- an Integer holding the index.public java.lang.String getCropCoords()
getCropCoords
in interface PictureManager
public void setCropCoords(java.lang.String cropCoords)
setCropCoords
in interface PictureManager
public java.lang.Boolean isImageMagickAvailable() throws java.lang.Exception
java.lang.Exception
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |