mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-07 18:25:23 +00:00
84121: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud) 82508: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4) 82319: Merged DEV to V4.1-BUG-FIX (4.1.10) 81073 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements - Initial commit to revert fixes for MNT-8527 (r48757) and MNT-9483 (r56137) as this fixes causes performance issue for Oracle. 81966 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements - Default value for feed_user_id and site_network is now @@NULL@@. - IS NULL clause was completly removed from activities queries. - Upgrade sql script was added to replace nulls for Oracle (empty strings for other dialect) with @@NULL@@. - Version schema was incremented by 1. 82278 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements - Fixed unit test failure. 83431: MNT-9532 : SQL performance issue - WHERE ... IS NULL statements - Fixed build failure 84115: MNT-9532/MNT-11871: with the revert of MNT-11871 patch, MNT-9532 should be using a lower schema number. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@84632 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
90 lines
1.9 KiB
Java
90 lines
1.9 KiB
Java
/*
|
|
* Copyright (C) 2005-2010 Alfresco Software Limited.
|
|
*
|
|
* This file is part of Alfresco
|
|
*
|
|
* Alfresco 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 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* Alfresco 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.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
package org.alfresco.repo.domain.activities;
|
|
|
|
|
|
/**
|
|
* Entity bean to carry query parameters for <tt>alf_activity_feed</tt>
|
|
*
|
|
* @since 3.5
|
|
*/
|
|
public class ActivityFeedQueryEntity
|
|
{
|
|
private Long minId;
|
|
private Long maxId;
|
|
private int maxFeedSize;
|
|
private String feedUserId;
|
|
private String siteNetwork;
|
|
|
|
public String getNullValue()
|
|
{
|
|
return ActivitiesDAO.KEY_ACTIVITY_NULL_VALUE;
|
|
}
|
|
|
|
public Long getMinId()
|
|
{
|
|
return minId;
|
|
}
|
|
|
|
public void setMinId(Long minId)
|
|
{
|
|
this.minId = minId;
|
|
}
|
|
|
|
public Long getMaxId()
|
|
{
|
|
return maxId;
|
|
}
|
|
|
|
public void setMaxId(Long maxId)
|
|
{
|
|
this.maxId = maxId;
|
|
}
|
|
|
|
public int getMaxFeedSize()
|
|
{
|
|
return maxFeedSize;
|
|
}
|
|
|
|
public void setMaxFeedSize(int maxFeedSize)
|
|
{
|
|
this.maxFeedSize = maxFeedSize;
|
|
}
|
|
|
|
public String getFeedUserId()
|
|
{
|
|
return feedUserId;
|
|
}
|
|
|
|
public void setFeedUserId(String feedUserId)
|
|
{
|
|
this.feedUserId = feedUserId;
|
|
}
|
|
|
|
public String getSiteNetwork()
|
|
{
|
|
return siteNetwork;
|
|
}
|
|
|
|
public void setSiteNetwork(String siteNetwork)
|
|
{
|
|
this.siteNetwork = siteNetwork;
|
|
}
|
|
}
|