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.Propagation;
28 import com.liferay.portal.kernel.annotation.Transactional;
29
30
54 @Transactional(rollbackFor = {
55 PortalException.class, SystemException.class})
56 public interface TagsPropertyLocalService {
57 public com.liferay.portlet.tags.model.TagsProperty addTagsProperty(
58 com.liferay.portlet.tags.model.TagsProperty tagsProperty)
59 throws com.liferay.portal.SystemException;
60
61 public com.liferay.portlet.tags.model.TagsProperty createTagsProperty(
62 long propertyId);
63
64 public void deleteTagsProperty(long propertyId)
65 throws com.liferay.portal.SystemException,
66 com.liferay.portal.PortalException;
67
68 public void deleteTagsProperty(
69 com.liferay.portlet.tags.model.TagsProperty tagsProperty)
70 throws com.liferay.portal.SystemException;
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74 throws com.liferay.portal.SystemException;
75
76 public java.util.List<Object> dynamicQuery(
77 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78 int end) throws com.liferay.portal.SystemException;
79
80 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
81 public com.liferay.portlet.tags.model.TagsProperty getTagsProperty(
82 long propertyId)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portal.PortalException;
85
86 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
87 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> getTagsProperties(
88 int start, int end) throws com.liferay.portal.SystemException;
89
90 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
91 public int getTagsPropertiesCount()
92 throws com.liferay.portal.SystemException;
93
94 public com.liferay.portlet.tags.model.TagsProperty updateTagsProperty(
95 com.liferay.portlet.tags.model.TagsProperty tagsProperty)
96 throws com.liferay.portal.SystemException;
97
98 public com.liferay.portlet.tags.model.TagsProperty addProperty(
99 long userId, long entryId, java.lang.String key, java.lang.String value)
100 throws com.liferay.portal.PortalException,
101 com.liferay.portal.SystemException;
102
103 public com.liferay.portlet.tags.model.TagsProperty addProperty(
104 long userId, java.lang.String entryName, java.lang.String key,
105 java.lang.String value)
106 throws com.liferay.portal.PortalException,
107 com.liferay.portal.SystemException;
108
109 public void deleteProperties(long entryId)
110 throws com.liferay.portal.SystemException;
111
112 public void deleteProperty(long propertyId)
113 throws com.liferay.portal.PortalException,
114 com.liferay.portal.SystemException;
115
116 public void deleteProperty(
117 com.liferay.portlet.tags.model.TagsProperty property)
118 throws com.liferay.portal.SystemException;
119
120 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
121 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> getProperties()
122 throws com.liferay.portal.SystemException;
123
124 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
125 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> getProperties(
126 long entryId) throws com.liferay.portal.SystemException;
127
128 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
129 public com.liferay.portlet.tags.model.TagsProperty getProperty(
130 long propertyId)
131 throws com.liferay.portal.PortalException,
132 com.liferay.portal.SystemException;
133
134 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
135 public com.liferay.portlet.tags.model.TagsProperty getProperty(
136 long entryId, java.lang.String key)
137 throws com.liferay.portal.PortalException,
138 com.liferay.portal.SystemException;
139
140 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
141 public java.lang.String[] getPropertyKeys(long companyId)
142 throws com.liferay.portal.SystemException;
143
144 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
145 public java.util.List<com.liferay.portlet.tags.model.TagsProperty> getPropertyValues(
146 long companyId, java.lang.String key)
147 throws com.liferay.portal.SystemException;
148
149 public com.liferay.portlet.tags.model.TagsProperty updateProperty(
150 long propertyId, java.lang.String key, java.lang.String value)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException;
153 }