@ProviderType public interface SamlIdpSpConnectionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SamlIdpSpConnection>
Caching information and settings can be found in portal.properties
SamlIdpSpConnectionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<SamlIdpSpConnection> samlIdpSpConnections)
Caches the saml idp sp connections in the entity cache if it is enabled.
|
void |
cacheResult(SamlIdpSpConnection samlIdpSpConnection)
Caches the saml idp sp connection in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of saml idp sp connections.
|
int |
countByC_SSEI(long companyId,
java.lang.String samlSpEntityId)
Returns the number of saml idp sp connections where companyId = ? and samlSpEntityId = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of saml idp sp connections where companyId = ?.
|
SamlIdpSpConnection |
create(long samlIdpSpConnectionId)
Creates a new saml idp sp connection with the primary key.
|
SamlIdpSpConnection |
fetchByC_SSEI(long companyId,
java.lang.String samlSpEntityId)
Returns the saml idp sp connection where companyId = ? and samlSpEntityId = ? or returns
null if it could not be found. |
SamlIdpSpConnection |
fetchByC_SSEI(long companyId,
java.lang.String samlSpEntityId,
boolean useFinderCache)
Returns the saml idp sp connection where companyId = ? and samlSpEntityId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
SamlIdpSpConnection |
fetchByPrimaryKey(long samlIdpSpConnectionId)
Returns the saml idp sp connection with the primary key or returns
null if it could not be found. |
java.util.List<SamlIdpSpConnection> |
findAll()
Returns all the saml idp sp connections.
|
java.util.List<SamlIdpSpConnection> |
findAll(int start,
int end)
Returns a range of all the saml idp sp connections.
|
java.util.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.
|
java.util.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.
|
SamlIdpSpConnection |
findByC_SSEI(long companyId,
java.lang.String samlSpEntityId)
Returns the saml idp sp connection where companyId = ? and samlSpEntityId = ? or throws a
NoSuchIdpSpConnectionException if it could not be found. |
SamlIdpSpConnection |
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 = ?.
|
SamlIdpSpConnection |
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 = ?.
|
SamlIdpSpConnection[] |
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 = ?.
|
java.util.List<SamlIdpSpConnection> |
findByCompanyId(long companyId)
Returns all the saml idp sp connections where companyId = ?.
|
java.util.List<SamlIdpSpConnection> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the saml idp sp connections where companyId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
SamlIdpSpConnection |
findByPrimaryKey(long samlIdpSpConnectionId)
Returns the saml idp sp connection with the primary key or throws a
NoSuchIdpSpConnectionException if it could not be found. |
SamlIdpSpConnection |
remove(long samlIdpSpConnectionId)
Removes the saml idp sp connection with the primary key from the database.
|
void |
removeAll()
Removes all the saml idp sp connections from the database.
|
SamlIdpSpConnection |
removeByC_SSEI(long companyId,
java.lang.String samlSpEntityId)
Removes the saml idp sp connection where companyId = ? and samlSpEntityId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the saml idp sp connections where companyId = ? from the database.
|
SamlIdpSpConnection |
updateImpl(SamlIdpSpConnection samlIdpSpConnection) |
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, setDataSource, unregisterListener, update, update
java.util.List<SamlIdpSpConnection> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<SamlIdpSpConnection> findByCompanyId(long companyId, int start, int end)
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 SamlIdpSpConnectionModelImpl
.
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)java.util.List<SamlIdpSpConnection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator)
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 SamlIdpSpConnectionModelImpl
.
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 (optionally null
)java.util.List<SamlIdpSpConnection> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator, boolean useFinderCache)
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 SamlIdpSpConnectionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheSamlIdpSpConnection findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) throws NoSuchIdpSpConnectionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchIdpSpConnectionException
- if a matching saml idp sp connection could not be foundSamlIdpSpConnection fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml idp sp connection could not be foundSamlIdpSpConnection findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) throws NoSuchIdpSpConnectionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchIdpSpConnectionException
- if a matching saml idp sp connection could not be foundSamlIdpSpConnection fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching saml idp sp connection could not be foundSamlIdpSpConnection[] findByCompanyId_PrevAndNext(long samlIdpSpConnectionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator) throws NoSuchIdpSpConnectionException
samlIdpSpConnectionId
- the primary key of the current saml idp sp connectioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchIdpSpConnectionException
- if a saml idp sp connection with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDSamlIdpSpConnection findByC_SSEI(long companyId, java.lang.String samlSpEntityId) throws NoSuchIdpSpConnectionException
NoSuchIdpSpConnectionException
if it could not be found.companyId
- the company IDsamlSpEntityId
- the saml sp entity IDNoSuchIdpSpConnectionException
- if a matching saml idp sp connection could not be foundSamlIdpSpConnection fetchByC_SSEI(long companyId, java.lang.String samlSpEntityId)
null
if it could not be found. Uses the finder cache.companyId
- the company IDsamlSpEntityId
- the saml sp entity IDnull
if a matching saml idp sp connection could not be foundSamlIdpSpConnection fetchByC_SSEI(long companyId, java.lang.String samlSpEntityId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDsamlSpEntityId
- the saml sp entity IDuseFinderCache
- whether to use the finder cachenull
if a matching saml idp sp connection could not be foundSamlIdpSpConnection removeByC_SSEI(long companyId, java.lang.String samlSpEntityId) throws NoSuchIdpSpConnectionException
companyId
- the company IDsamlSpEntityId
- the saml sp entity IDNoSuchIdpSpConnectionException
int countByC_SSEI(long companyId, java.lang.String samlSpEntityId)
companyId
- the company IDsamlSpEntityId
- the saml sp entity IDvoid cacheResult(SamlIdpSpConnection samlIdpSpConnection)
samlIdpSpConnection
- the saml idp sp connectionvoid cacheResult(java.util.List<SamlIdpSpConnection> samlIdpSpConnections)
samlIdpSpConnections
- the saml idp sp connectionsSamlIdpSpConnection create(long samlIdpSpConnectionId)
samlIdpSpConnectionId
- the primary key for the new saml idp sp connectionSamlIdpSpConnection remove(long samlIdpSpConnectionId) throws NoSuchIdpSpConnectionException
samlIdpSpConnectionId
- the primary key of the saml idp sp connectionNoSuchIdpSpConnectionException
- if a saml idp sp connection with the primary key could not be foundSamlIdpSpConnection updateImpl(SamlIdpSpConnection samlIdpSpConnection)
SamlIdpSpConnection findByPrimaryKey(long samlIdpSpConnectionId) throws NoSuchIdpSpConnectionException
NoSuchIdpSpConnectionException
if it could not be found.samlIdpSpConnectionId
- the primary key of the saml idp sp connectionNoSuchIdpSpConnectionException
- if a saml idp sp connection with the primary key could not be foundSamlIdpSpConnection fetchByPrimaryKey(long samlIdpSpConnectionId)
null
if it could not be found.samlIdpSpConnectionId
- the primary key of the saml idp sp connectionnull
if a saml idp sp connection with the primary key could not be foundjava.util.List<SamlIdpSpConnection> findAll()
java.util.List<SamlIdpSpConnection> findAll(int start, int end)
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 SamlIdpSpConnectionModelImpl
.
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)java.util.List<SamlIdpSpConnection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator)
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 SamlIdpSpConnectionModelImpl
.
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 (optionally null
)java.util.List<SamlIdpSpConnection> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SamlIdpSpConnection> orderByComparator, boolean useFinderCache)
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 SamlIdpSpConnectionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()