| java.lang.Object com.liferay.portlet.tags.service.http.TagsAssetServiceHttp
TagsAssetServiceHttp | public class TagsAssetServiceHttp (Code) | | View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides a HTTP utility for the
com.liferay.portlet.tags.service.TagsAssetServiceUtil 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 com.liferay.portal.security.auth.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.
author: Brian Wing Shun Chan See Also: com.liferay.portal.security.auth.HttpPrincipal See Also: com.liferay.portlet.tags.service.TagsAssetServiceUtil See Also: com.liferay.portlet.tags.service.http.TagsAssetServiceSoap |
Method Summary | |
public static void | deleteAsset(HttpPrincipal httpPrincipal, long assetId) | public static com.liferay.portlet.tags.model.TagsAsset | getAsset(HttpPrincipal httpPrincipal, long assetId) | public static com.liferay.portlet.tags.model.TagsAssetType[] | getAssetTypes(HttpPrincipal httpPrincipal, java.lang.String languageId) | public static java.lang.String | getAssetsRSS(HttpPrincipal httpPrincipal, long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean andOperator, java.lang.String orderByCol1, java.lang.String orderByCol2, java.lang.String orderByType1, java.lang.String orderByType2, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL) | public static com.liferay.portlet.tags.model.TagsAssetDisplay[] | getCompanyAssetDisplays(HttpPrincipal httpPrincipal, long companyId, int begin, int end, java.lang.String languageId) | public static java.util.List | getCompanyAssets(HttpPrincipal httpPrincipal, long companyId, int begin, int end) | public static int | getCompanyAssetsCount(HttpPrincipal httpPrincipal, long companyId) | public static java.lang.String | getCompanyAssetsRSS(HttpPrincipal httpPrincipal, long companyId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL) | public static com.liferay.portlet.tags.model.TagsAsset | incrementViewCounter(HttpPrincipal httpPrincipal, java.lang.String className, long classPK) | public static com.liferay.portlet.tags.model.TagsAssetDisplay[] | searchAssetDisplays(HttpPrincipal httpPrincipal, long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId, int begin, int end) | public static int | searchAssetDisplaysCount(HttpPrincipal httpPrincipal, long companyId, java.lang.String portletId, java.lang.String keywords, java.lang.String languageId) | public static com.liferay.portlet.tags.model.TagsAsset | updateAsset(HttpPrincipal httpPrincipal, long groupId, java.lang.String className, long classPK, java.lang.String[] entryNames, java.util.Date startDate, java.util.Date endDate, java.util.Date publishDate, java.util.Date expirationDate, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String summary, java.lang.String url, int height, int width, java.lang.Integer priority) |
getAssetsRSS | public static java.lang.String getAssetsRSS(HttpPrincipal httpPrincipal, long groupId, long[] classNameIds, long[] entryIds, long[] notEntryIds, boolean andOperator, java.lang.String orderByCol1, java.lang.String orderByCol2, java.lang.String orderByType1, java.lang.String orderByType2, boolean excludeZeroViewCount, java.util.Date publishDate, java.util.Date expirationDate, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
updateAsset | public static com.liferay.portlet.tags.model.TagsAsset updateAsset(HttpPrincipal httpPrincipal, long groupId, java.lang.String className, long classPK, java.lang.String[] entryNames, java.util.Date startDate, java.util.Date endDate, java.util.Date publishDate, java.util.Date expirationDate, java.lang.String mimeType, java.lang.String title, java.lang.String description, java.lang.String summary, java.lang.String url, int height, int width, java.lang.Integer priority) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
|
|