Class CCAttributeAssignment

java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase
org.eclnt.jsfserver.pagebean.component.PageBeanComponent
org.eclnt.ccaddons.pbc.CCAttributeAssignment
All Implemented Interfaces:
Serializable, org.eclnt.jsfserver.elements.IConfiguredByLayout, org.eclnt.jsfserver.pagebean.component.IPageBeanComponent, org.eclnt.jsfserver.pagebean.IPageBean, org.eclnt.jsfserver.util.valuemgmt.IDynamicContentBindingObject

public class CCAttributeAssignment extends org.eclnt.jsfserver.pagebean.component.PageBeanComponent implements Serializable
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     
    class 
     

    Nested classes/interfaces inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent

    org.eclnt.jsfserver.pagebean.component.PageBeanComponent.ILiteralResolver, org.eclnt.jsfserver.pagebean.component.PageBeanComponent.LitMap
  • Field Summary

    Fields inherited from class org.eclnt.jsfserver.pagebean.PageBean

    m_pageModifier
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
     
     
    boolean
     
    boolean
     
    boolean
     
    void
    onBackFromEditoModeWithCancel(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
     
    void
    onBackFromEditoModeWithSave(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
     
    void
    onNewAttributeTypeAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
     
    void
    onSwitchToEditMode(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
     
    void
    prepare(IAttributeAssignmentMetaData metaData, AttributeAssignmentAttributes attributes, boolean enabled, boolean adminModeAllowed, CCAttributeAssignment.IListener listener)
     
    void
    setAdminBackgroundColorActive(String adminBackgroundColorActive)
     
    void
    setAdminBackgroundColorInactive(String adminBackgroundColorInactive)
     

    Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponent

    getLit, initializePageBean, initializePageBeanConfigItems

    Methods inherited from class org.eclnt.jsfserver.pagebean.component.PageBeanComponentBase

    addConfiguredByLayoutListener, findLiteralResourceName, getClassDefiningPageBean, getLayoutPath, getLiteralResolver, getPageName, initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized, readLiteral, readLiteralByOwnResourceBundle, removeConfiguredByLayoutListener, setLiteralResolver

    Methods inherited from class org.eclnt.jsfserver.pagebean.PageBean

    buildContentReplaceString, closePopup, getActualRootExpression, getModalModelessPopupForPopupPageBean, getPageModifier, getPopups, getStamp, initializePageModifier, onBeforeRendering, openModalPopup, openModelessPopup, pbx, readPageLayoutXML, setActualRootExpression

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclnt.jsfserver.elements.IConfiguredByLayout

    addConfiguredByLayoutListener, removeConfiguredByLayoutListener

    Methods inherited from interface org.eclnt.jsfserver.pagebean.IPageBean

    closePopup, getActualRootExpression, getPageModifier, getPageName, getStamp, onBeforeRendering, openModalPopup, openModelessPopup, setActualRootExpression

    Methods inherited from interface org.eclnt.jsfserver.pagebean.component.IPageBeanComponent

    initializePageBeanFinished, initializePageBeanPassComponent, initializePageBeanStarted, isInitialized
  • Constructor Details

    • CCAttributeAssignment

      public CCAttributeAssignment()
  • Method Details

    • getRootExpressionUsedInPage

      public String getRootExpressionUsedInPage()
      Specified by:
      getRootExpressionUsedInPage in interface org.eclnt.jsfserver.pagebean.IPageBean
      Specified by:
      getRootExpressionUsedInPage in class org.eclnt.jsfserver.pagebean.PageBean
    • prepare

      public void prepare(IAttributeAssignmentMetaData metaData, AttributeAssignmentAttributes attributes, boolean enabled, boolean adminModeAllowed, CCAttributeAssignment.IListener listener)
    • getTypes

    • getAdminBackgroundColor

      public String getAdminBackgroundColor()
    • setAdminBackgroundColorInactive

      public void setAdminBackgroundColorInactive(String adminBackgroundColorInactive)
    • setAdminBackgroundColorActive

      public void setAdminBackgroundColorActive(String adminBackgroundColorActive)
    • getVisibleIfAdminModeAllowed

      public boolean getVisibleIfAdminModeAllowed()
    • getVisibleInEditMode

      public boolean getVisibleInEditMode()
    • getVisibleInSelectMode

      public boolean getVisibleInSelectMode()
    • getEnabled

      public boolean getEnabled()
    • onNewAttributeTypeAction

      public void onNewAttributeTypeAction(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
    • onSwitchToEditMode

      public void onSwitchToEditMode(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
    • onBackFromEditoModeWithSave

      public void onBackFromEditoModeWithSave(org.eclnt.jsfserver.base.faces.event.ActionEvent event)
    • onBackFromEditoModeWithCancel

      public void onBackFromEditoModeWithCancel(org.eclnt.jsfserver.base.faces.event.ActionEvent event)