0
에서 사용자 정의 데이터 유형 목록을 통과 나는 두 가지 방법복합
- 공공 무효 intItem (목록 데이터 목록) // 기본 데이터 유형을
- 공공 무효 vipInfoDataList를 취할 수 있습니다 (목록 데이터 목록을 가지고있는 복합을 만들어) // 같은 사용자 정의 데이터 형식을 취할 수 있습니다 PlxVipInfo를
[참고 : 나는 복합 클래스의 복합 전단 폴더 및 수입에서 "PlxVipInfo"데이터 유형 정의] 다음 내가 단지로 복합을 내 protlet에 넣어 .
List<Integer> myCoords = new ArrayList<Integer>();
myCoords.add(10);
myCoords.add(20);
CommonWidget mycomposite = new CommonWidget();
//mycomposite.intItem(myCoords);[**Note: when i call it gives data**]
mycomposite.vipInfoDataList(vips);[**Note: when i call it gives error**]
오류는 다음과 같습니다 :
지금compile-java:
[javac] Compiling 1 source file to /home/bglobal/liferay-sdk/portlets/customer-common-gridview-portlet/docroot/WEB-INF/classes
[javac] /home/bglobal/liferay-sdk/portlets/customer-common-gridview-portlet/docroot/WEB-INF/src/com/prolexic/portlet/proxy/client/PlxProxyServiceEntryPoint.java:174: vipInfoDataList(java.util.List<com.prolexic.composite.shared.PlxVipInfo>) in com.prolexic.composite.client.CommonWidget cannot be applied to (java.util.List<com.prolexic.portlet.proxy.shared.PlxVipInfo>)
[javac] mycomposite.vipInfoDataList(vips);
[javac] ^
[javac] Note: /home/bglobal/liferay-sdk/portlets/customer-common-gridview-portlet/docroot/WEB-INF/src/com/prolexic/portlet/proxy/client/PlxProxyServiceEntryPoint.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 error
어떻게해야합니까 는이 두 메서드를 호출?