com.liferay.portlet.social.service.impl
Class SocialEquityLogLocalServiceImpl
java.lang.Object
com.liferay.portlet.social.service.base.SocialEquityLogLocalServiceBaseImpl
com.liferay.portlet.social.service.impl.SocialEquityLogLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.social.service.SocialEquityLogLocalService
public class SocialEquityLogLocalServiceImpl
- extends SocialEquityLogLocalServiceBaseImpl
View Source
- Author:
- Zsolt Berentey, Brian Wing Shun Chan
Fields inherited from class com.liferay.portlet.social.service.base.SocialEquityLogLocalServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, counterLocalService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityInterpreterLocalService, socialActivityLocalService, socialActivityPersistence, socialEquityAssetEntryPersistence, socialEquityHistoryLocalService, socialEquityHistoryPersistence, socialEquityLogLocalService, socialEquityLogPersistence, socialEquitySettingLocalService, socialEquitySettingPersistence, socialEquityUserPersistence, socialRelationLocalService, socialRelationPersistence, socialRequestInterpreterLocalService, socialRequestLocalService, socialRequestPersistence, userFinder, userLocalService, userPersistence, userService |
Method Summary |
protected void |
addEquityLog(com.liferay.portal.model.User user,
com.liferay.portlet.asset.model.AssetEntry assetEntry,
com.liferay.portal.model.User assetEntryUser,
com.liferay.portlet.social.model.SocialEquitySetting equitySetting)
|
void |
addEquityLogs(long userId,
long assetEntryId,
java.lang.String actionId)
|
void |
addEquityLogs(long userId,
java.lang.String className,
long classPK,
java.lang.String actionId)
|
protected void |
addSocialEquityAssetEntry(com.liferay.portlet.asset.model.AssetEntry assetEntry)
|
protected void |
addSocialEquityUser(long groupId,
com.liferay.portal.model.User user)
|
protected double |
calculateB(int actionDate,
int value,
int validity)
|
protected double |
calculateEquity(int actionDate,
double k,
double b)
|
protected double |
calculateK(int value,
int validity)
|
void |
checkEquityLogs()
|
void |
deactivateEquityLogs(long assetEntryId)
|
protected int |
getEquityDate()
|
protected int |
getEquityDate(java.util.Date date)
|
protected void |
removeEquityLogs(long assetEntryId)
|
protected void |
runCheckSQL(java.lang.String sqlId,
int validity)
|
protected void |
updateAssetEntry(com.liferay.portlet.asset.model.AssetEntry assetEntry,
double informationEquity)
|
protected void |
updateSocialEquityAssetEntry_IQ(long assetEntryId,
int activityDate,
double k,
double b)
|
protected void |
updateSocialEquityUser_CQ(long groupId,
long userId,
double newInformationEquity)
|
protected void |
updateSocialEquityUser_PQ(long groupId,
long userId,
int activityDate,
double k,
double b)
|
protected void |
updateUser_CQ(com.liferay.portal.model.User user,
double newInformationEquity)
|
protected void |
updateUser_PQ(com.liferay.portal.model.User user,
double newParticipationEquity)
|
Methods inherited from class com.liferay.portlet.social.service.base.SocialEquityLogLocalServiceBaseImpl |
addSocialEquityLog, createSocialEquityLog, deleteSocialEquityLog, deleteSocialEquityLog, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getCounterLocalService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityInterpreterLocalService, getSocialActivityLocalService, getSocialActivityPersistence, getSocialEquityAssetEntryPersistence, getSocialEquityHistoryLocalService, getSocialEquityHistoryPersistence, getSocialEquityLog, getSocialEquityLogLocalService, getSocialEquityLogPersistence, getSocialEquityLogs, getSocialEquityLogsCount, getSocialEquitySettingLocalService, getSocialEquitySettingPersistence, getSocialEquityUserPersistence, getSocialRelationLocalService, getSocialRelationPersistence, getSocialRequestInterpreterLocalService, getSocialRequestLocalService, getSocialRequestPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityInterpreterLocalService, setSocialActivityLocalService, setSocialActivityPersistence, setSocialEquityAssetEntryPersistence, setSocialEquityHistoryLocalService, setSocialEquityHistoryPersistence, setSocialEquityLogLocalService, setSocialEquityLogPersistence, setSocialEquitySettingLocalService, setSocialEquitySettingPersistence, setSocialEquityUserPersistence, setSocialRelationLocalService, setSocialRelationPersistence, setSocialRequestInterpreterLocalService, setSocialRequestLocalService, setSocialRequestPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateSocialEquityLog, updateSocialEquityLog |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocialEquityLogLocalServiceImpl
public SocialEquityLogLocalServiceImpl()
addEquityLogs
public void addEquityLogs(long userId,
long assetEntryId,
java.lang.String actionId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addEquityLogs
public void addEquityLogs(long userId,
java.lang.String className,
long classPK,
java.lang.String actionId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
checkEquityLogs
public void checkEquityLogs()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
deactivateEquityLogs
public void deactivateEquityLogs(long assetEntryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addEquityLog
protected void addEquityLog(com.liferay.portal.model.User user,
com.liferay.portlet.asset.model.AssetEntry assetEntry,
com.liferay.portal.model.User assetEntryUser,
com.liferay.portlet.social.model.SocialEquitySetting equitySetting)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addSocialEquityAssetEntry
protected void addSocialEquityAssetEntry(com.liferay.portlet.asset.model.AssetEntry assetEntry)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addSocialEquityUser
protected void addSocialEquityUser(long groupId,
com.liferay.portal.model.User user)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
calculateB
protected double calculateB(int actionDate,
int value,
int validity)
calculateEquity
protected double calculateEquity(int actionDate,
double k,
double b)
calculateK
protected double calculateK(int value,
int validity)
getEquityDate
protected int getEquityDate()
getEquityDate
protected int getEquityDate(java.util.Date date)
removeEquityLogs
protected void removeEquityLogs(long assetEntryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
runCheckSQL
protected void runCheckSQL(java.lang.String sqlId,
int validity)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateAssetEntry
protected void updateAssetEntry(com.liferay.portlet.asset.model.AssetEntry assetEntry,
double informationEquity)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateSocialEquityAssetEntry_IQ
protected void updateSocialEquityAssetEntry_IQ(long assetEntryId,
int activityDate,
double k,
double b)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateSocialEquityUser_CQ
protected void updateSocialEquityUser_CQ(long groupId,
long userId,
double newInformationEquity)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateSocialEquityUser_PQ
protected void updateSocialEquityUser_PQ(long groupId,
long userId,
int activityDate,
double k,
double b)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateUser_CQ
protected void updateUser_CQ(com.liferay.portal.model.User user,
double newInformationEquity)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateUser_PQ
protected void updateUser_PQ(com.liferay.portal.model.User user,
double newParticipationEquity)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException