Permalink
Browse files

LPS-26341 Autogenerated

  • Loading branch information...
1 parent c29b9b7 commit a45dadd58f7e5f36079ce4b2edf1f0ea341ef70d @juliocamarero juliocamarero committed with brianchandotcom May 22, 2012
Showing with 4,401 additions and 336 deletions.
  1. +4 −0 portal-impl/src/META-INF/portal-hbm.xml
  2. +4 −0 portal-impl/src/META-INF/portal-model-hints.xml
  3. +7 −0 portal-impl/src/META-INF/portal-orm.xml
  4. +29 −1 portal-impl/src/com/liferay/portlet/documentlibrary/model/impl/DLFolderCacheModel.java
  5. +209 −5 portal-impl/src/com/liferay/portlet/documentlibrary/model/impl/DLFolderModelImpl.java
  6. +265 −105 portal-impl/src/com/liferay/portlet/documentlibrary/service/http/DLAppServiceHttp.java
  7. +115 −0 portal-impl/src/com/liferay/portlet/documentlibrary/service/http/DLAppServiceSoap.java
  8. +8 −7 portal-impl/src/com/liferay/portlet/documentlibrary/service/http/DLFolderServiceHttp.java
  9. +6 −5 portal-impl/src/com/liferay/portlet/documentlibrary/service/http/DLFolderServiceSoap.java
  10. +2,136 −199 portal-impl/src/com/liferay/portlet/documentlibrary/service/persistence/DLFolderPersistenceImpl.java
  11. +25 −0 .../integration/com/liferay/portlet/documentlibrary/service/persistence/DLFolderPersistenceTest.java
  12. +40 −0 portal-service/src/com/liferay/portlet/documentlibrary/model/DLFolderSoap.java
  13. +163 −0 portal-service/src/com/liferay/portlet/documentlibrary/model/DLFolderWrapper.java
  14. +15 −0 portal-service/src/com/liferay/portlet/documentlibrary/service/DLAppHelperLocalService.java
  15. +22 −0 portal-service/src/com/liferay/portlet/documentlibrary/service/DLAppHelperLocalServiceUtil.java
  16. +21 −0 portal-service/src/com/liferay/portlet/documentlibrary/service/DLAppHelperLocalServiceWrapper.java
  17. +78 −0 portal-service/src/com/liferay/portlet/documentlibrary/service/DLAppService.java
  18. +88 −0 portal-service/src/com/liferay/portlet/documentlibrary/service/DLAppServiceUtil.java
  19. +86 −0 portal-service/src/com/liferay/portlet/documentlibrary/service/DLAppServiceWrapper.java
  20. +7 −0 portal-service/src/com/liferay/portlet/documentlibrary/service/DLFolderLocalService.java
  21. +11 −0 portal-service/src/com/liferay/portlet/documentlibrary/service/DLFolderLocalServiceUtil.java
  22. +10 −0 portal-service/src/com/liferay/portlet/documentlibrary/service/DLFolderLocalServiceWrapper.java
  23. +4 −3 portal-service/src/com/liferay/portlet/documentlibrary/service/DLFolderService.java
  24. +8 −6 portal-service/src/com/liferay/portlet/documentlibrary/service/DLFolderServiceUtil.java
  25. +6 −5 portal-service/src/com/liferay/portlet/documentlibrary/service/DLFolderServiceWrapper.java
  26. +468 −0 portal-service/src/com/liferay/portlet/documentlibrary/service/persistence/DLFolderPersistence.java
  27. +560 −0 portal-service/src/com/liferay/portlet/documentlibrary/service/persistence/DLFolderUtil.java
  28. +2 −0 portal-web/docroot/html/js/liferay/service.js
  29. +2 −0 sql/indexes.properties
  30. +2 −0 sql/indexes.sql
@@ -1533,6 +1533,10 @@
<property name="lastPostDate" type="org.hibernate.type.TimestampType" />
<property name="defaultFileEntryTypeId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
<property name="overrideFileEntryTypes" type="com.liferay.portal.dao.orm.hibernate.BooleanType" />
+ <property name="status" type="com.liferay.portal.dao.orm.hibernate.IntegerType" />
+ <property name="statusByUserId" type="com.liferay.portal.dao.orm.hibernate.LongType" />
+ <property name="statusByUserName" type="com.liferay.portal.dao.orm.hibernate.StringType" />
+ <property name="statusDate" type="org.hibernate.type.TimestampType" />
</class>
<class name="com.liferay.portlet.documentlibrary.model.impl.DLSyncImpl" table="DLSync">
<cache usage="read-write" />
@@ -1444,6 +1444,10 @@
<field name="lastPostDate" type="Date" />
<field name="defaultFileEntryTypeId" type="long" />
<field name="overrideFileEntryTypes" type="boolean" />
+ <field name="status" type="int" />
+ <field name="statusByUserId" type="long" />
+ <field name="statusByUserName" type="String" />
+ <field name="statusDate" type="Date" />
</model>
<model name="com.liferay.portlet.documentlibrary.model.DLSync">
<field name="syncId" type="long" />
@@ -2024,9 +2024,16 @@
</basic>
<basic name="defaultFileEntryTypeId" />
<basic name="overrideFileEntryTypes" />
+ <basic name="status" />
+ <basic name="statusByUserId" />
+ <basic name="statusByUserName" />
+ <basic name="statusDate">
+ <temporal>TIMESTAMP</temporal>
+ </basic>
<transient name="modelAttributes" />
<transient name="primaryKey" />
<transient name="primaryKeyObj" />
+ <transient name="statusByUserUuid" />
<transient name="userUuid" />
</attributes>
</mapped-superclass>
@@ -34,7 +34,7 @@
public class DLFolderCacheModel implements CacheModel<DLFolder>, Serializable {
@Override
public String toString() {
- StringBundler sb = new StringBundler(33);
+ StringBundler sb = new StringBundler(41);
sb.append("{uuid=");
sb.append(uuid);
@@ -68,6 +68,14 @@ public String toString() {
sb.append(defaultFileEntryTypeId);
sb.append(", overrideFileEntryTypes=");
sb.append(overrideFileEntryTypes);
+ sb.append(", status=");
+ sb.append(status);
+ sb.append(", statusByUserId=");
+ sb.append(statusByUserId);
+ sb.append(", statusByUserName=");
+ sb.append(statusByUserName);
+ sb.append(", statusDate=");
+ sb.append(statusDate);
sb.append("}");
return sb.toString();
@@ -136,6 +144,22 @@ public DLFolder toEntityModel() {
dlFolderImpl.setDefaultFileEntryTypeId(defaultFileEntryTypeId);
dlFolderImpl.setOverrideFileEntryTypes(overrideFileEntryTypes);
+ dlFolderImpl.setStatus(status);
+ dlFolderImpl.setStatusByUserId(statusByUserId);
+
+ if (statusByUserName == null) {
+ dlFolderImpl.setStatusByUserName(StringPool.BLANK);
+ }
+ else {
+ dlFolderImpl.setStatusByUserName(statusByUserName);
+ }
+
+ if (statusDate == Long.MIN_VALUE) {
+ dlFolderImpl.setStatusDate(null);
+ }
+ else {
+ dlFolderImpl.setStatusDate(new Date(statusDate));
+ }
dlFolderImpl.resetOriginalValues();
@@ -158,4 +182,8 @@ public DLFolder toEntityModel() {
public long lastPostDate;
public long defaultFileEntryTypeId;
public boolean overrideFileEntryTypes;
+ public int status;
+ public long statusByUserId;
+ public String statusByUserName;
+ public long statusDate;
}
Oops, something went wrong.

0 comments on commit a45dadd

Please sign in to comment.