mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 03:38:33 +08:00
Remove obsolete AggregationContainerOrderedWrapper #PL-5222
This commit is contained in:
parent
c717757e35
commit
b76654dc77
@ -1,64 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2008-2013 Haulmont. All rights reserved.
|
||||
* Use is subject to license terms, see http://www.cuba-platform.com/license for details.
|
||||
*/
|
||||
package com.haulmont.cuba.web.toolkit.data.util;
|
||||
|
||||
import com.haulmont.cuba.web.toolkit.data.AggregationContainer;
|
||||
import com.vaadin.data.Container;
|
||||
import com.vaadin.data.util.ContainerOrderedWrapper;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class AggregationContainerOrderedWrapper /*extends ContainerOrderedWrapper
|
||||
implements AggregationContainer*/
|
||||
// vaadin7 Aggregation
|
||||
{
|
||||
// public AggregationContainerOrderedWrapper(Container toBeWrapped) {
|
||||
// super(toBeWrapped);
|
||||
// }
|
||||
//
|
||||
// public Collection getAggregationPropertyIds() {
|
||||
// if (container instanceof AggregationContainer) {
|
||||
// return ((AggregationContainer) container).getAggregationPropertyIds();
|
||||
// }
|
||||
// throw new IllegalStateException("Wrapped container is not AggregationContainer: "
|
||||
// + container.getClass());
|
||||
// }
|
||||
//
|
||||
// public Type getContainerPropertyAggregation(Object propertyId) {
|
||||
// if (container instanceof AggregationContainer) {
|
||||
// return ((AggregationContainer) container).getContainerPropertyAggregation(propertyId);
|
||||
// }
|
||||
// throw new IllegalStateException("Wrapped container is not AggregationContainer: "
|
||||
// + container.getClass());
|
||||
// }
|
||||
//
|
||||
// public void addContainerPropertyAggregation(Object propertyId, Type type) {
|
||||
// if (container instanceof AggregationContainer) {
|
||||
// ((AggregationContainer) container).addContainerPropertyAggregation(propertyId, type);
|
||||
// } else {
|
||||
// throw new IllegalStateException("Wrapped container is not AggregationContainer: "
|
||||
// + container.getClass());
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// public void removeContainerPropertyAggregation(Object propertyId) {
|
||||
// if (container instanceof AggregationContainer) {
|
||||
// ((AggregationContainer) container).removeContainerPropertyAggregation(propertyId);
|
||||
// } else {
|
||||
// throw new IllegalStateException("Wrapped container is not AggregationContainer: "
|
||||
// + container.getClass());
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// public Map<Object, Object> aggregate(Context context) {
|
||||
// if (container instanceof AggregationContainer) {
|
||||
// return ((AggregationContainer) container).aggregate(context);
|
||||
// }
|
||||
// throw new IllegalStateException("Wrapped container is not AggregationContainer: "
|
||||
// + container.getClass());
|
||||
// }
|
||||
}
|
Loading…
Reference in New Issue
Block a user