--- /dev/null
+/**
+ * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ */
+
+package com.pentila.entSavoie.institutionalList.model;
+
+import com.liferay.portal.model.ModelWrapper;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * <p>
+ * This class is a wrapper for {@link ListeInst}.
+ * </p>
+ *
+ * @author DIMIER Cedric
+ * @see ListeInst
+ * @generated
+ */
+public class ListeInstWrapper implements ListeInst, ModelWrapper<ListeInst> {
+ public ListeInstWrapper(ListeInst listeInst) {
+ _listeInst = listeInst;
+ }
+
+ public Class<?> getModelClass() {
+ return ListeInst.class;
+ }
+
+ public String getModelClassName() {
+ return ListeInst.class.getName();
+ }
+
+ public Map<String, Object> getModelAttributes() {
+ Map<String, Object> attributes = new HashMap<String, Object>();
+
+ attributes.put("listeInstId", getListeInstId());
+ attributes.put("listeInstName", getListeInstName());
+ attributes.put("orgId", getOrgId());
+ attributes.put("roleId", getRoleId());
+ attributes.put("orgFilter", getOrgFilter());
+ attributes.put("roleFilter", getRoleFilter());
+ attributes.put("onameFind", getOnameFind());
+ attributes.put("onameNotFind", getOnameNotFind());
+ attributes.put("includeInOrgLoop", getIncludeInOrgLoop());
+ attributes.put("includeHisOrgLoop", getIncludeHisOrgLoop());
+ attributes.put("active", getActive());
+ attributes.put("parentList", getParentList());
+ attributes.put("childrenList", getChildrenList());
+
+ return attributes;
+ }
+
+ public void setModelAttributes(Map<String, Object> attributes) {
+ Long listeInstId = (Long)attributes.get("listeInstId");
+
+ if (listeInstId != null) {
+ setListeInstId(listeInstId);
+ }
+
+ String listeInstName = (String)attributes.get("listeInstName");
+
+ if (listeInstName != null) {
+ setListeInstName(listeInstName);
+ }
+
+ Long orgId = (Long)attributes.get("orgId");
+
+ if (orgId != null) {
+ setOrgId(orgId);
+ }
+
+ Long roleId = (Long)attributes.get("roleId");
+
+ if (roleId != null) {
+ setRoleId(roleId);
+ }
+
+ Boolean orgFilter = (Boolean)attributes.get("orgFilter");
+
+ if (orgFilter != null) {
+ setOrgFilter(orgFilter);
+ }
+
+ String roleFilter = (String)attributes.get("roleFilter");
+
+ if (roleFilter != null) {
+ setRoleFilter(roleFilter);
+ }
+
+ String onameFind = (String)attributes.get("onameFind");
+
+ if (onameFind != null) {
+ setOnameFind(onameFind);
+ }
+
+ String onameNotFind = (String)attributes.get("onameNotFind");
+
+ if (onameNotFind != null) {
+ setOnameNotFind(onameNotFind);
+ }
+
+ Boolean includeInOrgLoop = (Boolean)attributes.get("includeInOrgLoop");
+
+ if (includeInOrgLoop != null) {
+ setIncludeInOrgLoop(includeInOrgLoop);
+ }
+
+ Boolean includeHisOrgLoop = (Boolean)attributes.get("includeHisOrgLoop");
+
+ if (includeHisOrgLoop != null) {
+ setIncludeHisOrgLoop(includeHisOrgLoop);
+ }
+
+ Boolean active = (Boolean)attributes.get("active");
+
+ if (active != null) {
+ setActive(active);
+ }
+
+ Boolean parentList = (Boolean)attributes.get("parentList");
+
+ if (parentList != null) {
+ setParentList(parentList);
+ }
+
+ Boolean childrenList = (Boolean)attributes.get("childrenList");
+
+ if (childrenList != null) {
+ setChildrenList(childrenList);
+ }
+ }
+
+ /**
+ * Returns the primary key of this liste inst.
+ *
+ * @return the primary key of this liste inst
+ */
+ public long getPrimaryKey() {
+ return _listeInst.getPrimaryKey();
+ }
+
+ /**
+ * Sets the primary key of this liste inst.
+ *
+ * @param primaryKey the primary key of this liste inst
+ */
+ public void setPrimaryKey(long primaryKey) {
+ _listeInst.setPrimaryKey(primaryKey);
+ }
+
+ /**
+ * Returns the liste inst ID of this liste inst.
+ *
+ * @return the liste inst ID of this liste inst
+ */
+ public long getListeInstId() {
+ return _listeInst.getListeInstId();
+ }
+
+ /**
+ * Sets the liste inst ID of this liste inst.
+ *
+ * @param listeInstId the liste inst ID of this liste inst
+ */
+ public void setListeInstId(long listeInstId) {
+ _listeInst.setListeInstId(listeInstId);
+ }
+
+ /**
+ * Returns the liste inst name of this liste inst.
+ *
+ * @return the liste inst name of this liste inst
+ */
+ public java.lang.String getListeInstName() {
+ return _listeInst.getListeInstName();
+ }
+
+ /**
+ * Sets the liste inst name of this liste inst.
+ *
+ * @param listeInstName the liste inst name of this liste inst
+ */
+ public void setListeInstName(java.lang.String listeInstName) {
+ _listeInst.setListeInstName(listeInstName);
+ }
+
+ /**
+ * Returns the org ID of this liste inst.
+ *
+ * @return the org ID of this liste inst
+ */
+ public long getOrgId() {
+ return _listeInst.getOrgId();
+ }
+
+ /**
+ * Sets the org ID of this liste inst.
+ *
+ * @param orgId the org ID of this liste inst
+ */
+ public void setOrgId(long orgId) {
+ _listeInst.setOrgId(orgId);
+ }
+
+ /**
+ * Returns the role ID of this liste inst.
+ *
+ * @return the role ID of this liste inst
+ */
+ public long getRoleId() {
+ return _listeInst.getRoleId();
+ }
+
+ /**
+ * Sets the role ID of this liste inst.
+ *
+ * @param roleId the role ID of this liste inst
+ */
+ public void setRoleId(long roleId) {
+ _listeInst.setRoleId(roleId);
+ }
+
+ /**
+ * Returns the org filter of this liste inst.
+ *
+ * @return the org filter of this liste inst
+ */
+ public boolean getOrgFilter() {
+ return _listeInst.getOrgFilter();
+ }
+
+ /**
+ * Returns <code>true</code> if this liste inst is org filter.
+ *
+ * @return <code>true</code> if this liste inst is org filter; <code>false</code> otherwise
+ */
+ public boolean isOrgFilter() {
+ return _listeInst.isOrgFilter();
+ }
+
+ /**
+ * Sets whether this liste inst is org filter.
+ *
+ * @param orgFilter the org filter of this liste inst
+ */
+ public void setOrgFilter(boolean orgFilter) {
+ _listeInst.setOrgFilter(orgFilter);
+ }
+
+ /**
+ * Returns the role filter of this liste inst.
+ *
+ * @return the role filter of this liste inst
+ */
+ public java.lang.String getRoleFilter() {
+ return _listeInst.getRoleFilter();
+ }
+
+ /**
+ * Sets the role filter of this liste inst.
+ *
+ * @param roleFilter the role filter of this liste inst
+ */
+ public void setRoleFilter(java.lang.String roleFilter) {
+ _listeInst.setRoleFilter(roleFilter);
+ }
+
+ /**
+ * Returns the oname find of this liste inst.
+ *
+ * @return the oname find of this liste inst
+ */
+ public java.lang.String getOnameFind() {
+ return _listeInst.getOnameFind();
+ }
+
+ /**
+ * Sets the oname find of this liste inst.
+ *
+ * @param onameFind the oname find of this liste inst
+ */
+ public void setOnameFind(java.lang.String onameFind) {
+ _listeInst.setOnameFind(onameFind);
+ }
+
+ /**
+ * Returns the oname not find of this liste inst.
+ *
+ * @return the oname not find of this liste inst
+ */
+ public java.lang.String getOnameNotFind() {
+ return _listeInst.getOnameNotFind();
+ }
+
+ /**
+ * Sets the oname not find of this liste inst.
+ *
+ * @param onameNotFind the oname not find of this liste inst
+ */
+ public void setOnameNotFind(java.lang.String onameNotFind) {
+ _listeInst.setOnameNotFind(onameNotFind);
+ }
+
+ /**
+ * Returns the include in org loop of this liste inst.
+ *
+ * @return the include in org loop of this liste inst
+ */
+ public boolean getIncludeInOrgLoop() {
+ return _listeInst.getIncludeInOrgLoop();
+ }
+
+ /**
+ * Returns <code>true</code> if this liste inst is include in org loop.
+ *
+ * @return <code>true</code> if this liste inst is include in org loop; <code>false</code> otherwise
+ */
+ public boolean isIncludeInOrgLoop() {
+ return _listeInst.isIncludeInOrgLoop();
+ }
+
+ /**
+ * Sets whether this liste inst is include in org loop.
+ *
+ * @param includeInOrgLoop the include in org loop of this liste inst
+ */
+ public void setIncludeInOrgLoop(boolean includeInOrgLoop) {
+ _listeInst.setIncludeInOrgLoop(includeInOrgLoop);
+ }
+
+ /**
+ * Returns the include his org loop of this liste inst.
+ *
+ * @return the include his org loop of this liste inst
+ */
+ public boolean getIncludeHisOrgLoop() {
+ return _listeInst.getIncludeHisOrgLoop();
+ }
+
+ /**
+ * Returns <code>true</code> if this liste inst is include his org loop.
+ *
+ * @return <code>true</code> if this liste inst is include his org loop; <code>false</code> otherwise
+ */
+ public boolean isIncludeHisOrgLoop() {
+ return _listeInst.isIncludeHisOrgLoop();
+ }
+
+ /**
+ * Sets whether this liste inst is include his org loop.
+ *
+ * @param includeHisOrgLoop the include his org loop of this liste inst
+ */
+ public void setIncludeHisOrgLoop(boolean includeHisOrgLoop) {
+ _listeInst.setIncludeHisOrgLoop(includeHisOrgLoop);
+ }
+
+ /**
+ * Returns the active of this liste inst.
+ *
+ * @return the active of this liste inst
+ */
+ public boolean getActive() {
+ return _listeInst.getActive();
+ }
+
+ /**
+ * Returns <code>true</code> if this liste inst is active.
+ *
+ * @return <code>true</code> if this liste inst is active; <code>false</code> otherwise
+ */
+ public boolean isActive() {
+ return _listeInst.isActive();
+ }
+
+ /**
+ * Sets whether this liste inst is active.
+ *
+ * @param active the active of this liste inst
+ */
+ public void setActive(boolean active) {
+ _listeInst.setActive(active);
+ }
+
+ /**
+ * Returns the parent list of this liste inst.
+ *
+ * @return the parent list of this liste inst
+ */
+ public boolean getParentList() {
+ return _listeInst.getParentList();
+ }
+
+ /**
+ * Returns <code>true</code> if this liste inst is parent list.
+ *
+ * @return <code>true</code> if this liste inst is parent list; <code>false</code> otherwise
+ */
+ public boolean isParentList() {
+ return _listeInst.isParentList();
+ }
+
+ /**
+ * Sets whether this liste inst is parent list.
+ *
+ * @param parentList the parent list of this liste inst
+ */
+ public void setParentList(boolean parentList) {
+ _listeInst.setParentList(parentList);
+ }
+
+ /**
+ * Returns the children list of this liste inst.
+ *
+ * @return the children list of this liste inst
+ */
+ public boolean getChildrenList() {
+ return _listeInst.getChildrenList();
+ }
+
+ /**
+ * Returns <code>true</code> if this liste inst is children list.
+ *
+ * @return <code>true</code> if this liste inst is children list; <code>false</code> otherwise
+ */
+ public boolean isChildrenList() {
+ return _listeInst.isChildrenList();
+ }
+
+ /**
+ * Sets whether this liste inst is children list.
+ *
+ * @param childrenList the children list of this liste inst
+ */
+ public void setChildrenList(boolean childrenList) {
+ _listeInst.setChildrenList(childrenList);
+ }
+
+ public boolean isNew() {
+ return _listeInst.isNew();
+ }
+
+ public void setNew(boolean n) {
+ _listeInst.setNew(n);
+ }
+
+ public boolean isCachedModel() {
+ return _listeInst.isCachedModel();
+ }
+
+ public void setCachedModel(boolean cachedModel) {
+ _listeInst.setCachedModel(cachedModel);
+ }
+
+ public boolean isEscapedModel() {
+ return _listeInst.isEscapedModel();
+ }
+
+ public java.io.Serializable getPrimaryKeyObj() {
+ return _listeInst.getPrimaryKeyObj();
+ }
+
+ public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
+ _listeInst.setPrimaryKeyObj(primaryKeyObj);
+ }
+
+ public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
+ return _listeInst.getExpandoBridge();
+ }
+
+ public void setExpandoBridgeAttributes(
+ com.liferay.portal.service.ServiceContext serviceContext) {
+ _listeInst.setExpandoBridgeAttributes(serviceContext);
+ }
+
+ @Override
+ public java.lang.Object clone() {
+ return new ListeInstWrapper((ListeInst)_listeInst.clone());
+ }
+
+ public int compareTo(
+ com.pentila.entSavoie.institutionalList.model.ListeInst listeInst) {
+ return _listeInst.compareTo(listeInst);
+ }
+
+ @Override
+ public int hashCode() {
+ return _listeInst.hashCode();
+ }
+
+ public com.liferay.portal.model.CacheModel<com.pentila.entSavoie.institutionalList.model.ListeInst> toCacheModel() {
+ return _listeInst.toCacheModel();
+ }
+
+ public com.pentila.entSavoie.institutionalList.model.ListeInst toEscapedModel() {
+ return new ListeInstWrapper(_listeInst.toEscapedModel());
+ }
+
+ @Override
+ public java.lang.String toString() {
+ return _listeInst.toString();
+ }
+
+ public java.lang.String toXmlString() {
+ return _listeInst.toXmlString();
+ }
+
+ public void persist()
+ throws com.liferay.portal.kernel.exception.SystemException {
+ _listeInst.persist();
+ }
+
+ /**
+ * @deprecated Renamed to {@link #getWrappedModel}
+ */
+ public ListeInst getWrappedListeInst() {
+ return _listeInst;
+ }
+
+ public ListeInst getWrappedModel() {
+ return _listeInst;
+ }
+
+ public void resetOriginalValues() {
+ _listeInst.resetOriginalValues();
+ }
+
+ private ListeInst _listeInst;
+}
\ No newline at end of file