Examples of ItemState


Examples of org.exoplatform.services.jcr.dataflow.ItemState

      }

      List<ItemState> states = changesLog.getItemStates(item.getIdentifier());
      if (states.size() > 0)
      {
         ItemState lastState = states.get(states.size() - 1);
         if (lastState.isAdded() || lastState.isDeleted())
         {
            return false;
         }

         return true;
View Full Code Here

Examples of org.richfaces.component.UIOrderingBaseComponent.ItemState

    }
   
    StringBuffer cellClassName = new StringBuffer("rich-ordering-list-cell");
   
    ComponentVariables variables = ComponentsVariableResolver.getVariables(this, table);
    ItemState state = getItemState(context, table, variables);
   
    boolean active = state.isActive();
//    if (active) {
//      rowClassName.append(" rich-ordering-list-row-active");
//      cellClassName.append(" rich-ordering-list-cell-active");
//    }
   
    boolean selected = state.isSelected();
    if (selected) {
      rowClassName.append(" rich-ordering-list-row-selected");
      cellClassName.append(" rich-ordering-list-cell-selected");
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.