1 package com.liferay.contacts.util;
4 public class ProxyListCompletion {
13 public ProxyListCompletion(String value, String display, String type, String orgId, String roleId, String listId) {
22 public String getXML() {
23 String result = "<completion>";
24 result += "<value><![CDATA["+ getValue() +"]]></value>";
25 result += "<display><![CDATA["+ getDisplay() +"]]></display>";
26 result += "<type>"+ getType() +"</type>";
27 result += "<orgId>"+ getOrgId() +"</orgId>";
28 result += "<roleId>"+ getRoleId() +"</roleId>";
29 result += "<listId>"+ getListId() +"</listId>";
30 result += "</completion>";
37 public String getValue() {
42 * @param value the value to set
44 public void setValue(String value) {
51 public String getDisplay() {
56 * @param display the display to set
58 public void setDisplay(String display) {
59 this.display = display;
65 public String getType() {
70 * @param type the type to set
72 public void setType(String type) {
79 public String getOrgId() {
84 * @param orgId the orgId to set
86 public void setOrgId(String orgId) {
93 public String getRoleId() {
98 * @param roleId the roleId to set
100 public void setRoleId(String roleId) {
101 this.roleId = roleId;
107 public String getListId() {
112 * @param listId the listId to set
114 public void setListId(String listId) {
115 this.listId = listId;