Interface CTRemotePersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CTRemote>

@ProviderType public interface CTRemotePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CTRemote>
The persistence interface for the ct remote service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Caches the ct remote in the entity cache if it is enabled.
    void
    Caches the ct remotes in the entity cache if it is enabled.
    int
    Returns the number of ct remotes.
    int
    countByCompanyId(long companyId)
    Returns the number of ct remotes where companyId = ?.
    create(long ctRemoteId)
    Creates a new ct remote with the primary key.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
    Returns the first ct remote in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
    Returns the last ct remote in the ordered set where companyId = ?.
    fetchByPrimaryKey(long ctRemoteId)
    Returns the ct remote with the primary key or returns null if it could not be found.
    int
    filterCountByCompanyId(long companyId)
    Returns the number of ct remotes that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId)
    Returns all the ct remotes that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end)
    Returns a range of all the ct remotes that the user has permission to view where companyId = ?.
    filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
    Returns an ordered range of all the ct remotes that the user has permissions to view where companyId = ?.
    filterFindByCompanyId_PrevAndNext(long ctRemoteId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
    Returns the ct remotes before and after the current ct remote in the ordered set of ct remotes that the user has permission to view where companyId = ?.
    Returns all the ct remotes.
    findAll(int start, int end)
    Returns a range of all the ct remotes.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
    Returns an ordered range of all the ct remotes.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct remotes.
    findByCompanyId(long companyId)
    Returns all the ct remotes where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the ct remotes where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
    Returns an ordered range of all the ct remotes where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ct remotes where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
    Returns the first ct remote in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
    Returns the last ct remote in the ordered set where companyId = ?.
    findByCompanyId_PrevAndNext(long ctRemoteId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
    Returns the ct remotes before and after the current ct remote in the ordered set where companyId = ?.
    findByPrimaryKey(long ctRemoteId)
    Returns the ct remote with the primary key or throws a NoSuchRemoteException if it could not be found.
    remove(long ctRemoteId)
    Removes the ct remote with the primary key from the database.
    void
    Removes all the ct remotes from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the ct remotes where companyId = ? from the database.
    updateImpl(CTRemote ctRemote)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Method Details

    • findByCompanyId

      List<CTRemote> findByCompanyId(long companyId)
      Returns all the ct remotes where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching ct remotes
    • findByCompanyId

      List<CTRemote> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the ct remotes where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTRemoteModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of ct remotes
      end - the upper bound of the range of ct remotes (not inclusive)
      Returns:
      the range of matching ct remotes
    • findByCompanyId

      List<CTRemote> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
      Returns an ordered range of all the ct remotes where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTRemoteModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of ct remotes
      end - the upper bound of the range of ct remotes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct remotes
    • findByCompanyId

      List<CTRemote> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct remotes where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTRemoteModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of ct remotes
      end - the upper bound of the range of ct remotes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching ct remotes
    • findByCompanyId_First

      CTRemote findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator) throws NoSuchRemoteException
      Returns the first ct remote in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct remote
      Throws:
      NoSuchRemoteException - if a matching ct remote could not be found
    • fetchByCompanyId_First

      CTRemote fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
      Returns the first ct remote in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ct remote, or null if a matching ct remote could not be found
    • findByCompanyId_Last

      CTRemote findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator) throws NoSuchRemoteException
      Returns the last ct remote in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct remote
      Throws:
      NoSuchRemoteException - if a matching ct remote could not be found
    • fetchByCompanyId_Last

      CTRemote fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
      Returns the last ct remote in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ct remote, or null if a matching ct remote could not be found
    • findByCompanyId_PrevAndNext

      CTRemote[] findByCompanyId_PrevAndNext(long ctRemoteId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator) throws NoSuchRemoteException
      Returns the ct remotes before and after the current ct remote in the ordered set where companyId = ?.
      Parameters:
      ctRemoteId - the primary key of the current ct remote
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct remote
      Throws:
      NoSuchRemoteException - if a ct remote with the primary key could not be found
    • filterFindByCompanyId

      List<CTRemote> filterFindByCompanyId(long companyId)
      Returns all the ct remotes that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching ct remotes that the user has permission to view
    • filterFindByCompanyId

      List<CTRemote> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the ct remotes that the user has permission to view where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTRemoteModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of ct remotes
      end - the upper bound of the range of ct remotes (not inclusive)
      Returns:
      the range of matching ct remotes that the user has permission to view
    • filterFindByCompanyId

      List<CTRemote> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
      Returns an ordered range of all the ct remotes that the user has permissions to view where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTRemoteModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of ct remotes
      end - the upper bound of the range of ct remotes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ct remotes that the user has permission to view
    • filterFindByCompanyId_PrevAndNext

      CTRemote[] filterFindByCompanyId_PrevAndNext(long ctRemoteId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator) throws NoSuchRemoteException
      Returns the ct remotes before and after the current ct remote in the ordered set of ct remotes that the user has permission to view where companyId = ?.
      Parameters:
      ctRemoteId - the primary key of the current ct remote
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ct remote
      Throws:
      NoSuchRemoteException - if a ct remote with the primary key could not be found
    • removeByCompanyId

      void removeByCompanyId(long companyId)
      Removes all the ct remotes where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      int countByCompanyId(long companyId)
      Returns the number of ct remotes where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching ct remotes
    • filterCountByCompanyId

      int filterCountByCompanyId(long companyId)
      Returns the number of ct remotes that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching ct remotes that the user has permission to view
    • cacheResult

      void cacheResult(CTRemote ctRemote)
      Caches the ct remote in the entity cache if it is enabled.
      Parameters:
      ctRemote - the ct remote
    • cacheResult

      void cacheResult(List<CTRemote> ctRemotes)
      Caches the ct remotes in the entity cache if it is enabled.
      Parameters:
      ctRemotes - the ct remotes
    • create

      CTRemote create(long ctRemoteId)
      Creates a new ct remote with the primary key. Does not add the ct remote to the database.
      Parameters:
      ctRemoteId - the primary key for the new ct remote
      Returns:
      the new ct remote
    • remove

      CTRemote remove(long ctRemoteId) throws NoSuchRemoteException
      Removes the ct remote with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      ctRemoteId - the primary key of the ct remote
      Returns:
      the ct remote that was removed
      Throws:
      NoSuchRemoteException - if a ct remote with the primary key could not be found
    • updateImpl

      CTRemote updateImpl(CTRemote ctRemote)
    • findByPrimaryKey

      CTRemote findByPrimaryKey(long ctRemoteId) throws NoSuchRemoteException
      Returns the ct remote with the primary key or throws a NoSuchRemoteException if it could not be found.
      Parameters:
      ctRemoteId - the primary key of the ct remote
      Returns:
      the ct remote
      Throws:
      NoSuchRemoteException - if a ct remote with the primary key could not be found
    • fetchByPrimaryKey

      CTRemote fetchByPrimaryKey(long ctRemoteId)
      Returns the ct remote with the primary key or returns null if it could not be found.
      Parameters:
      ctRemoteId - the primary key of the ct remote
      Returns:
      the ct remote, or null if a ct remote with the primary key could not be found
    • findAll

      List<CTRemote> findAll()
      Returns all the ct remotes.
      Returns:
      the ct remotes
    • findAll

      List<CTRemote> findAll(int start, int end)
      Returns a range of all the ct remotes.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTRemoteModelImpl.

      Parameters:
      start - the lower bound of the range of ct remotes
      end - the upper bound of the range of ct remotes (not inclusive)
      Returns:
      the range of ct remotes
    • findAll

      List<CTRemote> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator)
      Returns an ordered range of all the ct remotes.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTRemoteModelImpl.

      Parameters:
      start - the lower bound of the range of ct remotes
      end - the upper bound of the range of ct remotes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of ct remotes
    • findAll

      List<CTRemote> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CTRemote> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ct remotes.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CTRemoteModelImpl.

      Parameters:
      start - the lower bound of the range of ct remotes
      end - the upper bound of the range of ct remotes (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of ct remotes
    • removeAll

      void removeAll()
      Removes all the ct remotes from the database.
    • countAll

      int countAll()
      Returns the number of ct remotes.
      Returns:
      the number of ct remotes