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
PropertyException
public void refresh()
public void createEntry()
public void resetCreateEntry()
public void resetEditEntry()
public DocumentModel getEditableEntry()
protected Map<String,Serializable> getQueryFilter()
protected Set<String> getOrderSet()
public DocumentModelList getEntries()
public void saveEntry()
public void deleteEntry(String entryId)
Copyright © 2018 Nuxeo. All rights reserved.