Examples of SmallMessageType


Examples of com.agiletec.plugins.jpwebdynamicform.aps.system.services.message.model.SmallMessageType

  protected void initSmallMessageTypes() {
    Map<String, SmallMessageType> smallMessageTypes = new HashMap<String, SmallMessageType>(this.getEntityTypes().size());
    List<IApsEntity> types = new ArrayList<IApsEntity>(this.getEntityTypes().values());
    for (int i=0; i<types.size(); i++) {
      IApsEntity type = types.get(i);
      SmallMessageType smallMessageType = new SmallMessageType();
      smallMessageType.setCode(type.getTypeCode());
      smallMessageType.setDescr(type.getTypeDescr());
      smallMessageTypes.put(smallMessageType.getCode(), smallMessageType);
    }
    this.setSmallMessageTypesMap(smallMessageTypes);
  }
View Full Code Here

Examples of com.agiletec.plugins.jpwebdynamicform.aps.system.services.message.model.SmallMessageType

    if (null == types) {
      return;
    }
    try {
      for (int i = 0; i < types.size(); i++) {
        SmallMessageType smallMessageType = types.get(i);
        String labelKey = "jpwebdynamicform_TITLE_" + smallMessageType.getCode();
        ApsProperties labelGroup = this.getI18nManager().getLabelGroup(labelKey);
        if (null == labelGroup) {
          this.addLabelGroups(labelKey, smallMessageType.getDescr());
        }
      }
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "checkTypeLables");
      throw new RuntimeException("Error checking label types", t);
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.