예제 #1
0
 public Dimension Dimension(Domain parent, String name, Type type, Expression expression) {
   DomainPK pk = parent.getId();
   Dimension dimension =
       new Dimension(new DimensionPK(pk, getNewID(name)), name, type, expression);
   DimensionServiceBaseImpl.getInstance().store(ctx, dimension);
   return dimension;
 }
예제 #2
0
 public Dimension Dimension(Dimension parent, String name, Type type, Expression expression) {
   DimensionPK pk = parent.getId();
   Dimension dimension =
       new Dimension(
           new DimensionPK(
               pk.getCustomerId(), pk.getProjectId(), pk.getDomainId(), getNewID(name)),
           name,
           type,
           expression);
   dimension.setParentId(parent.getId());
   DimensionServiceBaseImpl.getInstance().store(ctx, dimension);
   return dimension;
 }