Ejemplo n.º 1
0
  public static LinksListEntity getDefaultApplicationPageEntity() {
    LinksListEntity tple = new LinksListEntity();
    List<LinkEntity> linkList = new ArrayList<LinkEntity>();

    LinkEntity linkEntity = tple.new LinkEntity();
    linkEntity.setName(ActionConstants.APPLICATION.APPLICATION_ALERTS.name());
    linkEntity.setUuid(UUID.randomUUID().toString());
    linkEntity.setEnumId(ActionConstants.APPLICATION.APPLICATION_ALERTS.ordinal());
    linkEntity.setType(ActionConstants.ACCTYPE.GRID.name());
    linkList.add(linkEntity);

    linkEntity = tple.new LinkEntity();
    linkEntity.setName(ActionConstants.APPLICATION.JBOSS_PROTO_ALERTS.name());
    linkEntity.setUuid(UUID.randomUUID().toString());
    linkEntity.setEnumId(ActionConstants.APPLICATION.JBOSS_PROTO_ALERTS.ordinal());
    linkEntity.setType(ActionConstants.ACCTYPE.GRID.name());
    linkList.add(linkEntity);

    tple.setLinkEntity(linkList.toArray(new LinkEntity[linkList.size()]));
    tple.setUuid(UUID.randomUUID().toString());
    return tple;
  }
Ejemplo n.º 2
0
  public static LinksListEntity getDefaultAnalyticsPageEntity() {
    LinksListEntity aple = new LinksListEntity();
    List<LinkEntity> linkList = new ArrayList<LinkEntity>();

    LinkEntity linkEntity = aple.new LinkEntity();
    linkEntity.setName(ActionConstants.ANALYTICS.SQL_DB_OUTLIERS.name());
    linkEntity.setUuid(UUID.randomUUID().toString());
    linkEntity.setEnumId(ActionConstants.ANALYTICS.SQL_DB_OUTLIERS.ordinal());
    linkEntity.setType(ActionConstants.ACCTYPE.GRID.name());
    linkList.add(linkEntity);

    aple.setLinkEntity(linkList.toArray(new LinkEntity[linkList.size()]));
    aple.setUuid(UUID.randomUUID().toString());
    return aple;
  }
Ejemplo n.º 3
0
  public static LinksListEntity getDefaultTransactionPageEntity() {
    LinksListEntity tple = new LinksListEntity();
    List<LinkEntity> linkList = new ArrayList<LinkEntity>();

    LinkEntity linkEntity = tple.new LinkEntity();
    linkEntity = tple.new LinkEntity();
    linkEntity.setName(ActionConstants.TRANSACTION.TRANSACTION_GRID.name());
    linkEntity.setUuid(UUID.randomUUID().toString());
    linkEntity.setEnumId(ActionConstants.TRANSACTION.TRANSACTION_GRID.ordinal());
    linkEntity.setType(ActionConstants.ACCTYPE.GRID.name());
    linkList.add(linkEntity);

    tple.setLinkEntity(linkList.toArray(new LinkEntity[linkList.size()]));
    tple.setUuid(UUID.randomUUID().toString());
    return tple;
  }