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:
- SocialEquityLogLocalService
public class SocialEquityLogLocalServiceImpl
- extends SocialEquityLogLocalServiceBaseImpl
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, socialEquityUserLocalService, socialEquityUserPersistence, socialRelationLocalService, socialRelationPersistence, socialRequestInterpreterLocalService, socialRequestLocalService, socialRequestPersistence, userFinder, userLocalService, userPersistence, userService |
Method Summary |
protected void |
addEquityLog(User user,
AssetEntry assetEntry,
User assetEntryUser,
SocialEquitySetting equitySetting)
|
void |
addEquityLogs(long userId,
long assetEntryId,
String actionId)
|
void |
addEquityLogs(long userId,
String className,
long classPK,
String actionId)
|
protected void |
addSocialEquityAssetEntry(AssetEntry assetEntry)
|
protected void |
addSocialEquityUser(long groupId,
User user)
|
protected double |
calculateB(int actionDate,
int value,
int lifespan)
|
protected double |
calculateEquity(int actionDate,
double k,
double b)
|
protected double |
calculateK(int value,
int lifespan)
|
protected boolean |
checkActionRestrictions(long userId,
long assetEntryId,
SocialEquitySetting equitySetting)
|
void |
checkEquityLogs()
|
void |
deactivateEquityLogs(long assetEntryId)
|
void |
deactivateEquityLogs(long userId,
long assetEntryId,
String actionId)
|
void |
deactivateEquityLogs(long userId,
String className,
long classPK,
String actionId)
|
protected int |
getEquityDate()
|
protected int |
getEquityDate(Date date)
|
void |
incrementSocialEquityAssetEntry_IQ(long assetEntryId,
SocialEquityValue socialEquityValue)
|
void |
incrementSocialEquityUser_CQ(long groupId,
long userId,
SocialEquityValue socialEquityValue)
|
void |
incrementSocialEquityUser_PQ(long groupId,
long userId,
SocialEquityValue socialEquityValue)
|
protected void |
runCheckSQL(String sqlId,
int validity)
|
void |
updateRanks()
|
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, getSocialEquityUserLocalService, 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, setSocialEquityUserLocalService, 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,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addEquityLogs
public void addEquityLogs(long userId,
String className,
long classPK,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
checkEquityLogs
public void checkEquityLogs()
throws SystemException
- Throws:
SystemException
deactivateEquityLogs
public void deactivateEquityLogs(long assetEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deactivateEquityLogs
public void deactivateEquityLogs(long userId,
long assetEntryId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deactivateEquityLogs
public void deactivateEquityLogs(long userId,
String className,
long classPK,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
incrementSocialEquityAssetEntry_IQ
@BufferedIncrement(incrementClass=SocialEquityIncrement.class)
public void incrementSocialEquityAssetEntry_IQ(long assetEntryId,
SocialEquityValue socialEquityValue)
throws SystemException
- Throws:
SystemException
incrementSocialEquityUser_CQ
@BufferedIncrement(incrementClass=SocialEquityIncrement.class)
public void incrementSocialEquityUser_CQ(long groupId,
long userId,
SocialEquityValue socialEquityValue)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
incrementSocialEquityUser_PQ
@BufferedIncrement(incrementClass=SocialEquityIncrement.class)
public void incrementSocialEquityUser_PQ(long groupId,
long userId,
SocialEquityValue socialEquityValue)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateRanks
@Async
public void updateRanks()
addEquityLog
protected void addEquityLog(User user,
AssetEntry assetEntry,
User assetEntryUser,
SocialEquitySetting equitySetting)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addSocialEquityAssetEntry
protected void addSocialEquityAssetEntry(AssetEntry assetEntry)
throws SystemException
- Throws:
SystemException
addSocialEquityUser
protected void addSocialEquityUser(long groupId,
User user)
throws SystemException
- Throws:
SystemException
calculateB
protected double calculateB(int actionDate,
int value,
int lifespan)
calculateEquity
protected double calculateEquity(int actionDate,
double k,
double b)
calculateK
protected double calculateK(int value,
int lifespan)
checkActionRestrictions
protected boolean checkActionRestrictions(long userId,
long assetEntryId,
SocialEquitySetting equitySetting)
throws SystemException
- Throws:
SystemException
getEquityDate
protected int getEquityDate()
getEquityDate
protected int getEquityDate(Date date)
runCheckSQL
protected void runCheckSQL(String sqlId,
int validity)
throws SystemException
- Throws:
SystemException