public class ClassificationEditorChip extends CustomChip implements SpecialSaveChip, SpecialReloadChip, ChangeIndicatorChip, SpecialValidatingChip
CHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
ClassificationEditorChip(DisplayState displayState,
Chip parent,
Map attributes,
String jspURI) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ClassificationAttributeChip> |
getAllClassificationAttributeChips() |
Collection<ClassificationAttributeChip> |
getClassificationAttributeChips(ClassificationClass cclass) |
Collection<ClassificationClass> |
getClassificationClasses() |
static String |
getClassificationName(ClassificationClass ccl)
Returns a human readable name for the classification denoted by the given category (containing catalog id, version
and the category name).
|
Collection<ClassAttributeAssignment> |
getConfiguredClassAttributeAssignments()
Returns all configured classification attribute assignments from the item editor containing this chip.
|
String |
getDefaultJSPURI() |
protected GenericItemChip |
getItemChip()
Returns the enclosing
GenericItemChip of this tab. |
Product |
getProduct()
Returns the product which is in the enclosing item editor of this tab.
|
boolean |
isChanged()
If any of the contained ClassificationAttributes was changed this will return true.
|
void |
reload()
Implements
SpecialReloadChip interface and reloads the classification categories and attributes. |
void |
save()
Implements
SpecialSaveChip interface and saves all classification attributes. |
void |
validate(DisplayState state,
ActionResult result)
Validates all included classification attribute editors
|
getAttributes, getJSPURI, getParameter, getParameters, processEventsaddEventListener, checkValid, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueName, getProposedUniqueNameFor, getRequestFocus, getSessionIdentifier, getStringValue, getUniqueName, getWindow, goFullScreen, hasVisibleContextMenuEntries, isButtonPushed, isButtonPushed, isErrorQueueEmpty, isValid, leaveFullScreen, notifyEventListeners, notifyEventListeners, postErrorMessage, postInfoMessage, postWindowEvent, refresh, refreshChild, registerUniqueName, removeEventListener, removeInfoMessage, render, render, setClipboard, setParent, setRequestFocus, setValid, setWindowStatus, translateFormFieldToEventName, translateFormFieldToEventValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEventListener, checkValid, dispose, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getID, getJaloSession, getJSPURI, getMenuEntries, getParent, getUniqueName, goFullScreen, isValid, leaveFullScreen, processEvents, registerUniqueName, removeEventListener, render, translateFormFieldToEventName, translateFormFieldToEventValuepublic ClassificationEditorChip(DisplayState displayState, Chip parent, Map attributes, String jspURI)
protected GenericItemChip getItemChip()
GenericItemChip of this tab.GenericItemChip of this tab.public Product getProduct()
public String getDefaultJSPURI()
getDefaultJSPURI in class CustomChippublic Collection<ClassAttributeAssignment> getConfiguredClassAttributeAssignments()
public Collection<ClassificationAttributeChip> getClassificationAttributeChips(ClassificationClass cclass)
public Collection<ClassificationAttributeChip> getAllClassificationAttributeChips()
public Collection<ClassificationClass> getClassificationClasses()
public void reload()
SpecialReloadChip interface and reloads the classification categories and attributes.reload in interface SpecialReloadChippublic void validate(DisplayState state, ActionResult result)
validate in interface SpecialValidatingChippublic void save()
SpecialSaveChip interface and saves all classification attributes.save in interface SpecialSaveChippublic boolean isChanged()
isChanged in interface ChangeIndicatorChippublic static String getClassificationName(ClassificationClass ccl)
ccl - the Category for which to return the classification nameCopyright © 2017 SAP SE. All Rights Reserved.