public abstract class DirectoryBasedEditor extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected DocumentModel |
creationEntry |
protected CoreSession |
documentManager |
protected DocumentModel |
editableEntry |
protected DocumentModelList |
entries |
protected boolean |
showAddForm |
| Constructor and Description |
|---|
DirectoryBasedEditor() |
| Modifier and Type | Method and Description |
|---|---|
void |
createEntry() |
void |
deleteEntry(String entryId) |
void |
editEntry(String entryId) |
DocumentModel |
getCreationEntry() |
protected abstract String |
getDirectoryName() |
DocumentModel |
getEditableEntry() |
DocumentModelList |
getEntries() |
protected Set<String> |
getOrderSet() |
protected Map<String,Serializable> |
getQueryFilter() |
protected abstract String |
getSchemaName() |
boolean |
getShowAddForm() |
void |
refresh() |
void |
resetCreateEntry() |
void |
resetEditEntry() |
void |
saveEntry() |
void |
toggleShowAddForm() |
protected DocumentModelList entries
protected DocumentModel editableEntry
protected DocumentModel creationEntry
protected boolean showAddForm
@In(create=true) protected transient CoreSession documentManager
public DirectoryBasedEditor()
protected abstract String getDirectoryName()
protected abstract String getSchemaName()
public boolean getShowAddForm()
public void toggleShowAddForm()
public DocumentModel getCreationEntry() throws PropertyException
PropertyExceptionpublic void refresh()
public void createEntry() throws DirectoryException
DirectoryExceptionpublic void resetCreateEntry()
public void resetEditEntry()
public DocumentModel getEditableEntry()
protected Map<String,Serializable> getQueryFilter()
protected Set<String> getOrderSet()
public DocumentModelList getEntries() throws DirectoryException
DirectoryExceptionpublic void editEntry(String entryId) throws DirectoryException
DirectoryExceptionpublic void saveEntry() throws DirectoryException
DirectoryExceptionpublic void deleteEntry(String entryId) throws DirectoryException
DirectoryExceptionCopyright © 2018 Nuxeo. All rights reserved.