com.liferay.portlet.tags.service.persistence
Class TagsAssetUtil

java.lang.Object
  extended bycom.liferay.portlet.tags.service.persistence.TagsAssetUtil

public class TagsAssetUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
TagsAssetUtil()
           
 
Method Summary
static void addTagsEntries(long pk, java.util.List tagsEntries)
           
static void addTagsEntries(long pk, long[] tagsEntryPKs)
           
static void addTagsEntry(long pk, long tagsEntryPK)
           
static void addTagsEntry(long pk, TagsEntry tagsEntry)
           
static void clearTagsEntries(long pk)
           
static boolean containsTagsEntries(long pk)
           
static boolean containsTagsEntry(long pk, long tagsEntryPK)
           
static int countAll()
           
static int countByC_C(long classNameId, long classPK)
           
static int countByCompanyId(long companyId)
           
static TagsAsset create(long assetId)
           
static TagsAsset fetchByC_C(long classNameId, long classPK)
           
static TagsAsset fetchByPrimaryKey(long assetId)
           
static java.util.List findAll()
           
static java.util.List findAll(int begin, int end)
           
static java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static TagsAsset findByC_C(long classNameId, long classPK)
           
static TagsAsset findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static TagsAsset findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static TagsAsset[] findByCompanyId_PrevAndNext(long assetId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByCompanyId(long companyId)
           
static java.util.List findByCompanyId(long companyId, int begin, int end)
           
static java.util.List findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static TagsAsset findByPrimaryKey(long assetId)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static TagsAssetPersistence getPersistence()
           
static java.util.List getTagsEntries(long pk)
           
static java.util.List getTagsEntries(long pk, int begin, int end)
           
static java.util.List getTagsEntries(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static int getTagsEntriesSize(long pk)
           
static TagsAsset remove(long assetId)
           
static TagsAsset remove(TagsAsset tagsAsset)
           
static void removeAll()
           
static void removeByC_C(long classNameId, long classPK)
           
static void removeByCompanyId(long companyId)
           
static void removeTagsEntries(long pk, java.util.List tagsEntries)
           
static void removeTagsEntries(long pk, long[] tagsEntryPKs)
           
static void removeTagsEntry(long pk, long tagsEntryPK)
           
static void removeTagsEntry(long pk, TagsEntry tagsEntry)
           
 void setPersistence(TagsAssetPersistence persistence)
           
static void setTagsEntries(long pk, java.util.List tagsEntries)
           
static void setTagsEntries(long pk, long[] tagsEntryPKs)
           
static TagsAsset update(TagsAsset tagsAsset)
           
static TagsAsset update(TagsAsset tagsAsset, boolean merge)
           
static TagsAsset updateImpl(TagsAsset tagsAsset, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagsAssetUtil

public TagsAssetUtil()
Method Detail

create

public static TagsAsset create(long assetId)

remove

public static TagsAsset remove(long assetId)
                        throws com.liferay.portal.SystemException,
                               NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

remove

public static TagsAsset remove(TagsAsset tagsAsset)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static TagsAsset update(TagsAsset tagsAsset)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static TagsAsset update(TagsAsset tagsAsset,
                               boolean merge)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public static TagsAsset updateImpl(TagsAsset tagsAsset,
                                   boolean merge)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public static TagsAsset findByPrimaryKey(long assetId)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

fetchByPrimaryKey

public static TagsAsset fetchByPrimaryKey(long assetId)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public static java.util.List findByCompanyId(long companyId)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public static java.util.List findByCompanyId(long companyId,
                                             int begin,
                                             int end)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public static java.util.List findByCompanyId(long companyId,
                                             int begin,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public static TagsAsset findByCompanyId_First(long companyId,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

findByCompanyId_Last

public static TagsAsset findByCompanyId_Last(long companyId,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

findByCompanyId_PrevAndNext

public static TagsAsset[] findByCompanyId_PrevAndNext(long assetId,
                                                      long companyId,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.SystemException,
                                                      NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

findByC_C

public static TagsAsset findByC_C(long classNameId,
                                  long classPK)
                           throws com.liferay.portal.SystemException,
                                  NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

fetchByC_C

public static TagsAsset fetchByC_C(long classNameId,
                                   long classPK)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                  int begin,
                                                  int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List findAll()
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List findAll(int begin,
                                     int end)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List findAll(int begin,
                                     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

removeByC_C

public static void removeByC_C(long classNameId,
                               long classPK)
                        throws com.liferay.portal.SystemException,
                               NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

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

countByC_C

public static int countByC_C(long classNameId,
                             long classPK)
                      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

getTagsEntries

public static java.util.List getTagsEntries(long pk)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

getTagsEntries

public static java.util.List getTagsEntries(long pk,
                                            int begin,
                                            int end)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

getTagsEntries

public static java.util.List getTagsEntries(long pk,
                                            int begin,
                                            int end,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

getTagsEntriesSize

public static int getTagsEntriesSize(long pk)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsTagsEntry

public static boolean containsTagsEntry(long pk,
                                        long tagsEntryPK)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsTagsEntries

public static boolean containsTagsEntries(long pk)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addTagsEntry

public static void addTagsEntry(long pk,
                                long tagsEntryPK)
                         throws com.liferay.portal.SystemException,
                                NoSuchAssetException,
                                NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException
NoSuchEntryException

addTagsEntry

public static void addTagsEntry(long pk,
                                TagsEntry tagsEntry)
                         throws com.liferay.portal.SystemException,
                                NoSuchAssetException,
                                NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException
NoSuchEntryException

addTagsEntries

public static void addTagsEntries(long pk,
                                  long[] tagsEntryPKs)
                           throws com.liferay.portal.SystemException,
                                  NoSuchAssetException,
                                  NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException
NoSuchEntryException

addTagsEntries

public static void addTagsEntries(long pk,
                                  java.util.List tagsEntries)
                           throws com.liferay.portal.SystemException,
                                  NoSuchAssetException,
                                  NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException
NoSuchEntryException

clearTagsEntries

public static void clearTagsEntries(long pk)
                             throws com.liferay.portal.SystemException,
                                    NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

removeTagsEntry

public static void removeTagsEntry(long pk,
                                   long tagsEntryPK)
                            throws com.liferay.portal.SystemException,
                                   NoSuchAssetException,
                                   NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException
NoSuchEntryException

removeTagsEntry

public static void removeTagsEntry(long pk,
                                   TagsEntry tagsEntry)
                            throws com.liferay.portal.SystemException,
                                   NoSuchAssetException,
                                   NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException
NoSuchEntryException

removeTagsEntries

public static void removeTagsEntries(long pk,
                                     long[] tagsEntryPKs)
                              throws com.liferay.portal.SystemException,
                                     NoSuchAssetException,
                                     NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException
NoSuchEntryException

removeTagsEntries

public static void removeTagsEntries(long pk,
                                     java.util.List tagsEntries)
                              throws com.liferay.portal.SystemException,
                                     NoSuchAssetException,
                                     NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException
NoSuchEntryException

setTagsEntries

public static void setTagsEntries(long pk,
                                  long[] tagsEntryPKs)
                           throws com.liferay.portal.SystemException,
                                  NoSuchAssetException,
                                  NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException
NoSuchEntryException

setTagsEntries

public static void setTagsEntries(long pk,
                                  java.util.List tagsEntries)
                           throws com.liferay.portal.SystemException,
                                  NoSuchAssetException,
                                  NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException
NoSuchEntryException

getPersistence

public static TagsAssetPersistence getPersistence()

setPersistence

public void setPersistence(TagsAssetPersistence persistence)