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