public class SamlIdpSpConnectionLocalServiceUtil
extends java.lang.Object
com.liferay.saml.persistence.service.impl.SamlIdpSpConnectionLocalServiceImpl and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.SamlIdpSpConnectionLocalService| Constructor and Description |
|---|
SamlIdpSpConnectionLocalServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static SamlIdpSpConnection |
addSamlIdpSpConnection(SamlIdpSpConnection samlIdpSpConnection)
Adds the saml idp sp connection to the database.
|
static SamlIdpSpConnection |
addSamlIdpSpConnection(java.lang.String samlSpEntityId,
int assertionLifetime,
java.lang.String attributeNames,
boolean attributesEnabled,
boolean attributesNamespaceEnabled,
boolean enabled,
boolean encryptionForced,
java.lang.String metadataUrl,
java.io.InputStream metadataXmlInputStream,
java.lang.String name,
java.lang.String nameIdAttribute,
java.lang.String nameIdFormat,
ServiceContext serviceContext) |
static PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
static SamlIdpSpConnection |
createSamlIdpSpConnection(long samlIdpSpConnectionId)
Creates a new saml idp sp connection with the primary key.
|
static PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
static SamlIdpSpConnection |
deleteSamlIdpSpConnection(long samlIdpSpConnectionId)
Deletes the saml idp sp connection with the primary key from the database.
|
static SamlIdpSpConnection |
deleteSamlIdpSpConnection(SamlIdpSpConnection samlIdpSpConnection)
Deletes the saml idp sp connection from the database.
|
static <T> T |
dslQuery(DSLQuery dslQuery) |
static DynamicQuery |
dynamicQuery() |
static <T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
static <T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
static <T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
static SamlIdpSpConnection |
fetchSamlIdpSpConnection(long samlIdpSpConnectionId) |
static ActionableDynamicQuery |
getActionableDynamicQuery() |
static IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
static SamlIdpSpConnection |
getSamlIdpSpConnection(long samlIdpSpConnectionId)
Returns the saml idp sp connection with the primary key.
|
static SamlIdpSpConnection |
getSamlIdpSpConnection(long companyId,
java.lang.String samlSpEntityId) |
static java.util.List<SamlIdpSpConnection> |
getSamlIdpSpConnections(int start,
int end)
Returns a range of all the saml idp sp connections.
|
static java.util.List<SamlIdpSpConnection> |
getSamlIdpSpConnections(long companyId) |
static java.util.List<SamlIdpSpConnection> |
getSamlIdpSpConnections(long companyId,
int start,
int end) |
static java.util.List<SamlIdpSpConnection> |
getSamlIdpSpConnections(long companyId,
int start,
int end,
OrderByComparator<SamlIdpSpConnection> orderByComparator) |
static int |
getSamlIdpSpConnectionsCount()
Returns the number of saml idp sp connections.
|
static int |
getSamlIdpSpConnectionsCount(long companyId) |
static SamlIdpSpConnectionLocalService |
getService() |
static void |
updateMetadata(long samlIdpSpConnectionId) |
static SamlIdpSpConnection |
updateSamlIdpSpConnection(long samlIdpSpConnectionId,
java.lang.String samlSpEntityId,
int assertionLifetime,
java.lang.String attributeNames,
boolean attributesEnabled,
boolean attributesNamespaceEnabled,
boolean enabled,
boolean encryptionForced,
java.lang.String metadataUrl,
java.io.InputStream metadataXmlInputStream,
java.lang.String name,
java.lang.String nameIdAttribute,
java.lang.String nameIdFormat,
ServiceContext serviceContext) |
static SamlIdpSpConnection |
updateSamlIdpSpConnection(SamlIdpSpConnection samlIdpSpConnection)
Updates the saml idp sp connection in the database or adds it if it does not yet exist.
|
public static SamlIdpSpConnection addSamlIdpSpConnection(SamlIdpSpConnection samlIdpSpConnection)
Important: Inspect SamlIdpSpConnectionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
samlIdpSpConnection - the saml idp sp connectionpublic static SamlIdpSpConnection addSamlIdpSpConnection(java.lang.String samlSpEntityId, int assertionLifetime, java.lang.String attributeNames, boolean attributesEnabled, boolean attributesNamespaceEnabled, boolean enabled, boolean encryptionForced, java.lang.String metadataUrl, java.io.InputStream metadataXmlInputStream, java.lang.String name, java.lang.String nameIdAttribute, java.lang.String nameIdFormat, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
PortalExceptionpublic static SamlIdpSpConnection createSamlIdpSpConnection(long samlIdpSpConnectionId)
samlIdpSpConnectionId - the primary key for the new saml idp sp connectionpublic static PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
PortalExceptionpublic static SamlIdpSpConnection deleteSamlIdpSpConnection(long samlIdpSpConnectionId) throws PortalException
Important: Inspect SamlIdpSpConnectionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
samlIdpSpConnectionId - the primary key of the saml idp sp connectionPortalException - if a saml idp sp connection with the primary key could not be foundpublic static SamlIdpSpConnection deleteSamlIdpSpConnection(SamlIdpSpConnection samlIdpSpConnection)
Important: Inspect SamlIdpSpConnectionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
samlIdpSpConnection - the saml idp sp connectionpublic static <T> T dslQuery(DSLQuery dslQuery)
public static DynamicQuery dynamicQuery()
public static <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery - the dynamic querypublic static <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.saml.persistence.model.impl.SamlIdpSpConnectionModelImpl.
dynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public static <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.saml.persistence.model.impl.SamlIdpSpConnectionModelImpl.
dynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQuery - the dynamic querypublic static long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic static SamlIdpSpConnection fetchSamlIdpSpConnection(long samlIdpSpConnectionId)
public static ActionableDynamicQuery getActionableDynamicQuery()
public static IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
public static java.lang.String getOSGiServiceIdentifier()
public static PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
PortalExceptionpublic static SamlIdpSpConnection getSamlIdpSpConnection(long samlIdpSpConnectionId) throws PortalException
samlIdpSpConnectionId - the primary key of the saml idp sp connectionPortalException - if a saml idp sp connection with the primary key could not be foundpublic static SamlIdpSpConnection getSamlIdpSpConnection(long companyId, java.lang.String samlSpEntityId) throws PortalException
PortalExceptionpublic static java.util.List<SamlIdpSpConnection> getSamlIdpSpConnections(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 com.liferay.portal.kernel.dao.orm.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 com.liferay.saml.persistence.model.impl.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)public static java.util.List<SamlIdpSpConnection> getSamlIdpSpConnections(long companyId)
public static java.util.List<SamlIdpSpConnection> getSamlIdpSpConnections(long companyId, int start, int end)
public static java.util.List<SamlIdpSpConnection> getSamlIdpSpConnections(long companyId, int start, int end, OrderByComparator<SamlIdpSpConnection> orderByComparator)
public static int getSamlIdpSpConnectionsCount()
public static int getSamlIdpSpConnectionsCount(long companyId)
public static void updateMetadata(long samlIdpSpConnectionId)
throws PortalException
PortalExceptionpublic static SamlIdpSpConnection updateSamlIdpSpConnection(long samlIdpSpConnectionId, java.lang.String samlSpEntityId, int assertionLifetime, java.lang.String attributeNames, boolean attributesEnabled, boolean attributesNamespaceEnabled, boolean enabled, boolean encryptionForced, java.lang.String metadataUrl, java.io.InputStream metadataXmlInputStream, java.lang.String name, java.lang.String nameIdAttribute, java.lang.String nameIdFormat, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static SamlIdpSpConnection updateSamlIdpSpConnection(SamlIdpSpConnection samlIdpSpConnection)
Important: Inspect SamlIdpSpConnectionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
samlIdpSpConnection - the saml idp sp connectionpublic static SamlIdpSpConnectionLocalService getService()