1
22
23 package com.liferay.portlet.tags.service;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portal.kernel.annotation.Isolation;
28 import com.liferay.portal.kernel.annotation.Propagation;
29 import com.liferay.portal.kernel.annotation.Transactional;
30
31
55 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
56 PortalException.class, SystemException.class})
57 public interface TagsPropertyService {
58 public com.liferay.portlet.tags.model.TagsProperty addProperty(
59 long entryId, java.lang.String key, java.lang.String value)
60 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
61 com.liferay.portal.SystemException;
62
63 public com.liferay.portlet.tags.model.TagsProperty addProperty(
64 java.lang.String entryName, java.lang.String key, java.lang.String value)
65 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
66 com.liferay.portal.SystemException;
67
68 public void deleteProperty(long propertyId)
69 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
70 com.liferay.portal.SystemException;
71
72 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
73 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> getProperties(
74 long entryId)
75 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
76
77 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
78 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> getPropertyValues(
79 long companyId, java.lang.String key)
80 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
81
82 public com.liferay.portlet.tags.model.TagsProperty updateProperty(
83 long propertyId, java.lang.String key, java.lang.String value)
84 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException;
86 }