public class MicroblogsEntryServiceWrapper extends java.lang.Object implements MicroblogsEntryService, ServiceWrapper<MicroblogsEntryService>
MicroblogsEntryService.MicroblogsEntryService| Constructor and Description |
|---|
MicroblogsEntryServiceWrapper(MicroblogsEntryService microblogsEntryService) |
| Modifier and Type | Method and Description |
|---|---|
MicroblogsEntry |
addMicroblogsEntry(long userId,
java.lang.String content,
int type,
long parentMicroblogsEntryId,
int socialRelationType,
ServiceContext serviceContext) |
MicroblogsEntry |
deleteMicroblogsEntry(long microblogsEntryId) |
java.util.List<MicroblogsEntry> |
getMicroblogsEntries(int start,
int end) |
java.util.List<MicroblogsEntry> |
getMicroblogsEntries(java.lang.String assetTagName,
int start,
int end) |
int |
getMicroblogsEntriesCount() |
int |
getMicroblogsEntriesCount(java.lang.String assetTagName) |
MicroblogsEntry |
getMicroblogsEntry(long microblogsEntryId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
java.util.List<MicroblogsEntry> |
getUserMicroblogsEntries(long microblogsEntryUserId,
int start,
int end) |
java.util.List<MicroblogsEntry> |
getUserMicroblogsEntries(long microblogsEntryUserId,
int type,
int start,
int end) |
int |
getUserMicroblogsEntriesCount(long microblogsEntryUserId) |
int |
getUserMicroblogsEntriesCount(long microblogsEntryUserId,
int type) |
MicroblogsEntryService |
getWrappedService() |
void |
setWrappedService(MicroblogsEntryService microblogsEntryService) |
MicroblogsEntry |
updateMicroblogsEntry(long microblogsEntryId,
java.lang.String content,
int socialRelationType,
ServiceContext serviceContext) |
public MicroblogsEntryServiceWrapper(MicroblogsEntryService microblogsEntryService)
public MicroblogsEntry addMicroblogsEntry(long userId, java.lang.String content, int type, long parentMicroblogsEntryId, int socialRelationType, ServiceContext serviceContext) throws PortalException
addMicroblogsEntry in interface MicroblogsEntryServicePortalExceptionpublic MicroblogsEntry deleteMicroblogsEntry(long microblogsEntryId) throws PortalException
deleteMicroblogsEntry in interface MicroblogsEntryServicePortalExceptionpublic java.util.List<MicroblogsEntry> getMicroblogsEntries(int start, int end) throws PortalException
getMicroblogsEntries in interface MicroblogsEntryServicePortalExceptionpublic java.util.List<MicroblogsEntry> getMicroblogsEntries(java.lang.String assetTagName, int start, int end) throws PortalException
getMicroblogsEntries in interface MicroblogsEntryServicePortalExceptionpublic int getMicroblogsEntriesCount()
throws PortalException
getMicroblogsEntriesCount in interface MicroblogsEntryServicePortalExceptionpublic int getMicroblogsEntriesCount(java.lang.String assetTagName)
throws PortalException
getMicroblogsEntriesCount in interface MicroblogsEntryServicePortalExceptionpublic MicroblogsEntry getMicroblogsEntry(long microblogsEntryId) throws PortalException
getMicroblogsEntry in interface MicroblogsEntryServicePortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface MicroblogsEntryServicepublic java.util.List<MicroblogsEntry> getUserMicroblogsEntries(long microblogsEntryUserId, int start, int end) throws PortalException
getUserMicroblogsEntries in interface MicroblogsEntryServicePortalExceptionpublic java.util.List<MicroblogsEntry> getUserMicroblogsEntries(long microblogsEntryUserId, int type, int start, int end) throws PortalException
getUserMicroblogsEntries in interface MicroblogsEntryServicePortalExceptionpublic int getUserMicroblogsEntriesCount(long microblogsEntryUserId)
throws PortalException
getUserMicroblogsEntriesCount in interface MicroblogsEntryServicePortalExceptionpublic int getUserMicroblogsEntriesCount(long microblogsEntryUserId,
int type)
throws PortalException
getUserMicroblogsEntriesCount in interface MicroblogsEntryServicePortalExceptionpublic MicroblogsEntry updateMicroblogsEntry(long microblogsEntryId, java.lang.String content, int socialRelationType, ServiceContext serviceContext) throws PortalException
updateMicroblogsEntry in interface MicroblogsEntryServicePortalExceptionpublic MicroblogsEntryService getWrappedService()
getWrappedService in interface ServiceWrapper<MicroblogsEntryService>public void setWrappedService(MicroblogsEntryService microblogsEntryService)
setWrappedService in interface ServiceWrapper<MicroblogsEntryService>