001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.kernel.annotation.Isolation;
018 import com.liferay.portal.kernel.annotation.Propagation;
019 import com.liferay.portal.kernel.annotation.Transactional;
020 import com.liferay.portal.kernel.exception.PortalException;
021 import com.liferay.portal.kernel.exception.SystemException;
022
023
040 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
041 PortalException.class, SystemException.class})
042 public interface AssetTagPropertyLocalService {
043 public com.liferay.portlet.asset.model.AssetTagProperty addAssetTagProperty(
044 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
045 throws com.liferay.portal.kernel.exception.SystemException;
046
047 public com.liferay.portlet.asset.model.AssetTagProperty createAssetTagProperty(
048 long tagPropertyId);
049
050 public void deleteAssetTagProperty(long tagPropertyId)
051 throws com.liferay.portal.kernel.exception.PortalException,
052 com.liferay.portal.kernel.exception.SystemException;
053
054 public void deleteAssetTagProperty(
055 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058 @SuppressWarnings("unchecked")
059 public java.util.List dynamicQuery(
060 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
061 throws com.liferay.portal.kernel.exception.SystemException;
062
063 @SuppressWarnings("unchecked")
064 public java.util.List dynamicQuery(
065 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066 int end) throws com.liferay.portal.kernel.exception.SystemException;
067
068 @SuppressWarnings("unchecked")
069 public java.util.List dynamicQuery(
070 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
071 int end,
072 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
073 throws com.liferay.portal.kernel.exception.SystemException;
074
075 public long dynamicQueryCount(
076 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
077 throws com.liferay.portal.kernel.exception.SystemException;
078
079 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
080 public com.liferay.portlet.asset.model.AssetTagProperty getAssetTagProperty(
081 long tagPropertyId)
082 throws com.liferay.portal.kernel.exception.PortalException,
083 com.liferay.portal.kernel.exception.SystemException;
084
085 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
086 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getAssetTagProperties(
087 int start, int end)
088 throws com.liferay.portal.kernel.exception.SystemException;
089
090 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
091 public int getAssetTagPropertiesCount()
092 throws com.liferay.portal.kernel.exception.SystemException;
093
094 public com.liferay.portlet.asset.model.AssetTagProperty updateAssetTagProperty(
095 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty)
096 throws com.liferay.portal.kernel.exception.SystemException;
097
098 public com.liferay.portlet.asset.model.AssetTagProperty updateAssetTagProperty(
099 com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty,
100 boolean merge)
101 throws com.liferay.portal.kernel.exception.SystemException;
102
103 public com.liferay.portlet.asset.model.AssetTagProperty addTagProperty(
104 long userId, long tagId, java.lang.String key, java.lang.String value)
105 throws com.liferay.portal.kernel.exception.PortalException,
106 com.liferay.portal.kernel.exception.SystemException;
107
108 public void deleteTagProperties(long tagId)
109 throws com.liferay.portal.kernel.exception.SystemException;
110
111 public void deleteTagProperty(
112 com.liferay.portlet.asset.model.AssetTagProperty tagProperty)
113 throws com.liferay.portal.kernel.exception.SystemException;
114
115 public void deleteTagProperty(long tagPropertyId)
116 throws com.liferay.portal.kernel.exception.PortalException,
117 com.liferay.portal.kernel.exception.SystemException;
118
119 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
120 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties()
121 throws com.liferay.portal.kernel.exception.SystemException;
122
123 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
124 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(
125 long tagId) throws com.liferay.portal.kernel.exception.SystemException;
126
127 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
128 public com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(
129 long tagPropertyId)
130 throws com.liferay.portal.kernel.exception.PortalException,
131 com.liferay.portal.kernel.exception.SystemException;
132
133 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
134 public com.liferay.portlet.asset.model.AssetTagProperty getTagProperty(
135 long tagId, java.lang.String key)
136 throws com.liferay.portal.kernel.exception.PortalException,
137 com.liferay.portal.kernel.exception.SystemException;
138
139 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
140 public java.lang.String[] getTagPropertyKeys(long groupId)
141 throws com.liferay.portal.kernel.exception.SystemException;
142
143 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
144 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues(
145 long groupId, java.lang.String key)
146 throws com.liferay.portal.kernel.exception.SystemException;
147
148 public com.liferay.portlet.asset.model.AssetTagProperty updateTagProperty(
149 long tagPropertyId, java.lang.String key, java.lang.String value)
150 throws com.liferay.portal.kernel.exception.PortalException,
151 com.liferay.portal.kernel.exception.SystemException;
152 }