| Package | Description |
|---|---|
| org.broadleafcommerce.common.copy | |
| org.broadleafcommerce.common.exception | |
| org.broadleafcommerce.common.security.service |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends MultiTenantCloneable> |
MultiTenantCopier.copyEntitiesOfType(Class<T> clazz,
Site fromSite,
Catalog fromCatalog,
MultiTenantCopyContext context)
Subclasses will generally call this method in their
MultiTenantCopier.copyEntities(MultiTenantCopyContext) implementation. |
protected <T> List<T> |
MultiTenantCopier.readAll(Class<T> clazz,
int limit,
int offset,
Site site,
Catalog catalog)
Returns a list of all entities in the system for the given class, site, and catalog.
|
protected <T> List<T> |
MultiTenantCopier.readAll(Class<T> clazz,
Site site,
Catalog catalog) |
protected List<Long> |
MultiTenantCopier.readAllIds(Class<?> clazz,
Site site,
Catalog catalog)
Returns the primary key values for all entities of the specified type in the site or catalog.
|
protected <T> Long |
MultiTenantCopier.readCount(Class<T> clazz,
Site site,
Catalog catalog)
Returns the count of the given entity class for the specified site and catalog
|
protected <T> T |
MultiTenantCopier.save(MultiTenantCopyContext context,
T object)
Saves the specified object in the toSite and toCatalog of the given context.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SecurityServiceException
Form of ServiceException thrown when their is a security
failure while attempting to execute the operation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CleanStringException |
| Modifier and Type | Method and Description |
|---|---|
String |
ExploitProtectionServiceImpl.cleanString(String string) |
String |
ExploitProtectionService.cleanString(String string)
Detect and remove possible XSS threats from the passed in string.
|
String |
ExploitProtectionServiceImpl.cleanStringWithResults(String string) |
String |
ExploitProtectionService.cleanStringWithResults(String string)
Detect and remove possible XSS threats from the passed in string.
|
void |
ExploitProtectionServiceImpl.compareToken(String passedToken) |
void |
ExploitProtectionService.compareToken(String passedToken)
Detect possible XSRF attacks by comparing the csrf token included
in the request against the true token for this user from the session.
|
String |
ExploitProtectionServiceImpl.getCSRFToken() |
String |
ExploitProtectionService.getCSRFToken() |
Copyright © 2018. All rights reserved.