001
014
015 package com.liferay.portlet.asset.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.jsonwebservice.JSONWebService;
022 import com.liferay.portal.kernel.transaction.Isolation;
023 import com.liferay.portal.kernel.transaction.Propagation;
024 import com.liferay.portal.kernel.transaction.Transactional;
025 import com.liferay.portal.security.ac.AccessControlled;
026 import com.liferay.portal.service.BaseService;
027
028
039 @ProviderType
040 @AccessControlled
041 @JSONWebService
042 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
043 PortalException.class, SystemException.class})
044 public interface AssetEntryService extends BaseService {
045
050
051
056 public java.lang.String getBeanIdentifier();
057
058
063 public void setBeanIdentifier(java.lang.String beanIdentifier);
064
065 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
066 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
067 long companyId, int start, int end)
068 throws com.liferay.portal.kernel.exception.SystemException;
069
070 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
071 public int getCompanyEntriesCount(long companyId)
072 throws com.liferay.portal.kernel.exception.SystemException;
073
074 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
075 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
076 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
077 throws com.liferay.portal.kernel.exception.PortalException,
078 com.liferay.portal.kernel.exception.SystemException;
079
080 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
081 public int getEntriesCount(
082 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
083 throws com.liferay.portal.kernel.exception.PortalException,
084 com.liferay.portal.kernel.exception.SystemException;
085
086 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
087 public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException;
090
091 public com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
092 java.lang.String className, long classPK)
093 throws com.liferay.portal.kernel.exception.PortalException,
094 com.liferay.portal.kernel.exception.SystemException;
095
096 public com.liferay.portlet.asset.model.AssetEntry updateEntry(
097 long groupId, java.util.Date createDate, java.util.Date modifiedDate,
098 java.lang.String className, long classPK, java.lang.String classUuid,
099 long classTypeId, long[] categoryIds, java.lang.String[] tagNames,
100 boolean visible, java.util.Date startDate, java.util.Date endDate,
101 java.util.Date expirationDate, java.lang.String mimeType,
102 java.lang.String title, java.lang.String description,
103 java.lang.String summary, java.lang.String url,
104 java.lang.String layoutUuid, int height, int width,
105 java.lang.Integer priority, boolean sync)
106 throws com.liferay.portal.kernel.exception.PortalException,
107 com.liferay.portal.kernel.exception.SystemException;
108
109
115 public com.liferay.portlet.asset.model.AssetEntry updateEntry(
116 long groupId, java.lang.String className, long classPK,
117 java.lang.String classUuid, long classTypeId, long[] categoryIds,
118 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
119 java.util.Date endDate, java.util.Date publishDate,
120 java.util.Date expirationDate, java.lang.String mimeType,
121 java.lang.String title, java.lang.String description,
122 java.lang.String summary, java.lang.String url,
123 java.lang.String layoutUuid, int height, int width,
124 java.lang.Integer priority, boolean sync)
125 throws com.liferay.portal.kernel.exception.PortalException,
126 com.liferay.portal.kernel.exception.SystemException;
127
128
134 public com.liferay.portlet.asset.model.AssetEntry updateEntry(
135 long groupId, java.lang.String className, long classPK,
136 java.lang.String classUuid, long classTypeId, long[] categoryIds,
137 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
138 java.util.Date endDate, java.util.Date expirationDate,
139 java.lang.String mimeType, java.lang.String title,
140 java.lang.String description, java.lang.String summary,
141 java.lang.String url, java.lang.String layoutUuid, int height,
142 int width, java.lang.Integer priority, boolean sync)
143 throws com.liferay.portal.kernel.exception.PortalException,
144 com.liferay.portal.kernel.exception.SystemException;
145 }