1   /**
2    * ServiceContext.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6    */
7   
8   package com.liferay.client.soap.portal.service;
9   
10  public class ServiceContext  implements java.io.Serializable {
11      private boolean addCommunityPermissions;
12  
13      private boolean addGuestPermissions;
14  
15      private java.util.HashMap attributes;
16  
17      private java.lang.String command;
18  
19      private boolean commandAdd;
20  
21      private boolean commandUpdate;
22  
23      private java.lang.String[] communityPermissions;
24  
25      private long companyId;
26  
27      private java.util.HashMap expandoBridgeAttributes;
28  
29      private java.lang.String[] guestPermissions;
30  
31      private java.lang.String languageId;
32  
33      private java.lang.String layoutFullURL;
34  
35      private java.lang.String layoutURL;
36  
37      private java.lang.String pathMain;
38  
39      private long plid;
40  
41      private java.lang.String portalURL;
42  
43      private com.liferay.client.soap.portal.model.PortletPreferencesIds portletPreferencesIds;
44  
45      private long scopeGroupId;
46  
47      private java.lang.String[] tagsCategories;
48  
49      private java.lang.String[] tagsEntries;
50  
51      private java.lang.String userDisplayURL;
52  
53      private long userId;
54  
55      public ServiceContext() {
56      }
57  
58      public ServiceContext(
59             boolean addCommunityPermissions,
60             boolean addGuestPermissions,
61             java.util.HashMap attributes,
62             java.lang.String command,
63             boolean commandAdd,
64             boolean commandUpdate,
65             java.lang.String[] communityPermissions,
66             long companyId,
67             java.util.HashMap expandoBridgeAttributes,
68             java.lang.String[] guestPermissions,
69             java.lang.String languageId,
70             java.lang.String layoutFullURL,
71             java.lang.String layoutURL,
72             java.lang.String pathMain,
73             long plid,
74             java.lang.String portalURL,
75             com.liferay.client.soap.portal.model.PortletPreferencesIds portletPreferencesIds,
76             long scopeGroupId,
77             java.lang.String[] tagsCategories,
78             java.lang.String[] tagsEntries,
79             java.lang.String userDisplayURL,
80             long userId) {
81             this.addCommunityPermissions = addCommunityPermissions;
82             this.addGuestPermissions = addGuestPermissions;
83             this.attributes = attributes;
84             this.command = command;
85             this.commandAdd = commandAdd;
86             this.commandUpdate = commandUpdate;
87             this.communityPermissions = communityPermissions;
88             this.companyId = companyId;
89             this.expandoBridgeAttributes = expandoBridgeAttributes;
90             this.guestPermissions = guestPermissions;
91             this.languageId = languageId;
92             this.layoutFullURL = layoutFullURL;
93             this.layoutURL = layoutURL;
94             this.pathMain = pathMain;
95             this.plid = plid;
96             this.portalURL = portalURL;
97             this.portletPreferencesIds = portletPreferencesIds;
98             this.scopeGroupId = scopeGroupId;
99             this.tagsCategories = tagsCategories;
100            this.tagsEntries = tagsEntries;
101            this.userDisplayURL = userDisplayURL;
102            this.userId = userId;
103     }
104 
105 
106     /**
107      * Gets the addCommunityPermissions value for this ServiceContext.
108      * 
109      * @return addCommunityPermissions
110      */
111     public boolean isAddCommunityPermissions() {
112         return addCommunityPermissions;
113     }
114 
115 
116     /**
117      * Sets the addCommunityPermissions value for this ServiceContext.
118      * 
119      * @param addCommunityPermissions
120      */
121     public void setAddCommunityPermissions(boolean addCommunityPermissions) {
122         this.addCommunityPermissions = addCommunityPermissions;
123     }
124 
125 
126     /**
127      * Gets the addGuestPermissions value for this ServiceContext.
128      * 
129      * @return addGuestPermissions
130      */
131     public boolean isAddGuestPermissions() {
132         return addGuestPermissions;
133     }
134 
135 
136     /**
137      * Sets the addGuestPermissions value for this ServiceContext.
138      * 
139      * @param addGuestPermissions
140      */
141     public void setAddGuestPermissions(boolean addGuestPermissions) {
142         this.addGuestPermissions = addGuestPermissions;
143     }
144 
145 
146     /**
147      * Gets the attributes value for this ServiceContext.
148      * 
149      * @return attributes
150      */
151     public java.util.HashMap getAttributes() {
152         return attributes;
153     }
154 
155 
156     /**
157      * Sets the attributes value for this ServiceContext.
158      * 
159      * @param attributes
160      */
161     public void setAttributes(java.util.HashMap attributes) {
162         this.attributes = attributes;
163     }
164 
165 
166     /**
167      * Gets the command value for this ServiceContext.
168      * 
169      * @return command
170      */
171     public java.lang.String getCommand() {
172         return command;
173     }
174 
175 
176     /**
177      * Sets the command value for this ServiceContext.
178      * 
179      * @param command
180      */
181     public void setCommand(java.lang.String command) {
182         this.command = command;
183     }
184 
185 
186     /**
187      * Gets the commandAdd value for this ServiceContext.
188      * 
189      * @return commandAdd
190      */
191     public boolean isCommandAdd() {
192         return commandAdd;
193     }
194 
195 
196     /**
197      * Sets the commandAdd value for this ServiceContext.
198      * 
199      * @param commandAdd
200      */
201     public void setCommandAdd(boolean commandAdd) {
202         this.commandAdd = commandAdd;
203     }
204 
205 
206     /**
207      * Gets the commandUpdate value for this ServiceContext.
208      * 
209      * @return commandUpdate
210      */
211     public boolean isCommandUpdate() {
212         return commandUpdate;
213     }
214 
215 
216     /**
217      * Sets the commandUpdate value for this ServiceContext.
218      * 
219      * @param commandUpdate
220      */
221     public void setCommandUpdate(boolean commandUpdate) {
222         this.commandUpdate = commandUpdate;
223     }
224 
225 
226     /**
227      * Gets the communityPermissions value for this ServiceContext.
228      * 
229      * @return communityPermissions
230      */
231     public java.lang.String[] getCommunityPermissions() {
232         return communityPermissions;
233     }
234 
235 
236     /**
237      * Sets the communityPermissions value for this ServiceContext.
238      * 
239      * @param communityPermissions
240      */
241     public void setCommunityPermissions(java.lang.String[] communityPermissions) {
242         this.communityPermissions = communityPermissions;
243     }
244 
245 
246     /**
247      * Gets the companyId value for this ServiceContext.
248      * 
249      * @return companyId
250      */
251     public long getCompanyId() {
252         return companyId;
253     }
254 
255 
256     /**
257      * Sets the companyId value for this ServiceContext.
258      * 
259      * @param companyId
260      */
261     public void setCompanyId(long companyId) {
262         this.companyId = companyId;
263     }
264 
265 
266     /**
267      * Gets the expandoBridgeAttributes value for this ServiceContext.
268      * 
269      * @return expandoBridgeAttributes
270      */
271     public java.util.HashMap getExpandoBridgeAttributes() {
272         return expandoBridgeAttributes;
273     }
274 
275 
276     /**
277      * Sets the expandoBridgeAttributes value for this ServiceContext.
278      * 
279      * @param expandoBridgeAttributes
280      */
281     public void setExpandoBridgeAttributes(java.util.HashMap expandoBridgeAttributes) {
282         this.expandoBridgeAttributes = expandoBridgeAttributes;
283     }
284 
285 
286     /**
287      * Gets the guestPermissions value for this ServiceContext.
288      * 
289      * @return guestPermissions
290      */
291     public java.lang.String[] getGuestPermissions() {
292         return guestPermissions;
293     }
294 
295 
296     /**
297      * Sets the guestPermissions value for this ServiceContext.
298      * 
299      * @param guestPermissions
300      */
301     public void setGuestPermissions(java.lang.String[] guestPermissions) {
302         this.guestPermissions = guestPermissions;
303     }
304 
305 
306     /**
307      * Gets the languageId value for this ServiceContext.
308      * 
309      * @return languageId
310      */
311     public java.lang.String getLanguageId() {
312         return languageId;
313     }
314 
315 
316     /**
317      * Sets the languageId value for this ServiceContext.
318      * 
319      * @param languageId
320      */
321     public void setLanguageId(java.lang.String languageId) {
322         this.languageId = languageId;
323     }
324 
325 
326     /**
327      * Gets the layoutFullURL value for this ServiceContext.
328      * 
329      * @return layoutFullURL
330      */
331     public java.lang.String getLayoutFullURL() {
332         return layoutFullURL;
333     }
334 
335 
336     /**
337      * Sets the layoutFullURL value for this ServiceContext.
338      * 
339      * @param layoutFullURL
340      */
341     public void setLayoutFullURL(java.lang.String layoutFullURL) {
342         this.layoutFullURL = layoutFullURL;
343     }
344 
345 
346     /**
347      * Gets the layoutURL value for this ServiceContext.
348      * 
349      * @return layoutURL
350      */
351     public java.lang.String getLayoutURL() {
352         return layoutURL;
353     }
354 
355 
356     /**
357      * Sets the layoutURL value for this ServiceContext.
358      * 
359      * @param layoutURL
360      */
361     public void setLayoutURL(java.lang.String layoutURL) {
362         this.layoutURL = layoutURL;
363     }
364 
365 
366     /**
367      * Gets the pathMain value for this ServiceContext.
368      * 
369      * @return pathMain
370      */
371     public java.lang.String getPathMain() {
372         return pathMain;
373     }
374 
375 
376     /**
377      * Sets the pathMain value for this ServiceContext.
378      * 
379      * @param pathMain
380      */
381     public void setPathMain(java.lang.String pathMain) {
382         this.pathMain = pathMain;
383     }
384 
385 
386     /**
387      * Gets the plid value for this ServiceContext.
388      * 
389      * @return plid
390      */
391     public long getPlid() {
392         return plid;
393     }
394 
395 
396     /**
397      * Sets the plid value for this ServiceContext.
398      * 
399      * @param plid
400      */
401     public void setPlid(long plid) {
402         this.plid = plid;
403     }
404 
405 
406     /**
407      * Gets the portalURL value for this ServiceContext.
408      * 
409      * @return portalURL
410      */
411     public java.lang.String getPortalURL() {
412         return portalURL;
413     }
414 
415 
416     /**
417      * Sets the portalURL value for this ServiceContext.
418      * 
419      * @param portalURL
420      */
421     public void setPortalURL(java.lang.String portalURL) {
422         this.portalURL = portalURL;
423     }
424 
425 
426     /**
427      * Gets the portletPreferencesIds value for this ServiceContext.
428      * 
429      * @return portletPreferencesIds
430      */
431     public com.liferay.client.soap.portal.model.PortletPreferencesIds getPortletPreferencesIds() {
432         return portletPreferencesIds;
433     }
434 
435 
436     /**
437      * Sets the portletPreferencesIds value for this ServiceContext.
438      * 
439      * @param portletPreferencesIds
440      */
441     public void setPortletPreferencesIds(com.liferay.client.soap.portal.model.PortletPreferencesIds portletPreferencesIds) {
442         this.portletPreferencesIds = portletPreferencesIds;
443     }
444 
445 
446     /**
447      * Gets the scopeGroupId value for this ServiceContext.
448      * 
449      * @return scopeGroupId
450      */
451     public long getScopeGroupId() {
452         return scopeGroupId;
453     }
454 
455 
456     /**
457      * Sets the scopeGroupId value for this ServiceContext.
458      * 
459      * @param scopeGroupId
460      */
461     public void setScopeGroupId(long scopeGroupId) {
462         this.scopeGroupId = scopeGroupId;
463     }
464 
465 
466     /**
467      * Gets the tagsCategories value for this ServiceContext.
468      * 
469      * @return tagsCategories
470      */
471     public java.lang.String[] getTagsCategories() {
472         return tagsCategories;
473     }
474 
475 
476     /**
477      * Sets the tagsCategories value for this ServiceContext.
478      * 
479      * @param tagsCategories
480      */
481     public void setTagsCategories(java.lang.String[] tagsCategories) {
482         this.tagsCategories = tagsCategories;
483     }
484 
485 
486     /**
487      * Gets the tagsEntries value for this ServiceContext.
488      * 
489      * @return tagsEntries
490      */
491     public java.lang.String[] getTagsEntries() {
492         return tagsEntries;
493     }
494 
495 
496     /**
497      * Sets the tagsEntries value for this ServiceContext.
498      * 
499      * @param tagsEntries
500      */
501     public void setTagsEntries(java.lang.String[] tagsEntries) {
502         this.tagsEntries = tagsEntries;
503     }
504 
505 
506     /**
507      * Gets the userDisplayURL value for this ServiceContext.
508      * 
509      * @return userDisplayURL
510      */
511     public java.lang.String getUserDisplayURL() {
512         return userDisplayURL;
513     }
514 
515 
516     /**
517      * Sets the userDisplayURL value for this ServiceContext.
518      * 
519      * @param userDisplayURL
520      */
521     public void setUserDisplayURL(java.lang.String userDisplayURL) {
522         this.userDisplayURL = userDisplayURL;
523     }
524 
525 
526     /**
527      * Gets the userId value for this ServiceContext.
528      * 
529      * @return userId
530      */
531     public long getUserId() {
532         return userId;
533     }
534 
535 
536     /**
537      * Sets the userId value for this ServiceContext.
538      * 
539      * @param userId
540      */
541     public void setUserId(long userId) {
542         this.userId = userId;
543     }
544 
545     private java.lang.Object __equalsCalc = null;
546     public synchronized boolean equals(java.lang.Object obj) {
547         if (!(obj instanceof ServiceContext)) return false;
548         ServiceContext other = (ServiceContext) obj;
549         if (obj == null) return false;
550         if (this == obj) return true;
551         if (__equalsCalc != null) {
552             return (__equalsCalc == obj);
553         }
554         __equalsCalc = obj;
555         boolean _equals;
556         _equals = true && 
557             this.addCommunityPermissions == other.isAddCommunityPermissions() &&
558             this.addGuestPermissions == other.isAddGuestPermissions() &&
559             ((this.attributes==null && other.getAttributes()==null) || 
560              (this.attributes!=null &&
561               this.attributes.equals(other.getAttributes()))) &&
562             ((this.command==null && other.getCommand()==null) || 
563              (this.command!=null &&
564               this.command.equals(other.getCommand()))) &&
565             this.commandAdd == other.isCommandAdd() &&
566             this.commandUpdate == other.isCommandUpdate() &&
567             ((this.communityPermissions==null && other.getCommunityPermissions()==null) || 
568              (this.communityPermissions!=null &&
569               java.util.Arrays.equals(this.communityPermissions, other.getCommunityPermissions()))) &&
570             this.companyId == other.getCompanyId() &&
571             ((this.expandoBridgeAttributes==null && other.getExpandoBridgeAttributes()==null) || 
572              (this.expandoBridgeAttributes!=null &&
573               this.expandoBridgeAttributes.equals(other.getExpandoBridgeAttributes()))) &&
574             ((this.guestPermissions==null && other.getGuestPermissions()==null) || 
575              (this.guestPermissions!=null &&
576               java.util.Arrays.equals(this.guestPermissions, other.getGuestPermissions()))) &&
577             ((this.languageId==null && other.getLanguageId()==null) || 
578              (this.languageId!=null &&
579               this.languageId.equals(other.getLanguageId()))) &&
580             ((this.layoutFullURL==null && other.getLayoutFullURL()==null) || 
581              (this.layoutFullURL!=null &&
582               this.layoutFullURL.equals(other.getLayoutFullURL()))) &&
583             ((this.layoutURL==null && other.getLayoutURL()==null) || 
584              (this.layoutURL!=null &&
585               this.layoutURL.equals(other.getLayoutURL()))) &&
586             ((this.pathMain==null && other.getPathMain()==null) || 
587              (this.pathMain!=null &&
588               this.pathMain.equals(other.getPathMain()))) &&
589             this.plid == other.getPlid() &&
590             ((this.portalURL==null && other.getPortalURL()==null) || 
591              (this.portalURL!=null &&
592               this.portalURL.equals(other.getPortalURL()))) &&
593             ((this.portletPreferencesIds==null && other.getPortletPreferencesIds()==null) || 
594              (this.portletPreferencesIds!=null &&
595               this.portletPreferencesIds.equals(other.getPortletPreferencesIds()))) &&
596             this.scopeGroupId == other.getScopeGroupId() &&
597             ((this.tagsCategories==null && other.getTagsCategories()==null) || 
598              (this.tagsCategories!=null &&
599               java.util.Arrays.equals(this.tagsCategories, other.getTagsCategories()))) &&
600             ((this.tagsEntries==null && other.getTagsEntries()==null) || 
601              (this.tagsEntries!=null &&
602               java.util.Arrays.equals(this.tagsEntries, other.getTagsEntries()))) &&
603             ((this.userDisplayURL==null && other.getUserDisplayURL()==null) || 
604              (this.userDisplayURL!=null &&
605               this.userDisplayURL.equals(other.getUserDisplayURL()))) &&
606             this.userId == other.getUserId();
607         __equalsCalc = null;
608         return _equals;
609     }
610 
611     private boolean __hashCodeCalc = false;
612     public synchronized int hashCode() {
613         if (__hashCodeCalc) {
614             return 0;
615         }
616         __hashCodeCalc = true;
617         int _hashCode = 1;
618         _hashCode += (isAddCommunityPermissions() ? Boolean.TRUE : Boolean.FALSE).hashCode();
619         _hashCode += (isAddGuestPermissions() ? Boolean.TRUE : Boolean.FALSE).hashCode();
620         if (getAttributes() != null) {
621             _hashCode += getAttributes().hashCode();
622         }
623         if (getCommand() != null) {
624             _hashCode += getCommand().hashCode();
625         }
626         _hashCode += (isCommandAdd() ? Boolean.TRUE : Boolean.FALSE).hashCode();
627         _hashCode += (isCommandUpdate() ? Boolean.TRUE : Boolean.FALSE).hashCode();
628         if (getCommunityPermissions() != null) {
629             for (int i=0;
630                  i<java.lang.reflect.Array.getLength(getCommunityPermissions());
631                  i++) {
632                 java.lang.Object obj = java.lang.reflect.Array.get(getCommunityPermissions(), i);
633                 if (obj != null &&
634                     !obj.getClass().isArray()) {
635                     _hashCode += obj.hashCode();
636                 }
637             }
638         }
639         _hashCode += new Long(getCompanyId()).hashCode();
640         if (getExpandoBridgeAttributes() != null) {
641             _hashCode += getExpandoBridgeAttributes().hashCode();
642         }
643         if (getGuestPermissions() != null) {
644             for (int i=0;
645                  i<java.lang.reflect.Array.getLength(getGuestPermissions());
646                  i++) {
647                 java.lang.Object obj = java.lang.reflect.Array.get(getGuestPermissions(), i);
648                 if (obj != null &&
649                     !obj.getClass().isArray()) {
650                     _hashCode += obj.hashCode();
651                 }
652             }
653         }
654         if (getLanguageId() != null) {
655             _hashCode += getLanguageId().hashCode();
656         }
657         if (getLayoutFullURL() != null) {
658             _hashCode += getLayoutFullURL().hashCode();
659         }
660         if (getLayoutURL() != null) {
661             _hashCode += getLayoutURL().hashCode();
662         }
663         if (getPathMain() != null) {
664             _hashCode += getPathMain().hashCode();
665         }
666         _hashCode += new Long(getPlid()).hashCode();
667         if (getPortalURL() != null) {
668             _hashCode += getPortalURL().hashCode();
669         }
670         if (getPortletPreferencesIds() != null) {
671             _hashCode += getPortletPreferencesIds().hashCode();
672         }
673         _hashCode += new Long(getScopeGroupId()).hashCode();
674         if (getTagsCategories() != null) {
675             for (int i=0;
676                  i<java.lang.reflect.Array.getLength(getTagsCategories());
677                  i++) {
678                 java.lang.Object obj = java.lang.reflect.Array.get(getTagsCategories(), i);
679                 if (obj != null &&
680                     !obj.getClass().isArray()) {
681                     _hashCode += obj.hashCode();
682                 }
683             }
684         }
685         if (getTagsEntries() != null) {
686             for (int i=0;
687                  i<java.lang.reflect.Array.getLength(getTagsEntries());
688                  i++) {
689                 java.lang.Object obj = java.lang.reflect.Array.get(getTagsEntries(), i);
690                 if (obj != null &&
691                     !obj.getClass().isArray()) {
692                     _hashCode += obj.hashCode();
693                 }
694             }
695         }
696         if (getUserDisplayURL() != null) {
697             _hashCode += getUserDisplayURL().hashCode();
698         }
699         _hashCode += new Long(getUserId()).hashCode();
700         __hashCodeCalc = false;
701         return _hashCode;
702     }
703 
704     // Type metadata
705     private static org.apache.axis.description.TypeDesc typeDesc =
706         new org.apache.axis.description.TypeDesc(ServiceContext.class, true);
707 
708     static {
709         typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.portal.liferay.com", "ServiceContext"));
710         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
711         elemField.setFieldName("addCommunityPermissions");
712         elemField.setXmlName(new javax.xml.namespace.QName("", "addCommunityPermissions"));
713         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
714         elemField.setNillable(false);
715         typeDesc.addFieldDesc(elemField);
716         elemField = new org.apache.axis.description.ElementDesc();
717         elemField.setFieldName("addGuestPermissions");
718         elemField.setXmlName(new javax.xml.namespace.QName("", "addGuestPermissions"));
719         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
720         elemField.setNillable(false);
721         typeDesc.addFieldDesc(elemField);
722         elemField = new org.apache.axis.description.ElementDesc();
723         elemField.setFieldName("attributes");
724         elemField.setXmlName(new javax.xml.namespace.QName("", "attributes"));
725         elemField.setXmlType(new javax.xml.namespace.QName("http://xml.apache.org/xml-soap", "Map"));
726         elemField.setNillable(true);
727         typeDesc.addFieldDesc(elemField);
728         elemField = new org.apache.axis.description.ElementDesc();
729         elemField.setFieldName("command");
730         elemField.setXmlName(new javax.xml.namespace.QName("", "command"));
731         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
732         elemField.setNillable(true);
733         typeDesc.addFieldDesc(elemField);
734         elemField = new org.apache.axis.description.ElementDesc();
735         elemField.setFieldName("commandAdd");
736         elemField.setXmlName(new javax.xml.namespace.QName("", "commandAdd"));
737         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
738         elemField.setNillable(false);
739         typeDesc.addFieldDesc(elemField);
740         elemField = new org.apache.axis.description.ElementDesc();
741         elemField.setFieldName("commandUpdate");
742         elemField.setXmlName(new javax.xml.namespace.QName("", "commandUpdate"));
743         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
744         elemField.setNillable(false);
745         typeDesc.addFieldDesc(elemField);
746         elemField = new org.apache.axis.description.ElementDesc();
747         elemField.setFieldName("communityPermissions");
748         elemField.setXmlName(new javax.xml.namespace.QName("", "communityPermissions"));
749         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
750         elemField.setNillable(true);
751         typeDesc.addFieldDesc(elemField);
752         elemField = new org.apache.axis.description.ElementDesc();
753         elemField.setFieldName("companyId");
754         elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
755         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
756         elemField.setNillable(false);
757         typeDesc.addFieldDesc(elemField);
758         elemField = new org.apache.axis.description.ElementDesc();
759         elemField.setFieldName("expandoBridgeAttributes");
760         elemField.setXmlName(new javax.xml.namespace.QName("", "expandoBridgeAttributes"));
761         elemField.setXmlType(new javax.xml.namespace.QName("http://xml.apache.org/xml-soap", "Map"));
762         elemField.setNillable(true);
763         typeDesc.addFieldDesc(elemField);
764         elemField = new org.apache.axis.description.ElementDesc();
765         elemField.setFieldName("guestPermissions");
766         elemField.setXmlName(new javax.xml.namespace.QName("", "guestPermissions"));
767         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
768         elemField.setNillable(true);
769         typeDesc.addFieldDesc(elemField);
770         elemField = new org.apache.axis.description.ElementDesc();
771         elemField.setFieldName("languageId");
772         elemField.setXmlName(new javax.xml.namespace.QName("", "languageId"));
773         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
774         elemField.setNillable(true);
775         typeDesc.addFieldDesc(elemField);
776         elemField = new org.apache.axis.description.ElementDesc();
777         elemField.setFieldName("layoutFullURL");
778         elemField.setXmlName(new javax.xml.namespace.QName("", "layoutFullURL"));
779         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
780         elemField.setNillable(true);
781         typeDesc.addFieldDesc(elemField);
782         elemField = new org.apache.axis.description.ElementDesc();
783         elemField.setFieldName("layoutURL");
784         elemField.setXmlName(new javax.xml.namespace.QName("", "layoutURL"));
785         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
786         elemField.setNillable(true);
787         typeDesc.addFieldDesc(elemField);
788         elemField = new org.apache.axis.description.ElementDesc();
789         elemField.setFieldName("pathMain");
790         elemField.setXmlName(new javax.xml.namespace.QName("", "pathMain"));
791         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
792         elemField.setNillable(true);
793         typeDesc.addFieldDesc(elemField);
794         elemField = new org.apache.axis.description.ElementDesc();
795         elemField.setFieldName("plid");
796         elemField.setXmlName(new javax.xml.namespace.QName("", "plid"));
797         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
798         elemField.setNillable(false);
799         typeDesc.addFieldDesc(elemField);
800         elemField = new org.apache.axis.description.ElementDesc();
801         elemField.setFieldName("portalURL");
802         elemField.setXmlName(new javax.xml.namespace.QName("", "portalURL"));
803         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
804         elemField.setNillable(true);
805         typeDesc.addFieldDesc(elemField);
806         elemField = new org.apache.axis.description.ElementDesc();
807         elemField.setFieldName("portletPreferencesIds");
808         elemField.setXmlName(new javax.xml.namespace.QName("", "portletPreferencesIds"));
809         elemField.setXmlType(new javax.xml.namespace.QName("http://model.portal.liferay.com", "PortletPreferencesIds"));
810         elemField.setNillable(true);
811         typeDesc.addFieldDesc(elemField);
812         elemField = new org.apache.axis.description.ElementDesc();
813         elemField.setFieldName("scopeGroupId");
814         elemField.setXmlName(new javax.xml.namespace.QName("", "scopeGroupId"));
815         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
816         elemField.setNillable(false);
817         typeDesc.addFieldDesc(elemField);
818         elemField = new org.apache.axis.description.ElementDesc();
819         elemField.setFieldName("tagsCategories");
820         elemField.setXmlName(new javax.xml.namespace.QName("", "tagsCategories"));
821         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
822         elemField.setNillable(true);
823         typeDesc.addFieldDesc(elemField);
824         elemField = new org.apache.axis.description.ElementDesc();
825         elemField.setFieldName("tagsEntries");
826         elemField.setXmlName(new javax.xml.namespace.QName("", "tagsEntries"));
827         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
828         elemField.setNillable(true);
829         typeDesc.addFieldDesc(elemField);
830         elemField = new org.apache.axis.description.ElementDesc();
831         elemField.setFieldName("userDisplayURL");
832         elemField.setXmlName(new javax.xml.namespace.QName("", "userDisplayURL"));
833         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
834         elemField.setNillable(true);
835         typeDesc.addFieldDesc(elemField);
836         elemField = new org.apache.axis.description.ElementDesc();
837         elemField.setFieldName("userId");
838         elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
839         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
840         elemField.setNillable(false);
841         typeDesc.addFieldDesc(elemField);
842     }
843 
844     /**
845      * Return type metadata object
846      */
847     public static org.apache.axis.description.TypeDesc getTypeDesc() {
848         return typeDesc;
849     }
850 
851     /**
852      * Get Custom Serializer
853      */
854     public static org.apache.axis.encoding.Serializer getSerializer(
855            java.lang.String mechType, 
856            java.lang.Class _javaType,  
857            javax.xml.namespace.QName _xmlType) {
858         return 
859           new  org.apache.axis.encoding.ser.BeanSerializer(
860             _javaType, _xmlType, typeDesc);
861     }
862 
863     /**
864      * Get Custom Deserializer
865      */
866     public static org.apache.axis.encoding.Deserializer getDeserializer(
867            java.lang.String mechType, 
868            java.lang.Class _javaType,  
869            javax.xml.namespace.QName _xmlType) {
870         return 
871           new  org.apache.axis.encoding.ser.BeanDeserializer(
872             _javaType, _xmlType, typeDesc);
873     }
874 
875 }
876