com.liferay.portal.service.persistence
Interface ResourceActionPersistence

All Superinterfaces:
BasePersistence<ResourceAction>

public interface ResourceActionPersistence
extends BasePersistence<ResourceAction>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
ResourceActionPersistenceImpl, ResourceActionUtil
Generated:

Method Summary
 void cacheResult(java.util.List<ResourceAction> resourceActions)
           
 void cacheResult(ResourceAction resourceAction)
           
 int countAll()
           
 int countByN_A(java.lang.String name, java.lang.String actionId)
           
 int countByName(java.lang.String name)
           
 ResourceAction create(long resourceActionId)
           
 ResourceAction fetchByN_A(java.lang.String name, java.lang.String actionId)
           
 ResourceAction fetchByN_A(java.lang.String name, java.lang.String actionId, boolean retrieveFromCache)
           
 ResourceAction fetchByPrimaryKey(long resourceActionId)
           
 java.util.List<ResourceAction> findAll()
           
 java.util.List<ResourceAction> findAll(int start, int end)
           
 java.util.List<ResourceAction> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ResourceAction findByN_A(java.lang.String name, java.lang.String actionId)
           
 ResourceAction findByName_First(java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ResourceAction findByName_Last(java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ResourceAction[] findByName_PrevAndNext(long resourceActionId, java.lang.String name, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<ResourceAction> findByName(java.lang.String name)
           
 java.util.List<ResourceAction> findByName(java.lang.String name, int start, int end)
           
 java.util.List<ResourceAction> findByName(java.lang.String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ResourceAction findByPrimaryKey(long resourceActionId)
           
 ResourceAction remove(long resourceActionId)
           
 void removeAll()
           
 void removeByN_A(java.lang.String name, java.lang.String actionId)
           
 void removeByName(java.lang.String name)
           
 ResourceAction updateImpl(ResourceAction resourceAction, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(ResourceAction resourceAction)

cacheResult

void cacheResult(java.util.List<ResourceAction> resourceActions)

create

ResourceAction create(long resourceActionId)

remove

ResourceAction remove(long resourceActionId)
                      throws NoSuchResourceActionException,
                             com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchResourceActionException
com.liferay.portal.kernel.exception.SystemException

updateImpl

ResourceAction updateImpl(ResourceAction resourceAction,
                          boolean merge)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

ResourceAction findByPrimaryKey(long resourceActionId)
                                throws NoSuchResourceActionException,
                                       com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchResourceActionException
com.liferay.portal.kernel.exception.SystemException

fetchByPrimaryKey

ResourceAction fetchByPrimaryKey(long resourceActionId)
                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByName

java.util.List<ResourceAction> findByName(java.lang.String name)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByName

java.util.List<ResourceAction> findByName(java.lang.String name,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByName

java.util.List<ResourceAction> findByName(java.lang.String name,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByName_First

ResourceAction findByName_First(java.lang.String name,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws NoSuchResourceActionException,
                                       com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchResourceActionException
com.liferay.portal.kernel.exception.SystemException

findByName_Last

ResourceAction findByName_Last(java.lang.String name,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws NoSuchResourceActionException,
                                      com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchResourceActionException
com.liferay.portal.kernel.exception.SystemException

findByName_PrevAndNext

ResourceAction[] findByName_PrevAndNext(long resourceActionId,
                                        java.lang.String name,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws NoSuchResourceActionException,
                                               com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchResourceActionException
com.liferay.portal.kernel.exception.SystemException

findByN_A

ResourceAction findByN_A(java.lang.String name,
                         java.lang.String actionId)
                         throws NoSuchResourceActionException,
                                com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchResourceActionException
com.liferay.portal.kernel.exception.SystemException

fetchByN_A

ResourceAction fetchByN_A(java.lang.String name,
                          java.lang.String actionId)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByN_A

ResourceAction fetchByN_A(java.lang.String name,
                          java.lang.String actionId,
                          boolean retrieveFromCache)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<ResourceAction> findAll()
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<ResourceAction> findAll(int start,
                                       int end)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<ResourceAction> findAll(int start,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByName

void removeByName(java.lang.String name)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByN_A

void removeByN_A(java.lang.String name,
                 java.lang.String actionId)
                 throws NoSuchResourceActionException,
                        com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchResourceActionException
com.liferay.portal.kernel.exception.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByName

int countByName(java.lang.String name)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByN_A

int countByN_A(java.lang.String name,
               java.lang.String actionId)
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException