@ProviderType
public class AssetVocabularyServiceHttp
extends Object
AssetVocabularyServiceUtil
service utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it requires an additional
HttpPrincipal
parameter.
The benefits of using the HTTP utility is that it is fast and allows for tunneling without the cost of serializing to text. The drawback is that it only works with Java.
Set the property tunnel.servlet.hosts.allowed in portal.properties to configure security.
The HTTP utility is only generated for remote services.
AssetVocabularyServiceSoap
,
HttpPrincipal
,
AssetVocabularyServiceUtil
Constructor and Description |
---|
AssetVocabularyServiceHttp() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.asset.kernel.model.AssetVocabulary |
addVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String title,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static com.liferay.asset.kernel.model.AssetVocabulary |
addVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String title,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static List<com.liferay.asset.kernel.model.AssetVocabulary> |
deleteVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] vocabularyIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static void |
deleteVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long vocabularyId) |
static com.liferay.asset.kernel.model.AssetVocabulary |
fetchVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long vocabularyId) |
static List<com.liferay.asset.kernel.model.AssetVocabulary> |
getCompanyVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long companyId) |
static List<com.liferay.asset.kernel.model.AssetVocabulary> |
getGroupsVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds) |
static List<com.liferay.asset.kernel.model.AssetVocabulary> |
getGroupsVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds,
String className) |
static List<com.liferay.asset.kernel.model.AssetVocabulary> |
getGroupsVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds,
String className,
long classTypePK) |
static List<com.liferay.asset.kernel.model.AssetVocabulary> |
getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId) |
static List<com.liferay.asset.kernel.model.AssetVocabulary> |
getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds) |
static List<com.liferay.asset.kernel.model.AssetVocabulary> |
getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean createDefaultVocabulary) |
static List<com.liferay.asset.kernel.model.AssetVocabulary> |
getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
boolean createDefaultVocabulary,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc) |
static List<com.liferay.asset.kernel.model.AssetVocabulary> |
getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc) |
static List<com.liferay.asset.kernel.model.AssetVocabulary> |
getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc) |
static int |
getGroupVocabulariesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId) |
static int |
getGroupVocabulariesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] groupIds) |
static int |
getGroupVocabulariesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name) |
static com.liferay.asset.kernel.model.AssetVocabularyDisplay |
getGroupVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end,
boolean addDefaultVocabulary,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc) |
static com.liferay.asset.kernel.model.AssetVocabularyDisplay |
getGroupVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc) |
static List<com.liferay.asset.kernel.model.AssetVocabulary> |
getVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long[] vocabularyIds) |
static com.liferay.asset.kernel.model.AssetVocabulary |
getVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long vocabularyId) |
static com.liferay.asset.kernel.model.AssetVocabularyDisplay |
searchVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String title,
boolean addDefaultVocabulary,
int start,
int end) |
static com.liferay.asset.kernel.model.AssetVocabularyDisplay |
searchVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId,
String title,
boolean addDefaultVocabulary,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
static com.liferay.asset.kernel.model.AssetVocabulary |
updateVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long vocabularyId,
String title,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.asset.kernel.model.AssetVocabulary> deleteVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] vocabularyIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long vocabularyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.asset.kernel.model.AssetVocabulary fetchVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long vocabularyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.asset.kernel.model.AssetVocabulary> getCompanyVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds)
public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String className)
public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String className, long classTypePK)
public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean createDefaultVocabulary) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean createDefaultVocabulary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds)
public static int getGroupVocabulariesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId)
public static int getGroupVocabulariesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name)
public static int getGroupVocabulariesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds)
public static com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, int start, int end, boolean addDefaultVocabulary, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static List<com.liferay.asset.kernel.model.AssetVocabulary> getVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] vocabularyIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.asset.kernel.model.AssetVocabulary getVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long vocabularyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, boolean addDefaultVocabulary, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, boolean addDefaultVocabulary, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.asset.kernel.model.AssetVocabulary updateVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long vocabularyId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException