com.liferay.portlet.asset.service
Class AssetTagLocalServiceUtil
java.lang.Object
com.liferay.portlet.asset.service.AssetTagLocalServiceUtil
public class AssetTagLocalServiceUtil
- extends Object
This class provides static methods for the
AssetTagLocalService 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.
- See Also:
AssetTagLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static AssetTag |
addAssetTag(AssetTag assetTag)
|
static AssetTag |
addTag(long userId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
|
static void |
addTagResources(AssetTag tag,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addTagResources(AssetTag tag,
String[] communityPermissions,
String[] guestPermissions)
|
static void |
checkTags(long userId,
long groupId,
String[] names)
|
static AssetTag |
createAssetTag(long tagId)
|
static AssetTag |
decrementAssetCount(long tagId,
long classNameId)
|
static void |
deleteAssetTag(AssetTag assetTag)
|
static void |
deleteAssetTag(long tagId)
|
static void |
deleteTag(AssetTag tag)
|
static void |
deleteTag(long tagId)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static AssetTag |
getAssetTag(long tagId)
|
static List<AssetTag> |
getAssetTags(int start,
int end)
|
static int |
getAssetTagsCount()
|
static List<AssetTag> |
getEntryTags(long entryId)
|
static List<AssetTag> |
getGroupTags(long groupId)
|
static AssetTagLocalService |
getService()
|
static AssetTag |
getTag(long tagId)
|
static AssetTag |
getTag(long groupId,
String name)
|
static long[] |
getTagIds(long groupId,
String[] names)
|
static String[] |
getTagNames()
|
static String[] |
getTagNames(long classNameId,
long classPK)
|
static String[] |
getTagNames(String className,
long classPK)
|
static List<AssetTag> |
getTags()
|
static List<AssetTag> |
getTags(long classNameId,
long classPK)
|
static List<AssetTag> |
getTags(long groupId,
long classNameId,
String name)
|
static List<AssetTag> |
getTags(long groupId,
long classNameId,
String name,
int start,
int end)
|
static List<AssetTag> |
getTags(String className,
long classPK)
|
static int |
getTagsSize(long groupId,
long classNameId,
String name)
|
static boolean |
hasTag(long groupId,
String name)
|
static AssetTag |
incrementAssetCount(long tagId,
long classNameId)
|
static void |
mergeTags(long fromTagId,
long toTagId)
|
static JSONArray |
search(long groupId,
String name,
String[] tagProperties,
int start,
int end)
|
void |
setService(AssetTagLocalService service)
|
static AssetTag |
updateAssetTag(AssetTag assetTag)
|
static AssetTag |
updateAssetTag(AssetTag assetTag,
boolean merge)
|
static AssetTag |
updateTag(long userId,
long tagId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetTagLocalServiceUtil
public AssetTagLocalServiceUtil()
addAssetTag
public static AssetTag addAssetTag(AssetTag assetTag)
throws SystemException
- Throws:
SystemException
createAssetTag
public static AssetTag createAssetTag(long tagId)
deleteAssetTag
public static void deleteAssetTag(long tagId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteAssetTag
public static void deleteAssetTag(AssetTag assetTag)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getAssetTag
public static AssetTag getAssetTag(long tagId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetTags
public static List<AssetTag> getAssetTags(int start,
int end)
throws SystemException
- Throws:
SystemException
getAssetTagsCount
public static int getAssetTagsCount()
throws SystemException
- Throws:
SystemException
updateAssetTag
public static AssetTag updateAssetTag(AssetTag assetTag)
throws SystemException
- Throws:
SystemException
updateAssetTag
public static AssetTag updateAssetTag(AssetTag assetTag,
boolean merge)
throws SystemException
- Throws:
SystemException
addTag
public static AssetTag addTag(long userId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addTagResources
public static void addTagResources(AssetTag tag,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addTagResources
public static void addTagResources(AssetTag tag,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
checkTags
public static void checkTags(long userId,
long groupId,
String[] names)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
decrementAssetCount
public static AssetTag decrementAssetCount(long tagId,
long classNameId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTag
public static void deleteTag(AssetTag tag)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTag
public static void deleteTag(long tagId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntryTags
public static List<AssetTag> getEntryTags(long entryId)
throws SystemException
- Throws:
SystemException
getGroupTags
public static List<AssetTag> getGroupTags(long groupId)
throws SystemException
- Throws:
SystemException
getTag
public static AssetTag getTag(long tagId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTag
public static AssetTag getTag(long groupId,
String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTagIds
public static long[] getTagIds(long groupId,
String[] names)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTagNames
public static String[] getTagNames()
throws SystemException
- Throws:
SystemException
getTagNames
public static String[] getTagNames(long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
getTagNames
public static String[] getTagNames(String className,
long classPK)
throws SystemException
- Throws:
SystemException
getTags
public static List<AssetTag> getTags()
throws SystemException
- Throws:
SystemException
getTags
public static List<AssetTag> getTags(long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
getTags
public static List<AssetTag> getTags(long groupId,
long classNameId,
String name)
throws SystemException
- Throws:
SystemException
getTags
public static List<AssetTag> getTags(long groupId,
long classNameId,
String name,
int start,
int end)
throws SystemException
- Throws:
SystemException
getTags
public static List<AssetTag> getTags(String className,
long classPK)
throws SystemException
- Throws:
SystemException
getTagsSize
public static int getTagsSize(long groupId,
long classNameId,
String name)
throws SystemException
- Throws:
SystemException
hasTag
public static boolean hasTag(long groupId,
String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
incrementAssetCount
public static AssetTag incrementAssetCount(long tagId,
long classNameId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
mergeTags
public static void mergeTags(long fromTagId,
long toTagId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
search
public static JSONArray search(long groupId,
String name,
String[] tagProperties,
int start,
int end)
throws SystemException
- Throws:
SystemException
updateTag
public static AssetTag updateTag(long userId,
long tagId,
String name,
String[] tagProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static AssetTagLocalService getService()
setService
public void setService(AssetTagLocalService service)