|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.webapp.edit.vocabularies.VocabularyActionsBean
DirectoryUIActionsBean
@Name(value="vocabularyActions") @Scope(value=CONVERSATION) @Deprecated public class VocabularyActionsBean
This class is the implementation of an action listener that provides methods for the management of vocabularies.
Field Summary | |
---|---|
static java.lang.String |
NULL_MARKER
Deprecated. |
Constructor Summary | |
---|---|
VocabularyActionsBean()
Deprecated. |
Method Summary | |
---|---|
java.lang.String |
addVocabularyEntry()
Deprecated. Adds an entry to a vocabulary. |
java.lang.String |
cancel()
Deprecated. Cancels the process of adding or editing a vocabulary entry. |
java.lang.String |
clearSearchCriteria()
Deprecated. Resets the search criteria. |
java.lang.String |
clearVocabulary()
Deprecated. Erases all the entries of a vocabulary. |
java.lang.String |
deleteVocabularyEntry()
Deprecated. Deletes an entry of a vocabulary. |
void |
destroy()
Deprecated. |
java.lang.String |
editVocabulary()
Deprecated. Edits a vocabulary. |
java.lang.String |
editVocabularyEntry()
Deprecated. Edit an entry of a vocabulary. |
java.lang.String |
getCommandName1()
Deprecated. Sets the first button command name from the page used to add/edit a vocabulary entry. |
java.lang.String |
getCommandName2()
Deprecated. Sets the second button command name from the page used to add/edit a vocabulary entry. |
boolean |
getEditable()
Deprecated. Decides if the edit or view action was selected. |
java.util.List<javax.faces.model.SelectItem> |
getParentIds()
Deprecated. This method is used to populated the select for parent ids. |
VocabularyEntry |
getSearchCriteria()
Deprecated. Returns the criteria which is used to perform the search for a vocabulary entries. |
VocabularyEntry |
getSelectedVocabularyEntry()
Deprecated. Returns the selected vocabulary entry chosen for modifying actions. |
java.lang.String |
getSelectedVocabularyName()
Deprecated. Returns the name of vocabulary chosen by the user to modify. |
boolean |
getShowAddEntryForm()
Deprecated. Decides what icon will be rendered for the add entry button. |
java.lang.String |
getStyle()
Deprecated. Returns the style depending on the action that was chosen,view or edit. |
java.lang.String |
getTitle()
Deprecated. Returns the title that will appear above the list with the entries of a vocabulary. |
void |
initialize()
Deprecated. Initializes the vocabulary bean Seam component. |
boolean |
isHierarchical()
Deprecated. Checks if the vocabulary is hierarchical (has parents). |
boolean |
isNullParentAllowed()
Deprecated. Checks if null parents are allowed. |
void |
restoreState()
Deprecated. |
void |
saveState()
Deprecated. |
java.lang.String |
searchVocabularyEntries()
Deprecated. Gets the vocabulary entries searched by the entered criteria.It returns the way to a page, depending on what the search process returns. |
void |
setCommandName1(java.lang.String commandName)
Deprecated. Sets the first command button name. |
void |
setCommandName2(java.lang.String commandName)
Deprecated. Sets the second command button name. |
void |
setEditable(boolean editable)
Deprecated. Sets the boolean which tells if a view or edit action was chosen. |
void |
setSearchCriteria(VocabularyEntry searchCriteria)
Deprecated. Performs the search for a vocabulary entries. |
void |
setSelectedVocabularyEntry(VocabularyEntry entry)
Deprecated. Sets the vocabulary entry the user is going to use for modifying actions. |
void |
setSelectedVocabularyName(java.lang.String selectedVocabularyName)
Deprecated. Sets the name of vocabulary which the user is going to use for modifying actions. |
void |
setShowAddEntryForm(boolean showAddEntryForm)
Deprecated. |
void |
setStyle(java.lang.String style)
Deprecated. Sets the style of the page depending on the action that was chosen, view or edit. |
void |
setTitle(java.lang.String title)
Deprecated. |
void |
toggleAddEntryForm(javax.faces.event.ActionEvent event)
Deprecated. Used to decide what icon should appear for the add new entry button. |
java.lang.String |
viewAllVocabularies()
Deprecated. Initializes the list with all the available vocabularies. |
java.lang.String |
viewVocabularyEntry()
Deprecated. Views (does not to edit) the entry of a vocabulary. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NULL_MARKER
Constructor Detail |
---|
public VocabularyActionsBean()
Method Detail |
---|
@Begin(join=true) @Create public void initialize()
VocabularyActions
initialize
in interface VocabularyActions
public java.lang.String editVocabulary() throws ClientException
VocabularyActions
editVocabulary
in interface VocabularyActions
ClientException
public java.lang.String clearVocabulary() throws ClientException
VocabularyActions
clearVocabulary
in interface VocabularyActions
ClientException
public java.lang.String addVocabularyEntry() throws ClientException
VocabularyActions
addVocabularyEntry
in interface VocabularyActions
ClientException
public java.lang.String editVocabularyEntry()
VocabularyActions
editVocabularyEntry
in interface VocabularyActions
public java.lang.String viewVocabularyEntry()
VocabularyActions
viewVocabularyEntry
in interface VocabularyActions
public java.lang.String deleteVocabularyEntry() throws ClientException
VocabularyActions
deleteVocabularyEntry
in interface VocabularyActions
ClientException
public java.lang.String viewAllVocabularies() throws ClientException
VocabularyActions
viewAllVocabularies
in interface VocabularyActions
ClientException
public java.lang.String getSelectedVocabularyName()
VocabularyActions
getSelectedVocabularyName
in interface VocabularyActions
public void setSelectedVocabularyName(java.lang.String selectedVocabularyName)
VocabularyActions
setSelectedVocabularyName
in interface VocabularyActions
public VocabularyEntry getSelectedVocabularyEntry()
VocabularyActions
getSelectedVocabularyEntry
in interface VocabularyActions
public void setSelectedVocabularyEntry(VocabularyEntry entry)
VocabularyActions
setSelectedVocabularyEntry
in interface VocabularyActions
entry
- - the entry selected for modifying actions.public void toggleAddEntryForm(javax.faces.event.ActionEvent event)
VocabularyActions
toggleAddEntryForm
in interface VocabularyActions
public boolean getShowAddEntryForm()
VocabularyActions
getShowAddEntryForm
in interface VocabularyActions
public void setShowAddEntryForm(boolean showAddEntryForm)
showAddEntryForm
- The showAddEntryForm to set.public boolean getEditable()
VocabularyActions
getEditable
in interface VocabularyActions
public void setEditable(boolean editable)
VocabularyActions
setEditable
in interface VocabularyActions
public java.lang.String getCommandName1()
VocabularyActions
getCommandName1
in interface VocabularyActions
public void setCommandName1(java.lang.String commandName)
VocabularyActions
setCommandName1
in interface VocabularyActions
commandName
- the name of the command buttonpublic java.lang.String getCommandName2()
VocabularyActions
getCommandName2
in interface VocabularyActions
public void setCommandName2(java.lang.String commandName)
VocabularyActions
setCommandName2
in interface VocabularyActions
commandName
- the name of the command buttonpublic java.lang.String getStyle()
VocabularyActions
getStyle
in interface VocabularyActions
public void setStyle(java.lang.String style)
VocabularyActions
setStyle
in interface VocabularyActions
public java.lang.String cancel()
VocabularyActions
cancel
in interface VocabularyActions
public VocabularyEntry getSearchCriteria()
VocabularyActions
getSearchCriteria
in interface VocabularyActions
public void setSearchCriteria(VocabularyEntry searchCriteria)
VocabularyActions
setSearchCriteria
in interface VocabularyActions
searchCriteria
- - the criteria used to meke the search.public java.lang.String clearSearchCriteria() throws ClientException
VocabularyActions
clearSearchCriteria
in interface VocabularyActions
ClientException
public java.lang.String searchVocabularyEntries() throws ClientException
VocabularyActions
searchVocabularyEntries
in interface VocabularyActions
ClientException
public java.lang.String getTitle()
VocabularyActions
getTitle
in interface VocabularyActions
public void setTitle(java.lang.String title)
public java.util.List<javax.faces.model.SelectItem> getParentIds()
VocabularyActions
getParentIds
in interface VocabularyActions
public void saveState()
public void restoreState()
public boolean isHierarchical() throws DirectoryException
VocabularyActions
isHierarchical
in interface VocabularyActions
DirectoryException
public boolean isNullParentAllowed() throws DirectoryException
VocabularyActions
isNullParentAllowed
in interface VocabularyActions
DirectoryException
@Destroy public void destroy()
destroy
in interface VocabularyActions
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |