mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Activity Service - follow-up to r9649
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9652 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -64,6 +64,7 @@
|
|||||||
<value>org/alfresco/repo/avm/hibernate/AVM.hbm.xml</value>
|
<value>org/alfresco/repo/avm/hibernate/AVM.hbm.xml</value>
|
||||||
<value>org/alfresco/repo/attributes/hibernate/Attributes.hbm.xml</value>
|
<value>org/alfresco/repo/attributes/hibernate/Attributes.hbm.xml</value>
|
||||||
<value>org/alfresco/repo/domain/hibernate/UsageDelta.hbm.xml</value>
|
<value>org/alfresco/repo/domain/hibernate/UsageDelta.hbm.xml</value>
|
||||||
|
<value>org/alfresco/repo/activities/hibernate/Activities.hbm.xml</value>
|
||||||
|
|
||||||
<!-- Audit config -->
|
<!-- Audit config -->
|
||||||
<!-- TODO: Move into org/alfresco/repo/domain/hibernate/ -->
|
<!-- TODO: Move into org/alfresco/repo/domain/hibernate/ -->
|
||||||
|
@@ -0,0 +1,70 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
|
||||||
|
<!DOCTYPE hibernate-mapping PUBLIC
|
||||||
|
'-//Hibernate/Hibernate Mapping DTD 3.0//EN'
|
||||||
|
'http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd'>
|
||||||
|
|
||||||
|
<!-- Hibernate mapping is used to auto-generate Activity tables (based on configured Hibernate Dialect) -->
|
||||||
|
|
||||||
|
<hibernate-mapping>
|
||||||
|
|
||||||
|
<class
|
||||||
|
name="org.alfresco.repo.activities.post.ActivityPostDAO"
|
||||||
|
table="alf_activity_post" >
|
||||||
|
|
||||||
|
<!-- auto-generated ID -->
|
||||||
|
<id name="id" column="SEQUENCE_ID" type="long">
|
||||||
|
<generator class="native"/>
|
||||||
|
</id>
|
||||||
|
|
||||||
|
<property name="postDate" column="POST_DATE" not-null="true" type="timestamp"/>
|
||||||
|
<property name="status" column="STATUS" not-null="true" type="string" length="10"/>
|
||||||
|
<property name="activityData" column="ACTIVITY_DATA" not-null="true" type="string" length="4000"/>
|
||||||
|
<property name="userId" column="POST_USER_ID" not-null="true" type="string" length="255"/>
|
||||||
|
<property name="jobTaskNode" column="JOB_TASK_NODE" not-null="true" type="integer"/>
|
||||||
|
<property name="siteNetwork" column="SITE_NETWORK" type="string" length="255"/>
|
||||||
|
<property name="appTool" column="APP_TOOL" type="string" length="36"/>
|
||||||
|
<property name="activityType" column="ACTIVITY_TYPE" not-null="true" type="string" length="255"/>
|
||||||
|
<property name="lastModified" column="LAST_MODIFIED" not-null="true" type="timestamp"/>
|
||||||
|
|
||||||
|
</class>
|
||||||
|
|
||||||
|
<class
|
||||||
|
name="org.alfresco.repo.activities.feed.ActivityFeedDAO"
|
||||||
|
table="alf_activity_feed" >
|
||||||
|
|
||||||
|
<!-- auto-generated ID -->
|
||||||
|
<id name="id" column="ID" type="long">
|
||||||
|
<generator class="native"/>
|
||||||
|
</id>
|
||||||
|
|
||||||
|
<property name="postId" column="POST_ID" type="long"/>
|
||||||
|
<property name="postDate" column="POST_DATE" not-null="true" type="timestamp"/>
|
||||||
|
<property name="activitySummary" column="ACTIVITY_SUMMARY" type="string" length="4000"/>
|
||||||
|
<property name="feedUserId" column="FEED_USER_ID" type="string" length="255"/>
|
||||||
|
<property name="activityType" column="ACTIVITY_TYPE" not-null="true" type="string" length="255"/>
|
||||||
|
<property name="activitySummaryFormat" column="ACTIVITY_FORMAT" type="string" length="10"/>
|
||||||
|
<property name="siteNetwork" column="SITE_NETWORK" type="string" length="255"/>
|
||||||
|
<property name="appTool" column="APP_TOOL" type="string" length="36"/>
|
||||||
|
<property name="postUserId" column="POST_USER_ID" not-null="true" type="string" length="255"/>
|
||||||
|
<property name="feedDate" column="FEED_DATE" not-null="true" type="timestamp"/>
|
||||||
|
|
||||||
|
</class>
|
||||||
|
|
||||||
|
<class
|
||||||
|
name="org.alfresco.repo.activities.feed.control.FeedControlDAO"
|
||||||
|
table="alf_activity_feed_control" >
|
||||||
|
|
||||||
|
<!-- auto-generated ID -->
|
||||||
|
<id name="id" column="ID" type="long">
|
||||||
|
<generator class="native"/>
|
||||||
|
</id>
|
||||||
|
|
||||||
|
<property name="feedUserId" column="FEED_USER_ID" not-null="true" type="string" length="255"/>
|
||||||
|
<property name="siteNetwork" column="SITE_NETWORK" type="string" length="255"/>
|
||||||
|
<property name="appTool" column="APP_TOOL" type="string" length="36"/>
|
||||||
|
<property name="lastModified" column="LAST_MODIFIED" not-null="true" type="timestamp"/>
|
||||||
|
|
||||||
|
</class>
|
||||||
|
|
||||||
|
</hibernate-mapping>
|
Reference in New Issue
Block a user