com.liferay.portlet.tags.service
Class TagsEntryLocalServiceUtil
java.lang.Object
com.liferay.portlet.tags.service.TagsEntryLocalServiceUtil
public class TagsEntryLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
TagsEntryLocalService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
TagsEntryLocalService
- Generated:
Method Summary |
static TagsEntry |
addEntry(long userId,
java.lang.String parentEntryName,
java.lang.String name,
java.lang.String vocabularyName,
java.lang.String[] properties,
ServiceContext serviceContext)
|
static void |
addEntryResources(TagsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addEntryResources(TagsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static TagsEntry |
addTagsEntry(TagsEntry tagsEntry)
|
static void |
checkEntries(long userId,
long groupId,
java.lang.String[] names)
|
static TagsEntry |
createTagsEntry(long entryId)
|
static void |
deleteEntry(long entryId)
|
static void |
deleteEntry(TagsEntry entry)
|
static void |
deleteTagsEntry(long entryId)
|
static void |
deleteTagsEntry(TagsEntry tagsEntry)
|
static void |
deleteVocabularyEntries(long vocabularyId)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<TagsEntry> |
getAssetEntries(long assetId,
boolean folksonomy)
|
static java.util.List<TagsEntry> |
getEntries()
|
static java.util.List<TagsEntry> |
getEntries(boolean folksonomy)
|
static java.util.List<TagsEntry> |
getEntries(long classNameId,
long classPK)
|
static java.util.List<TagsEntry> |
getEntries(long classNameId,
long classPK,
boolean folksonomy)
|
static java.util.List<TagsEntry> |
getEntries(long groupId,
long classNameId,
java.lang.String name)
|
static java.util.List<TagsEntry> |
getEntries(long groupId,
long classNameId,
java.lang.String name,
int start,
int end)
|
static java.util.List<TagsEntry> |
getEntries(java.lang.String className,
long classPK)
|
static java.util.List<TagsEntry> |
getEntries(java.lang.String className,
long classPK,
boolean folksonomy)
|
static int |
getEntriesSize(long groupId,
long classNameId,
java.lang.String name)
|
static TagsEntry |
getEntry(long entryId)
|
static TagsEntry |
getEntry(long groupId,
java.lang.String name)
|
static TagsEntry |
getEntry(long groupId,
java.lang.String name,
boolean folksonomy)
|
static long[] |
getEntryIds(long groupId,
java.lang.String[] names)
|
static long[] |
getEntryIds(long groupId,
java.lang.String[] names,
boolean folksonomy)
|
static java.lang.String[] |
getEntryNames()
|
static java.lang.String[] |
getEntryNames(boolean folksonomy)
|
static java.lang.String[] |
getEntryNames(long classNameId,
long classPK)
|
static java.lang.String[] |
getEntryNames(long classNameId,
long classPK,
boolean folksonomy)
|
static java.lang.String[] |
getEntryNames(java.lang.String className,
long classPK)
|
static java.lang.String[] |
getEntryNames(java.lang.String className,
long classPK,
boolean folksonomy)
|
static java.util.List<TagsEntry> |
getGroupVocabularyEntries(long groupId,
java.lang.String vocabularyName)
|
static java.util.List<TagsEntry> |
getGroupVocabularyEntries(long groupId,
java.lang.String parentEntryName,
java.lang.String vocabularyName)
|
static java.util.List<TagsEntry> |
getGroupVocabularyRootEntries(long groupId,
java.lang.String vocabularyName)
|
static TagsEntryLocalService |
getService()
|
static java.util.List<TagsEntry> |
getTagsEntries(int start,
int end)
|
static int |
getTagsEntriesCount()
|
static TagsEntry |
getTagsEntry(long entryId)
|
static boolean |
hasEntry(long groupId,
java.lang.String name,
boolean folksonomy)
|
static void |
mergeEntries(long fromEntryId,
long toEntryId)
|
static com.liferay.portal.kernel.json.JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] properties,
int start,
int end)
|
void |
setService(TagsEntryLocalService service)
|
static TagsEntry |
updateEntry(long userId,
long entryId,
java.lang.String parentEntryName,
java.lang.String name,
java.lang.String vocabularyName,
java.lang.String[] properties)
|
static TagsEntry |
updateTagsEntry(TagsEntry tagsEntry)
|
static TagsEntry |
updateTagsEntry(TagsEntry tagsEntry,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagsEntryLocalServiceUtil
public TagsEntryLocalServiceUtil()
addTagsEntry
public static TagsEntry addTagsEntry(TagsEntry tagsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createTagsEntry
public static TagsEntry createTagsEntry(long entryId)
deleteTagsEntry
public static void deleteTagsEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteTagsEntry
public static void deleteTagsEntry(TagsEntry tagsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQueryCount
public static int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsEntry
public static TagsEntry getTagsEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getTagsEntries
public static java.util.List<TagsEntry> getTagsEntries(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsEntriesCount
public static int getTagsEntriesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTagsEntry
public static TagsEntry updateTagsEntry(TagsEntry tagsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTagsEntry
public static TagsEntry updateTagsEntry(TagsEntry tagsEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addEntry
public static TagsEntry addEntry(long userId,
java.lang.String parentEntryName,
java.lang.String name,
java.lang.String vocabularyName,
java.lang.String[] properties,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEntryResources
public static void addEntryResources(TagsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEntryResources
public static void addEntryResources(TagsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkEntries
public static void checkEntries(long userId,
long groupId,
java.lang.String[] names)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteEntry
public static void deleteEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteEntry
public static void deleteEntry(TagsEntry entry)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteVocabularyEntries
public static void deleteVocabularyEntries(long vocabularyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getAssetEntries
public static java.util.List<TagsEntry> getAssetEntries(long assetId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
public static java.util.List<TagsEntry> getEntries()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
public static java.util.List<TagsEntry> getEntries(boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
public static java.util.List<TagsEntry> getEntries(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
public static java.util.List<TagsEntry> getEntries(long classNameId,
long classPK,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
public static java.util.List<TagsEntry> getEntries(long groupId,
long classNameId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
public static java.util.List<TagsEntry> getEntries(long groupId,
long classNameId,
java.lang.String name,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
public static java.util.List<TagsEntry> getEntries(java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
public static java.util.List<TagsEntry> getEntries(java.lang.String className,
long classPK,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntriesSize
public static int getEntriesSize(long groupId,
long classNameId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntry
public static TagsEntry getEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntry
public static TagsEntry getEntry(long groupId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntry
public static TagsEntry getEntry(long groupId,
java.lang.String name,
boolean folksonomy)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntryIds
public static long[] getEntryIds(long groupId,
java.lang.String[] names)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntryIds
public static long[] getEntryIds(long groupId,
java.lang.String[] names,
boolean folksonomy)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntryNames
public static java.lang.String[] getEntryNames()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntryNames
public static java.lang.String[] getEntryNames(boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntryNames
public static java.lang.String[] getEntryNames(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntryNames
public static java.lang.String[] getEntryNames(long classNameId,
long classPK,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntryNames
public static java.lang.String[] getEntryNames(java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntryNames
public static java.lang.String[] getEntryNames(java.lang.String className,
long classPK,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupVocabularyEntries
public static java.util.List<TagsEntry> getGroupVocabularyEntries(long groupId,
java.lang.String vocabularyName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroupVocabularyEntries
public static java.util.List<TagsEntry> getGroupVocabularyEntries(long groupId,
java.lang.String parentEntryName,
java.lang.String vocabularyName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroupVocabularyRootEntries
public static java.util.List<TagsEntry> getGroupVocabularyRootEntries(long groupId,
java.lang.String vocabularyName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
hasEntry
public static boolean hasEntry(long groupId,
java.lang.String name,
boolean folksonomy)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
mergeEntries
public static void mergeEntries(long fromEntryId,
long toEntryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
search
public static com.liferay.portal.kernel.json.JSONArray search(long groupId,
java.lang.String name,
java.lang.String[] properties,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateEntry
public static TagsEntry updateEntry(long userId,
long entryId,
java.lang.String parentEntryName,
java.lang.String name,
java.lang.String vocabularyName,
java.lang.String[] properties)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getService
public static TagsEntryLocalService getService()
setService
public void setService(TagsEntryLocalService service)