org.alfresco.web.bean.wcm
Class FilePickerBean

java.lang.Object
  extended by org.alfresco.web.bean.wcm.FilePickerBean
All Implemented Interfaces:
java.io.Serializable

public class FilePickerBean
extends java.lang.Object
implements java.io.Serializable

Bean for interacting with the file picker widget using ajax requests.

See Also:
Serialized Form

Constructor Summary
FilePickerBean()
           
 
Method Summary
 void clearUploadedFiles()
           
 AVMBrowseBean getAvmBrowseBean()
          Get avmBrowseBean property for this bean
 org.alfresco.service.cmr.avm.AVMService getAvmService()
          Get avmService property for this bean
 org.alfresco.service.cmr.repository.NodeRef getConfiguredSearches(java.lang.String configSearchName)
          Get node for configured search by name.
 org.alfresco.service.cmr.repository.ContentService getContentService()
          Get contentService property value for this bean
 org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
          Get dictionaryService property for this bean
 void getFilePickerData()
          Provides data for a file picker widget.
 org.alfresco.service.namespace.NamespaceService getNamespaceService()
          Get the namespaceService property value for this bean
 org.alfresco.service.cmr.repository.NodeService getNodeService()
          Get nodeService property for this bean
 org.alfresco.service.cmr.search.SearchService getSearchService()
          Get SearchService property for this bean
 org.alfresco.service.cmr.repository.NodeRef[] getUploadedFiles()
           
 void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
          Set avmBrowseBean property for this bean
 void setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
          Set avmService property for this bean
 void setContentService(org.alfresco.service.cmr.repository.ContentService contentService)
          Set contentService property
 void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
          Set dictionaryService property value for this bean
 void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
          Set namespaceService property for this bean
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
          Set nodeService property value for this bean
 void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
          Set searchService property for this bean
 void uploadFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePickerBean

public FilePickerBean()
Method Detail

clearUploadedFiles

public void clearUploadedFiles()

getUploadedFiles

public org.alfresco.service.cmr.repository.NodeRef[] getUploadedFiles()

setAvmBrowseBean

public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean)
Set avmBrowseBean property for this bean

Parameters:
avmBrowseBean - the AVMBrowseBean object to pass into this property

getAvmBrowseBean

public AVMBrowseBean getAvmBrowseBean()
Get avmBrowseBean property for this bean

Returns:
avmBrowseBean property value for this bean

setAvmService

public void setAvmService(org.alfresco.service.cmr.avm.AVMService avmService)
Set avmService property for this bean

Parameters:
avmService - the avmService object to pass into this property

getAvmService

public org.alfresco.service.cmr.avm.AVMService getAvmService()
Get avmService property for this bean

Returns:
avmService property value for this bean

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set nodeService property value for this bean

Parameters:
nodeService - the NodeService object to pass into this property

getNodeService

public org.alfresco.service.cmr.repository.NodeService getNodeService()
Get nodeService property for this bean

Returns:
nodeService property value for this bean

setSearchService

public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
Set searchService property for this bean

Parameters:
searchService - the SearchService object to pass into this property

getSearchService

public org.alfresco.service.cmr.search.SearchService getSearchService()
Get SearchService property for this bean

Returns:
searchService property value for this bean

setDictionaryService

public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Set dictionaryService property value for this bean

Parameters:
dictionaryService - the DictionaryService object to pass into this property

getDictionaryService

public org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
Get dictionaryService property for this bean

Returns:
dictionaryService property value for this bean

setNamespaceService

public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
Set namespaceService property for this bean

Parameters:
namespaceService - the NamespaceService object to pass into this property

getNamespaceService

public org.alfresco.service.namespace.NamespaceService getNamespaceService()
Get the namespaceService property value for this bean

Returns:
namespaceService property value for this bean

setContentService

public void setContentService(org.alfresco.service.cmr.repository.ContentService contentService)
Set contentService property

Parameters:
contentService - the ContentService object to pass into this property

getContentService

public org.alfresco.service.cmr.repository.ContentService getContentService()
Get contentService property value for this bean

Returns:
contentService property value for this bean

getFilePickerData

public void getFilePickerData()
                       throws java.lang.Exception
Provides data for a file picker widget.

Throws:
java.lang.Exception

uploadFile

public void uploadFile()
                throws java.lang.Exception
Throws:
java.lang.Exception

getConfiguredSearches

public org.alfresco.service.cmr.repository.NodeRef getConfiguredSearches(java.lang.String configSearchName)
Get node for configured search by name.

Parameters:
configSearchName - name of configured search for which to get node
Returns:
node reference for configured search


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.