com.liferay.portlet.tags.service.impl
Class TagsEntryLocalServiceImpl
java.lang.Object
com.liferay.portlet.tags.service.base.TagsEntryLocalServiceBaseImpl
com.liferay.portlet.tags.service.impl.TagsEntryLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.tags.service.TagsEntryLocalService
- public class TagsEntryLocalServiceImpl
- extends TagsEntryLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
com.liferay.portlet.tags.model.TagsEntry |
addEntry(long userId,
java.lang.String name)
|
com.liferay.portlet.tags.model.TagsEntry |
addEntry(long userId,
java.lang.String name,
java.lang.String[] properties)
|
void |
deleteEntry(long entryId)
|
void |
deleteEntry(com.liferay.portlet.tags.model.TagsEntry entry)
|
java.util.List |
getAssetEntries(long assetId)
|
java.util.List |
getEntries()
|
java.util.List |
getEntries(java.lang.String className,
long classPK)
|
com.liferay.portlet.tags.model.TagsEntry |
getEntry(long entryId)
|
com.liferay.portlet.tags.model.TagsEntry |
getEntry(long companyId,
java.lang.String name)
|
long[] |
getEntryIds(long companyId,
java.lang.String[] names)
|
boolean |
hasEntry(long companyId,
java.lang.String name)
|
java.util.List |
search(long companyId,
java.lang.String name,
java.lang.String[] properties)
|
java.util.List |
search(long companyId,
java.lang.String name,
java.lang.String[] properties,
int begin,
int end)
|
com.liferay.portal.kernel.json.JSONArrayWrapper |
searchAutocomplete(long companyId,
java.lang.String name,
java.lang.String[] properties,
int begin,
int end)
|
int |
searchCount(long companyId,
java.lang.String name,
java.lang.String[] properties)
|
com.liferay.portlet.tags.model.TagsEntry |
updateEntry(long userId,
long entryId,
java.lang.String name,
java.lang.String[] properties)
|
com.liferay.portlet.tags.model.TagsEntry |
updateEntry(long entryId,
java.lang.String name)
|
protected void |
validate(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagsEntryLocalServiceImpl
public TagsEntryLocalServiceImpl()
addEntry
public com.liferay.portlet.tags.model.TagsEntry addEntry(long userId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEntry
public com.liferay.portlet.tags.model.TagsEntry addEntry(long userId,
java.lang.String name,
java.lang.String[] properties)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteEntry
public void deleteEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteEntry
public void deleteEntry(com.liferay.portlet.tags.model.TagsEntry entry)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
hasEntry
public boolean hasEntry(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getAssetEntries
public java.util.List getAssetEntries(long assetId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntries
public java.util.List getEntries()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
public java.util.List getEntries(java.lang.String className,
long classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntry
public com.liferay.portlet.tags.model.TagsEntry getEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntry
public com.liferay.portlet.tags.model.TagsEntry getEntry(long companyId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntryIds
public long[] getEntryIds(long companyId,
java.lang.String[] names)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
search
public java.util.List search(long companyId,
java.lang.String name,
java.lang.String[] properties)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public java.util.List search(long companyId,
java.lang.String name,
java.lang.String[] properties,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchAutocomplete
public com.liferay.portal.kernel.json.JSONArrayWrapper searchAutocomplete(long companyId,
java.lang.String name,
java.lang.String[] properties,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
searchCount
public int searchCount(long companyId,
java.lang.String name,
java.lang.String[] properties)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateEntry
public com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateEntry
public com.liferay.portlet.tags.model.TagsEntry updateEntry(long userId,
long entryId,
java.lang.String name,
java.lang.String[] properties)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validate
protected void validate(java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException