Class IdentityExecutionUtils
java.lang.Object
org.broadleafcommerce.common.util.tenant.IdentityExecutionUtils
The utility methods in this class provide a way to ignore the currently configured site/catalog contexts and instead
explicitly run operations in the specified context.
- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
G extends Throwable>
TrunOperationAndIgnoreIdentifier
(IdentityOperation<T, G> operation) static <T,
G extends Throwable>
TrunOperationAndIgnoreIdentifier
(IdentityOperation<T, G> operation, org.springframework.transaction.PlatformTransactionManager transactionManager) static <T,
G extends Throwable>
TrunOperationByIdentifier
(IdentityOperation<T, G> operation, Site site) static <T,
G extends Throwable>
TrunOperationByIdentifier
(IdentityOperation<T, G> operation, Site site, Catalog catalog) static <T,
G extends Throwable>
TrunOperationByIdentifier
(IdentityOperation<T, G> operation, Site site, Site profile) static <T,
G extends Throwable>
TrunOperationByIdentifier
(IdentityOperation<T, G> operation, Site site, Site profile, Catalog catalog) static <T,
G extends Throwable>
TrunOperationByIdentifier
(IdentityOperation<T, G> operation, Site site, Site profile, Catalog catalog, org.springframework.transaction.PlatformTransactionManager transactionManager)
-
Constructor Details
-
IdentityExecutionUtils
public IdentityExecutionUtils()
-
-
Method Details
-
runOperationByIdentifier
public static <T,G extends Throwable> T runOperationByIdentifier(IdentityOperation<T, G> operation, Site site, Site profile, Catalog catalog, org.springframework.transaction.PlatformTransactionManager transactionManager) throws G- Throws:
G extends Throwable
-
runOperationByIdentifier
public static <T,G extends Throwable> T runOperationByIdentifier(IdentityOperation<T, G> operation, Site site, Catalog catalog) throws G- Throws:
G extends Throwable
-
runOperationByIdentifier
public static <T,G extends Throwable> T runOperationByIdentifier(IdentityOperation<T, G> operation, Site site, Site profile, Catalog catalog) throws G- Throws:
G extends Throwable
-
runOperationByIdentifier
public static <T,G extends Throwable> T runOperationByIdentifier(IdentityOperation<T, G> operation, Site site) throws G- Throws:
G extends Throwable
-
runOperationByIdentifier
public static <T,G extends Throwable> T runOperationByIdentifier(IdentityOperation<T, G> operation, Site site, Site profile) throws G- Throws:
G extends Throwable
-
runOperationAndIgnoreIdentifier
public static <T,G extends Throwable> T runOperationAndIgnoreIdentifier(IdentityOperation<T, G> operation) throws G- Throws:
G extends Throwable
-
runOperationAndIgnoreIdentifier
public static <T,G extends Throwable> T runOperationAndIgnoreIdentifier(IdentityOperation<T, G> operation, org.springframework.transaction.PlatformTransactionManager transactionManager) throws G- Throws:
G extends Throwable
-