Interface SamlIdpSpConnectionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<SamlIdpSpConnection>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(SamlIdpSpConnection samlIdpSpConnection) Caches the saml idp sp connection in the entity cache if it is enabled.voidcacheResult(List<SamlIdpSpConnection> samlIdpSpConnections) Caches the saml idp sp connections in the entity cache if it is enabled.intcountAll()Returns the number of saml idp sp connections.intcountByC_SSEI(long companyId, String samlSpEntityId) Returns the number of saml idp sp connections where companyId = ? and samlSpEntityId = ?.intcountByCompanyId(long companyId) Returns the number of saml idp sp connections where companyId = ?.create(long samlIdpSpConnectionId) Creates a new saml idp sp connection with the primary key.fetchByC_SSEI(long companyId, String samlSpEntityId) Returns the saml idp sp connection where companyId = ? and samlSpEntityId = ? or returnsnullif it could not be found.fetchByC_SSEI(long companyId, String samlSpEntityId, boolean useFinderCache) Returns the saml idp sp connection where companyId = ? and samlSpEntityId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) Returns the first saml idp sp connection in the ordered set where companyId = ?.fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) Returns the last saml idp sp connection in the ordered set where companyId = ?.fetchByPrimaryKey(long samlIdpSpConnectionId) Returns the saml idp sp connection with the primary key or returnsnullif it could not be found.findAll()Returns all the saml idp sp connections.findAll(int start, int end) Returns a range of all the saml idp sp connections.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) Returns an ordered range of all the saml idp sp connections.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml idp sp connections.findByC_SSEI(long companyId, String samlSpEntityId) Returns the saml idp sp connection where companyId = ? and samlSpEntityId = ? or throws aNoSuchIdpSpConnectionExceptionif it could not be found.findByCompanyId(long companyId) Returns all the saml idp sp connections where companyId = ?.findByCompanyId(long companyId, int start, int end) Returns a range of all the saml idp sp connections where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) Returns an ordered range of all the saml idp sp connections where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml idp sp connections where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) Returns the first saml idp sp connection in the ordered set where companyId = ?.findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) Returns the last saml idp sp connection in the ordered set where companyId = ?.findByCompanyId_PrevAndNext(long samlIdpSpConnectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) Returns the saml idp sp connections before and after the current saml idp sp connection in the ordered set where companyId = ?.findByPrimaryKey(long samlIdpSpConnectionId) Returns the saml idp sp connection with the primary key or throws aNoSuchIdpSpConnectionExceptionif it could not be found.remove(long samlIdpSpConnectionId) Removes the saml idp sp connection with the primary key from the database.voidRemoves all the saml idp sp connections from the database.removeByC_SSEI(long companyId, String samlSpEntityId) Removes the saml idp sp connection where companyId = ? and samlSpEntityId = ? from the database.voidremoveByCompanyId(long companyId) Removes all the saml idp sp connections where companyId = ? from the database.updateImpl(SamlIdpSpConnection samlIdpSpConnection) 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
Returns all the saml idp sp connections where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching saml idp sp connections
-
findByCompanyId
Returns a range of all the saml idp sp connections where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlIdpSpConnectionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of saml idp sp connectionsend- the upper bound of the range of saml idp sp connections (not inclusive)- Returns:
- the range of matching saml idp sp connections
-
findByCompanyId
List<SamlIdpSpConnection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) Returns an ordered range of all the saml idp sp connections where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlIdpSpConnectionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of saml idp sp connectionsend- the upper bound of the range of saml idp sp connections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching saml idp sp connections
-
findByCompanyId
List<SamlIdpSpConnection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml idp sp connections where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlIdpSpConnectionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of saml idp sp connectionsend- the upper bound of the range of saml idp sp connections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching saml idp sp connections
-
findByCompanyId_First
SamlIdpSpConnection findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) throws NoSuchIdpSpConnectionException Returns the first saml idp sp connection in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml idp sp connection
- Throws:
NoSuchIdpSpConnectionException- if a matching saml idp sp connection could not be found
-
fetchByCompanyId_First
SamlIdpSpConnection fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) Returns the first saml idp sp connection in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching saml idp sp connection, or
nullif a matching saml idp sp connection could not be found
-
findByCompanyId_Last
SamlIdpSpConnection findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) throws NoSuchIdpSpConnectionException Returns the last saml idp sp connection in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml idp sp connection
- Throws:
NoSuchIdpSpConnectionException- if a matching saml idp sp connection could not be found
-
fetchByCompanyId_Last
SamlIdpSpConnection fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) Returns the last saml idp sp connection in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching saml idp sp connection, or
nullif a matching saml idp sp connection could not be found
-
findByCompanyId_PrevAndNext
SamlIdpSpConnection[] findByCompanyId_PrevAndNext(long samlIdpSpConnectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) throws NoSuchIdpSpConnectionException Returns the saml idp sp connections before and after the current saml idp sp connection in the ordered set where companyId = ?.- Parameters:
samlIdpSpConnectionId- the primary key of the current saml idp sp connectioncompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next saml idp sp connection
- Throws:
NoSuchIdpSpConnectionException- if a saml idp sp connection with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the saml idp sp connections where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of saml idp sp connections where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching saml idp sp connections
-
findByC_SSEI
SamlIdpSpConnection findByC_SSEI(long companyId, String samlSpEntityId) throws NoSuchIdpSpConnectionException Returns the saml idp sp connection where companyId = ? and samlSpEntityId = ? or throws aNoSuchIdpSpConnectionExceptionif it could not be found.- Parameters:
companyId- the company IDsamlSpEntityId- the saml sp entity ID- Returns:
- the matching saml idp sp connection
- Throws:
NoSuchIdpSpConnectionException- if a matching saml idp sp connection could not be found
-
fetchByC_SSEI
Returns the saml idp sp connection where companyId = ? and samlSpEntityId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDsamlSpEntityId- the saml sp entity ID- Returns:
- the matching saml idp sp connection, or
nullif a matching saml idp sp connection could not be found
-
fetchByC_SSEI
Returns the saml idp sp connection where companyId = ? and samlSpEntityId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDsamlSpEntityId- the saml sp entity IDuseFinderCache- whether to use the finder cache- Returns:
- the matching saml idp sp connection, or
nullif a matching saml idp sp connection could not be found
-
removeByC_SSEI
SamlIdpSpConnection removeByC_SSEI(long companyId, String samlSpEntityId) throws NoSuchIdpSpConnectionException Removes the saml idp sp connection where companyId = ? and samlSpEntityId = ? from the database.- Parameters:
companyId- the company IDsamlSpEntityId- the saml sp entity ID- Returns:
- the saml idp sp connection that was removed
- Throws:
NoSuchIdpSpConnectionException
-
countByC_SSEI
Returns the number of saml idp sp connections where companyId = ? and samlSpEntityId = ?.- Parameters:
companyId- the company IDsamlSpEntityId- the saml sp entity ID- Returns:
- the number of matching saml idp sp connections
-
cacheResult
Caches the saml idp sp connection in the entity cache if it is enabled.- Parameters:
samlIdpSpConnection- the saml idp sp connection
-
cacheResult
Caches the saml idp sp connections in the entity cache if it is enabled.- Parameters:
samlIdpSpConnections- the saml idp sp connections
-
create
Creates a new saml idp sp connection with the primary key. Does not add the saml idp sp connection to the database.- Parameters:
samlIdpSpConnectionId- the primary key for the new saml idp sp connection- Returns:
- the new saml idp sp connection
-
remove
Removes the saml idp sp connection with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
samlIdpSpConnectionId- the primary key of the saml idp sp connection- Returns:
- the saml idp sp connection that was removed
- Throws:
NoSuchIdpSpConnectionException- if a saml idp sp connection with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
SamlIdpSpConnection findByPrimaryKey(long samlIdpSpConnectionId) throws NoSuchIdpSpConnectionException Returns the saml idp sp connection with the primary key or throws aNoSuchIdpSpConnectionExceptionif it could not be found.- Parameters:
samlIdpSpConnectionId- the primary key of the saml idp sp connection- Returns:
- the saml idp sp connection
- Throws:
NoSuchIdpSpConnectionException- if a saml idp sp connection with the primary key could not be found
-
fetchByPrimaryKey
Returns the saml idp sp connection with the primary key or returnsnullif it could not be found.- Parameters:
samlIdpSpConnectionId- the primary key of the saml idp sp connection- Returns:
- the saml idp sp connection, or
nullif a saml idp sp connection with the primary key could not be found
-
findAll
List<SamlIdpSpConnection> findAll()Returns all the saml idp sp connections.- Returns:
- the saml idp sp connections
-
findAll
Returns a range of all the saml idp sp connections.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlIdpSpConnectionModelImpl.- Parameters:
start- the lower bound of the range of saml idp sp connectionsend- the upper bound of the range of saml idp sp connections (not inclusive)- Returns:
- the range of saml idp sp connections
-
findAll
List<SamlIdpSpConnection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) Returns an ordered range of all the saml idp sp connections.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlIdpSpConnectionModelImpl.- Parameters:
start- the lower bound of the range of saml idp sp connectionsend- the upper bound of the range of saml idp sp connections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of saml idp sp connections
-
findAll
List<SamlIdpSpConnection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator, boolean useFinderCache) Returns an ordered range of all the saml idp sp connections.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromSamlIdpSpConnectionModelImpl.- Parameters:
start- the lower bound of the range of saml idp sp connectionsend- the upper bound of the range of saml idp sp connections (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of saml idp sp connections
-
removeAll
void removeAll()Removes all the saml idp sp connections from the database. -
countAll
int countAll()Returns the number of saml idp sp connections.- Returns:
- the number of saml idp sp connections
-