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