com.liferay.portlet.tags.service.persistence
Class TagsPropertyUtil
java.lang.Object
com.liferay.portlet.tags.service.persistence.TagsPropertyUtil
public class TagsPropertyUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByC_K(long companyId,
java.lang.String key)
|
static int |
countByCompanyId(long companyId)
|
static int |
countByE_K(long entryId,
java.lang.String key)
|
static int |
countByEntryId(long entryId)
|
static TagsProperty |
create(long propertyId)
|
static TagsProperty |
fetchByE_K(long entryId,
java.lang.String key)
|
static TagsProperty |
fetchByPrimaryKey(long propertyId)
|
static java.util.List<TagsProperty> |
findAll()
|
static java.util.List<TagsProperty> |
findAll(int start,
int end)
|
static java.util.List<TagsProperty> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsProperty |
findByC_K_First(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsProperty |
findByC_K_Last(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsProperty[] |
findByC_K_PrevAndNext(long propertyId,
long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<TagsProperty> |
findByC_K(long companyId,
java.lang.String key)
|
static java.util.List<TagsProperty> |
findByC_K(long companyId,
java.lang.String key,
int start,
int end)
|
static java.util.List<TagsProperty> |
findByC_K(long companyId,
java.lang.String key,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsProperty |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsProperty |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsProperty[] |
findByCompanyId_PrevAndNext(long propertyId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<TagsProperty> |
findByCompanyId(long companyId)
|
static java.util.List<TagsProperty> |
findByCompanyId(long companyId,
int start,
int end)
|
static java.util.List<TagsProperty> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsProperty |
findByE_K(long entryId,
java.lang.String key)
|
static TagsProperty |
findByEntryId_First(long entryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsProperty |
findByEntryId_Last(long entryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsProperty[] |
findByEntryId_PrevAndNext(long propertyId,
long entryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<TagsProperty> |
findByEntryId(long entryId)
|
static java.util.List<TagsProperty> |
findByEntryId(long entryId,
int start,
int end)
|
static java.util.List<TagsProperty> |
findByEntryId(long entryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsProperty |
findByPrimaryKey(long propertyId)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static TagsPropertyPersistence |
getPersistence()
|
static TagsProperty |
remove(long propertyId)
|
static TagsProperty |
remove(TagsProperty tagsProperty)
|
static void |
removeAll()
|
static void |
removeByC_K(long companyId,
java.lang.String key)
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeByE_K(long entryId,
java.lang.String key)
|
static void |
removeByEntryId(long entryId)
|
void |
setPersistence(TagsPropertyPersistence persistence)
|
static TagsProperty |
update(TagsProperty tagsProperty)
Deprecated. Use update(TagsProperty tagsProperty, boolean merge) . |
static TagsProperty |
update(TagsProperty tagsProperty,
boolean merge)
Add, update, or merge, the entity. |
static TagsProperty |
updateImpl(TagsProperty tagsProperty,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagsPropertyUtil
public TagsPropertyUtil()
create
public static TagsProperty create(long propertyId)
remove
public static TagsProperty remove(long propertyId)
throws com.liferay.portal.SystemException,
NoSuchPropertyException
- Throws:
com.liferay.portal.SystemException
NoSuchPropertyException
remove
public static TagsProperty remove(TagsProperty tagsProperty)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static TagsProperty update(TagsProperty tagsProperty)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(TagsProperty tagsProperty, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
public static TagsProperty update(TagsProperty tagsProperty,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
tagsProperty
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when tagsProperty is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
public static TagsProperty updateImpl(TagsProperty tagsProperty,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static TagsProperty findByPrimaryKey(long propertyId)
throws com.liferay.portal.SystemException,
NoSuchPropertyException
- Throws:
com.liferay.portal.SystemException
NoSuchPropertyException
fetchByPrimaryKey
public static TagsProperty fetchByPrimaryKey(long propertyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<TagsProperty> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<TagsProperty> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<TagsProperty> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static TagsProperty findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPropertyException
- Throws:
com.liferay.portal.SystemException
NoSuchPropertyException
findByCompanyId_Last
public static TagsProperty findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPropertyException
- Throws:
com.liferay.portal.SystemException
NoSuchPropertyException
findByCompanyId_PrevAndNext
public static TagsProperty[] findByCompanyId_PrevAndNext(long propertyId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPropertyException
- Throws:
com.liferay.portal.SystemException
NoSuchPropertyException
findByEntryId
public static java.util.List<TagsProperty> findByEntryId(long entryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByEntryId
public static java.util.List<TagsProperty> findByEntryId(long entryId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByEntryId
public static java.util.List<TagsProperty> findByEntryId(long entryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByEntryId_First
public static TagsProperty findByEntryId_First(long entryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPropertyException
- Throws:
com.liferay.portal.SystemException
NoSuchPropertyException
findByEntryId_Last
public static TagsProperty findByEntryId_Last(long entryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPropertyException
- Throws:
com.liferay.portal.SystemException
NoSuchPropertyException
findByEntryId_PrevAndNext
public static TagsProperty[] findByEntryId_PrevAndNext(long propertyId,
long entryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPropertyException
- Throws:
com.liferay.portal.SystemException
NoSuchPropertyException
findByC_K
public static java.util.List<TagsProperty> findByC_K(long companyId,
java.lang.String key)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_K
public static java.util.List<TagsProperty> findByC_K(long companyId,
java.lang.String key,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_K
public static java.util.List<TagsProperty> findByC_K(long companyId,
java.lang.String key,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_K_First
public static TagsProperty findByC_K_First(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPropertyException
- Throws:
com.liferay.portal.SystemException
NoSuchPropertyException
findByC_K_Last
public static TagsProperty findByC_K_Last(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPropertyException
- Throws:
com.liferay.portal.SystemException
NoSuchPropertyException
findByC_K_PrevAndNext
public static TagsProperty[] findByC_K_PrevAndNext(long propertyId,
long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPropertyException
- Throws:
com.liferay.portal.SystemException
NoSuchPropertyException
findByE_K
public static TagsProperty findByE_K(long entryId,
java.lang.String key)
throws com.liferay.portal.SystemException,
NoSuchPropertyException
- Throws:
com.liferay.portal.SystemException
NoSuchPropertyException
fetchByE_K
public static TagsProperty fetchByE_K(long entryId,
java.lang.String key)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<TagsProperty> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<TagsProperty> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<TagsProperty> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByEntryId
public static void removeByEntryId(long entryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_K
public static void removeByC_K(long companyId,
java.lang.String key)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByE_K
public static void removeByE_K(long entryId,
java.lang.String key)
throws com.liferay.portal.SystemException,
NoSuchPropertyException
- Throws:
com.liferay.portal.SystemException
NoSuchPropertyException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByEntryId
public static int countByEntryId(long entryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_K
public static int countByC_K(long companyId,
java.lang.String key)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByE_K
public static int countByE_K(long entryId,
java.lang.String key)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static TagsPropertyPersistence getPersistence()
setPersistence
public void setPersistence(TagsPropertyPersistence persistence)