public class DocumentPropertiesDialog
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected BrowseBean |
browseBean |
| Constructor and Description |
|---|
DocumentPropertiesDialog() |
| Modifier and Type | Method and Description |
|---|---|
BrowseBean |
getBrowseBean() |
java.util.List |
getContentTypes() |
protected org.alfresco.service.cmr.dictionary.DictionaryService |
getDictionaryService() |
Node |
getEditableNode()
Returns the node being edited
|
protected org.alfresco.service.cmr.model.FileFolderService |
getFileFolderService() |
org.alfresco.service.cmr.repository.NodeService |
getNodeService() |
boolean |
getOtherPropertiesPresent()
Determines whether this document has any other properties other than the
default set to display to the user.
|
java.util.Map |
getProperties() |
java.lang.String |
save()
Event handler used to save the edited properties back to the repository
|
void |
setBrowseBean(BrowseBean browseBean) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Sets the DictionaryService to use when persisting metadata
|
void |
setFileFolderService(org.alfresco.service.cmr.model.FileFolderService fileFolderService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setupDocumentForAction(javax.faces.event.ActionEvent event)
Event handler called to setup the document for property editing
|
protected BrowseBean browseBean
public Node getEditableNode()
public void setupDocumentForAction(javax.faces.event.ActionEvent event)
event - The eventpublic java.lang.String save()
public java.util.Map getProperties()
public java.util.List getContentTypes()
public boolean getOtherPropertiesPresent()
public org.alfresco.service.cmr.repository.NodeService getNodeService()
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - The nodeService to set.public void setFileFolderService(org.alfresco.service.cmr.model.FileFolderService fileFolderService)
fileFolderService - the file and folder model-specific functionsprotected org.alfresco.service.cmr.model.FileFolderService getFileFolderService()
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - The DictionaryServiceprotected org.alfresco.service.cmr.dictionary.DictionaryService getDictionaryService()
public BrowseBean getBrowseBean()
public void setBrowseBean(BrowseBean browseBean)
browseBean - The BrowseBean to set.Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.