public class DocumentPropertiesDialog extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected BrowseBean |
browseBean |
Constructor and Description |
---|
DocumentPropertiesDialog() |
Modifier and Type | Method and Description |
---|---|
BrowseBean |
getBrowseBean() |
List<SelectItem> |
getContentTypes() |
protected org.alfresco.service.cmr.dictionary.DictionaryService |
getDictionaryService() |
Node |
getEditableNode()
Returns the node being edited
|
protected 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.
|
Map<String,Object> |
getProperties() |
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(FileFolderService fileFolderService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setupDocumentForAction(ActionEvent event)
Event handler called to setup the document for property editing
|
protected BrowseBean browseBean
public Node getEditableNode()
public void setupDocumentForAction(ActionEvent event)
event
- The eventpublic String save()
public List<SelectItem> 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(FileFolderService fileFolderService)
fileFolderService
- the file and folder model-specific functionsprotected 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–2017 Alfresco Software. All rights reserved.