repo
stringlengths
7
58
path
stringlengths
12
218
func_name
stringlengths
3
140
original_string
stringlengths
73
34.1k
language
stringclasses
1 value
code
stringlengths
73
34.1k
code_tokens
list
docstring
stringlengths
3
16k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
105
339
partition
stringclasses
1 value
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelLocalServiceBaseImpl.java
CommerceAccountUserRelLocalServiceBaseImpl.deleteCommerceAccountUserRel
@Indexable(type = IndexableType.DELETE) @Override public CommerceAccountUserRel deleteCommerceAccountUserRel( CommerceAccountUserRelPK commerceAccountUserRelPK) throws PortalException { return commerceAccountUserRelPersistence.remove(commerceAccountUserRelPK); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceAccountUserRel deleteCommerceAccountUserRel( CommerceAccountUserRelPK commerceAccountUserRelPK) throws PortalException { return commerceAccountUserRelPersistence.remove(commerceAccountUserRelPK); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceAccountUserRel", "deleteCommerceAccountUserRel", "(", "CommerceAccountUserRelPK", "commerceAccountUserRelPK", ")", "throws", "PortalException", "{", "return", "com...
Deletes the commerce account user rel with the primary key from the database. Also notifies the appropriate model listeners. @param commerceAccountUserRelPK the primary key of the commerce account user rel @return the commerce account user rel that was removed @throws PortalException if a commerce account user rel with the primary key could not be found
[ "Deletes", "the", "commerce", "account", "user", "rel", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelLocalServiceBaseImpl.java#L117-L123
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelLocalServiceBaseImpl.java
CommerceAccountUserRelLocalServiceBaseImpl.deleteCommerceAccountUserRel
@Indexable(type = IndexableType.DELETE) @Override public CommerceAccountUserRel deleteCommerceAccountUserRel( CommerceAccountUserRel commerceAccountUserRel) { return commerceAccountUserRelPersistence.remove(commerceAccountUserRel); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceAccountUserRel deleteCommerceAccountUserRel( CommerceAccountUserRel commerceAccountUserRel) { return commerceAccountUserRelPersistence.remove(commerceAccountUserRel); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceAccountUserRel", "deleteCommerceAccountUserRel", "(", "CommerceAccountUserRel", "commerceAccountUserRel", ")", "{", "return", "commerceAccountUserRelPersistence", "....
Deletes the commerce account user rel from the database. Also notifies the appropriate model listeners. @param commerceAccountUserRel the commerce account user rel @return the commerce account user rel that was removed
[ "Deletes", "the", "commerce", "account", "user", "rel", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelLocalServiceBaseImpl.java#L131-L136
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelLocalServiceBaseImpl.java
CommerceAccountUserRelLocalServiceBaseImpl.setCommerceAccountLocalService
public void setCommerceAccountLocalService( com.liferay.commerce.account.service.CommerceAccountLocalService commerceAccountLocalService) { this.commerceAccountLocalService = commerceAccountLocalService; }
java
public void setCommerceAccountLocalService( com.liferay.commerce.account.service.CommerceAccountLocalService commerceAccountLocalService) { this.commerceAccountLocalService = commerceAccountLocalService; }
[ "public", "void", "setCommerceAccountLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "account", ".", "service", ".", "CommerceAccountLocalService", "commerceAccountLocalService", ")", "{", "this", ".", "commerceAccountLocalService", "=", "commerceAccountL...
Sets the commerce account local service. @param commerceAccountLocalService the commerce account local service
[ "Sets", "the", "commerce", "account", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelLocalServiceBaseImpl.java#L348-L351
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelLocalServiceBaseImpl.java
CommerceAccountUserRelLocalServiceBaseImpl.setUserGroupRoleLocalService
public void setUserGroupRoleLocalService( com.liferay.portal.kernel.service.UserGroupRoleLocalService userGroupRoleLocalService) { this.userGroupRoleLocalService = userGroupRoleLocalService; }
java
public void setUserGroupRoleLocalService( com.liferay.portal.kernel.service.UserGroupRoleLocalService userGroupRoleLocalService) { this.userGroupRoleLocalService = userGroupRoleLocalService; }
[ "public", "void", "setUserGroupRoleLocalService", "(", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "service", ".", "UserGroupRoleLocalService", "userGroupRoleLocalService", ")", "{", "this", ".", "userGroupRoleLocalService", "=", "userGroupRoleLocalService",...
Sets the user group role local service. @param userGroupRoleLocalService the user group role local service
[ "Sets", "the", "user", "group", "role", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelLocalServiceBaseImpl.java#L594-L597
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryLocalServiceBaseImpl.java
CPTaxCategoryLocalServiceBaseImpl.deleteCPTaxCategory
@Indexable(type = IndexableType.DELETE) @Override public CPTaxCategory deleteCPTaxCategory(long CPTaxCategoryId) throws PortalException { return cpTaxCategoryPersistence.remove(CPTaxCategoryId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CPTaxCategory deleteCPTaxCategory(long CPTaxCategoryId) throws PortalException { return cpTaxCategoryPersistence.remove(CPTaxCategoryId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CPTaxCategory", "deleteCPTaxCategory", "(", "long", "CPTaxCategoryId", ")", "throws", "PortalException", "{", "return", "cpTaxCategoryPersistence", ".", "remove", "(...
Deletes the cp tax category with the primary key from the database. Also notifies the appropriate model listeners. @param CPTaxCategoryId the primary key of the cp tax category @return the cp tax category that was removed @throws PortalException if a cp tax category with the primary key could not be found
[ "Deletes", "the", "cp", "tax", "category", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryLocalServiceBaseImpl.java#L132-L137
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPTaxCategoryPersistenceImpl.java
CPTaxCategoryPersistenceImpl.cacheResult
@Override public void cacheResult(CPTaxCategory cpTaxCategory) { entityCache.putResult(CPTaxCategoryModelImpl.ENTITY_CACHE_ENABLED, CPTaxCategoryImpl.class, cpTaxCategory.getPrimaryKey(), cpTaxCategory); cpTaxCategory.resetOriginalValues(); }
java
@Override public void cacheResult(CPTaxCategory cpTaxCategory) { entityCache.putResult(CPTaxCategoryModelImpl.ENTITY_CACHE_ENABLED, CPTaxCategoryImpl.class, cpTaxCategory.getPrimaryKey(), cpTaxCategory); cpTaxCategory.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CPTaxCategory", "cpTaxCategory", ")", "{", "entityCache", ".", "putResult", "(", "CPTaxCategoryModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPTaxCategoryImpl", ".", "class", ",", "cpTaxCategory", ".", "getPrima...
Caches the cp tax category in the entity cache if it is enabled. @param cpTaxCategory the cp tax category
[ "Caches", "the", "cp", "tax", "category", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPTaxCategoryPersistenceImpl.java#L608-L615
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPTaxCategoryPersistenceImpl.java
CPTaxCategoryPersistenceImpl.cacheResult
@Override public void cacheResult(List<CPTaxCategory> cpTaxCategories) { for (CPTaxCategory cpTaxCategory : cpTaxCategories) { if (entityCache.getResult( CPTaxCategoryModelImpl.ENTITY_CACHE_ENABLED, CPTaxCategoryImpl.class, cpTaxCategory.getPrimaryKey()) == null) { cacheResult(cpTaxCategory); } else { cpTaxCategory.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CPTaxCategory> cpTaxCategories) { for (CPTaxCategory cpTaxCategory : cpTaxCategories) { if (entityCache.getResult( CPTaxCategoryModelImpl.ENTITY_CACHE_ENABLED, CPTaxCategoryImpl.class, cpTaxCategory.getPrimaryKey()) == null) { cacheResult(cpTaxCategory); } else { cpTaxCategory.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CPTaxCategory", ">", "cpTaxCategories", ")", "{", "for", "(", "CPTaxCategory", "cpTaxCategory", ":", "cpTaxCategories", ")", "{", "if", "(", "entityCache", ".", "getResult", "(", "CPTaxCategory...
Caches the cp tax categories in the entity cache if it is enabled. @param cpTaxCategories the cp tax categories
[ "Caches", "the", "cp", "tax", "categories", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPTaxCategoryPersistenceImpl.java#L622-L634
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPTaxCategoryPersistenceImpl.java
CPTaxCategoryPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CPTaxCategoryImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache() { entityCache.clearCache(CPTaxCategoryImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", ")", "{", "entityCache", ".", "clearCache", "(", "CPTaxCategoryImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache", "("...
Clears the cache for all cp tax categories. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "cp", "tax", "categories", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPTaxCategoryPersistenceImpl.java#L643-L650
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPTaxCategoryPersistenceImpl.java
CPTaxCategoryPersistenceImpl.clearCache
@Override public void clearCache(CPTaxCategory cpTaxCategory) { entityCache.removeResult(CPTaxCategoryModelImpl.ENTITY_CACHE_ENABLED, CPTaxCategoryImpl.class, cpTaxCategory.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache(CPTaxCategory cpTaxCategory) { entityCache.removeResult(CPTaxCategoryModelImpl.ENTITY_CACHE_ENABLED, CPTaxCategoryImpl.class, cpTaxCategory.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", "CPTaxCategory", "cpTaxCategory", ")", "{", "entityCache", ".", "removeResult", "(", "CPTaxCategoryModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPTaxCategoryImpl", ".", "class", ",", "cpTaxCategory", ".", "getPri...
Clears the cache for the cp tax category. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "cp", "tax", "category", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPTaxCategoryPersistenceImpl.java#L659-L666
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPTaxCategoryPersistenceImpl.java
CPTaxCategoryPersistenceImpl.findAll
@Override public List<CPTaxCategory> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CPTaxCategory> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CPTaxCategory", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the cp tax categories. @return the cp tax categories
[ "Returns", "all", "the", "cp", "tax", "categories", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPTaxCategoryPersistenceImpl.java#L1087-L1090
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountPersistenceImpl.java
CommerceAccountPersistenceImpl.cacheResult
@Override public void cacheResult(CommerceAccount commerceAccount) { entityCache.putResult(CommerceAccountModelImpl.ENTITY_CACHE_ENABLED, CommerceAccountImpl.class, commerceAccount.getPrimaryKey(), commerceAccount); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { commerceAccount.getCompanyId(), commerceAccount.getExternalReferenceCode() }, commerceAccount); commerceAccount.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceAccount commerceAccount) { entityCache.putResult(CommerceAccountModelImpl.ENTITY_CACHE_ENABLED, CommerceAccountImpl.class, commerceAccount.getPrimaryKey(), commerceAccount); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { commerceAccount.getCompanyId(), commerceAccount.getExternalReferenceCode() }, commerceAccount); commerceAccount.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceAccount", "commerceAccount", ")", "{", "entityCache", ".", "putResult", "(", "CommerceAccountModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceAccountImpl", ".", "class", ",", "commerceAccount", ".", ...
Caches the commerce account in the entity cache if it is enabled. @param commerceAccount the commerce account
[ "Caches", "the", "commerce", "account", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountPersistenceImpl.java#L2183-L2196
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountPersistenceImpl.java
CommerceAccountPersistenceImpl.cacheResult
@Override public void cacheResult(List<CommerceAccount> commerceAccounts) { for (CommerceAccount commerceAccount : commerceAccounts) { if (entityCache.getResult( CommerceAccountModelImpl.ENTITY_CACHE_ENABLED, CommerceAccountImpl.class, commerceAccount.getPrimaryKey()) == null) { cacheResult(commerceAccount); } else { commerceAccount.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CommerceAccount> commerceAccounts) { for (CommerceAccount commerceAccount : commerceAccounts) { if (entityCache.getResult( CommerceAccountModelImpl.ENTITY_CACHE_ENABLED, CommerceAccountImpl.class, commerceAccount.getPrimaryKey()) == null) { cacheResult(commerceAccount); } else { commerceAccount.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceAccount", ">", "commerceAccounts", ")", "{", "for", "(", "CommerceAccount", "commerceAccount", ":", "commerceAccounts", ")", "{", "if", "(", "entityCache", ".", "getResult", "(", "Comme...
Caches the commerce accounts in the entity cache if it is enabled. @param commerceAccounts the commerce accounts
[ "Caches", "the", "commerce", "accounts", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountPersistenceImpl.java#L2203-L2216
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountPersistenceImpl.java
CommerceAccountPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceAccountImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache() { entityCache.clearCache(CommerceAccountImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", ")", "{", "entityCache", ".", "clearCache", "(", "CommerceAccountImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache", "...
Clears the cache for all commerce accounts. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "accounts", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountPersistenceImpl.java#L2225-L2232
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountPersistenceImpl.java
CommerceAccountPersistenceImpl.clearCache
@Override public void clearCache(CommerceAccount commerceAccount) { entityCache.removeResult(CommerceAccountModelImpl.ENTITY_CACHE_ENABLED, CommerceAccountImpl.class, commerceAccount.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceAccountModelImpl)commerceAccount, true); }
java
@Override public void clearCache(CommerceAccount commerceAccount) { entityCache.removeResult(CommerceAccountModelImpl.ENTITY_CACHE_ENABLED, CommerceAccountImpl.class, commerceAccount.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceAccountModelImpl)commerceAccount, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceAccount", "commerceAccount", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceAccountModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceAccountImpl", ".", "class", ",", "commerceAccount", ".",...
Clears the cache for the commerce account. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "account", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountPersistenceImpl.java#L2241-L2250
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountPersistenceImpl.java
CommerceAccountPersistenceImpl.findAll
@Override public List<CommerceAccount> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceAccount> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceAccount", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce accounts. @return the commerce accounts
[ "Returns", "all", "the", "commerce", "accounts", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountPersistenceImpl.java#L2744-L2747
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountUserSegmentRelLocalServiceBaseImpl.java
CommerceDiscountUserSegmentRelLocalServiceBaseImpl.addCommerceDiscountUserSegmentRel
@Indexable(type = IndexableType.REINDEX) @Override public CommerceDiscountUserSegmentRel addCommerceDiscountUserSegmentRel( CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel) { commerceDiscountUserSegmentRel.setNew(true); return commerceDiscountUserSegmentRelPersistence.update(commerceDiscountUserSegmentRel); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CommerceDiscountUserSegmentRel addCommerceDiscountUserSegmentRel( CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel) { commerceDiscountUserSegmentRel.setNew(true); return commerceDiscountUserSegmentRelPersistence.update(commerceDiscountUserSegmentRel); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CommerceDiscountUserSegmentRel", "addCommerceDiscountUserSegmentRel", "(", "CommerceDiscountUserSegmentRel", "commerceDiscountUserSegmentRel", ")", "{", "commerceDiscountUserSe...
Adds the commerce discount user segment rel to the database. Also notifies the appropriate model listeners. @param commerceDiscountUserSegmentRel the commerce discount user segment rel @return the commerce discount user segment rel that was added
[ "Adds", "the", "commerce", "discount", "user", "segment", "rel", "to", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountUserSegmentRelLocalServiceBaseImpl.java#L88-L95
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPOptionValueLocalServiceBaseImpl.java
CPOptionValueLocalServiceBaseImpl.deleteCPOptionValue
@Indexable(type = IndexableType.DELETE) @Override public CPOptionValue deleteCPOptionValue(long CPOptionValueId) throws PortalException { return cpOptionValuePersistence.remove(CPOptionValueId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CPOptionValue deleteCPOptionValue(long CPOptionValueId) throws PortalException { return cpOptionValuePersistence.remove(CPOptionValueId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CPOptionValue", "deleteCPOptionValue", "(", "long", "CPOptionValueId", ")", "throws", "PortalException", "{", "return", "cpOptionValuePersistence", ".", "remove", "(...
Deletes the cp option value with the primary key from the database. Also notifies the appropriate model listeners. @param CPOptionValueId the primary key of the cp option value @return the cp option value that was removed @throws PortalException if a cp option value with the primary key could not be found
[ "Deletes", "the", "cp", "option", "value", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPOptionValueLocalServiceBaseImpl.java#L141-L146
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPOptionValueLocalServiceBaseImpl.java
CPOptionValueLocalServiceBaseImpl.getCPOptionValuesByUuidAndCompanyId
@Override public List<CPOptionValue> getCPOptionValuesByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CPOptionValue> orderByComparator) { return cpOptionValuePersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CPOptionValue> getCPOptionValuesByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CPOptionValue> orderByComparator) { return cpOptionValuePersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CPOptionValue", ">", "getCPOptionValuesByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CPOptionValue", ">", "orderByComparator", ...
Returns a range of cp option values matching the UUID and company. @param uuid the UUID of the cp option values @param companyId the primary key of the company @param start the lower bound of the range of cp option values @param end the upper bound of the range of cp option values (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching cp option values, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "cp", "option", "values", "matching", "the", "UUID", "and", "company", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPOptionValueLocalServiceBaseImpl.java#L416-L422
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPOptionWrapper.java
CPOptionWrapper.getDescription
@Override public String getDescription(String languageId, boolean useDefault) { return _cpOption.getDescription(languageId, useDefault); }
java
@Override public String getDescription(String languageId, boolean useDefault) { return _cpOption.getDescription(languageId, useDefault); }
[ "@", "Override", "public", "String", "getDescription", "(", "String", "languageId", ",", "boolean", "useDefault", ")", "{", "return", "_cpOption", ".", "getDescription", "(", "languageId", ",", "useDefault", ")", ";", "}" ]
Returns the localized description of this cp option in the language, optionally using the default language if no localization exists for the requested language. @param languageId the ID of the language @param useDefault whether to use the default language if no localization exists for the requested language @return the localized description of this cp option
[ "Returns", "the", "localized", "description", "of", "this", "cp", "option", "in", "the", "language", "optionally", "using", "the", "default", "language", "if", "no", "localization", "exists", "for", "the", "requested", "language", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPOptionWrapper.java#L306-L309
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPOptionWrapper.java
CPOptionWrapper.getName
@Override public String getName(String languageId, boolean useDefault) { return _cpOption.getName(languageId, useDefault); }
java
@Override public String getName(String languageId, boolean useDefault) { return _cpOption.getName(languageId, useDefault); }
[ "@", "Override", "public", "String", "getName", "(", "String", "languageId", ",", "boolean", "useDefault", ")", "{", "return", "_cpOption", ".", "getName", "(", "languageId", ",", "useDefault", ")", ";", "}" ]
Returns the localized name of this cp option in the language, optionally using the default language if no localization exists for the requested language. @param languageId the ID of the language @param useDefault whether to use the default language if no localization exists for the requested language @return the localized name of this cp option
[ "Returns", "the", "localized", "name", "of", "this", "cp", "option", "in", "the", "language", "optionally", "using", "the", "default", "language", "if", "no", "localization", "exists", "for", "the", "requested", "language", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPOptionWrapper.java#L447-L450
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPOptionWrapper.java
CPOptionWrapper.setDescriptionMap
@Override public void setDescriptionMap( Map<java.util.Locale, String> descriptionMap, java.util.Locale defaultLocale) { _cpOption.setDescriptionMap(descriptionMap, defaultLocale); }
java
@Override public void setDescriptionMap( Map<java.util.Locale, String> descriptionMap, java.util.Locale defaultLocale) { _cpOption.setDescriptionMap(descriptionMap, defaultLocale); }
[ "@", "Override", "public", "void", "setDescriptionMap", "(", "Map", "<", "java", ".", "util", ".", "Locale", ",", "String", ">", "descriptionMap", ",", "java", ".", "util", ".", "Locale", "defaultLocale", ")", "{", "_cpOption", ".", "setDescriptionMap", "(",...
Sets the localized descriptions of this cp option from the map of locales and localized descriptions, and sets the default locale. @param descriptionMap the locales and localized descriptions of this cp option @param defaultLocale the default locale
[ "Sets", "the", "localized", "descriptions", "of", "this", "cp", "option", "from", "the", "map", "of", "locales", "and", "localized", "descriptions", "and", "sets", "the", "default", "locale", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPOptionWrapper.java#L715-L720
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListUserSegmentEntryRelPersistenceImpl.java
CommercePriceListUserSegmentEntryRelPersistenceImpl.cacheResult
@Override public void cacheResult( CommercePriceListUserSegmentEntryRel commercePriceListUserSegmentEntryRel) { entityCache.putResult(CommercePriceListUserSegmentEntryRelModelImpl.ENTITY_CACHE_ENABLED, CommercePriceListUserSegmentEntryRelImpl.class, commercePriceListUserSegmentEntryRel.getPrimaryKey(), commercePriceListUserSegmentEntryRel); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { commercePriceListUserSegmentEntryRel.getUuid(), commercePriceListUserSegmentEntryRel.getGroupId() }, commercePriceListUserSegmentEntryRel); finderCache.putResult(FINDER_PATH_FETCH_BY_C_C, new Object[] { commercePriceListUserSegmentEntryRel.getCommercePriceListId(), commercePriceListUserSegmentEntryRel.getCommerceUserSegmentEntryId() }, commercePriceListUserSegmentEntryRel); commercePriceListUserSegmentEntryRel.resetOriginalValues(); }
java
@Override public void cacheResult( CommercePriceListUserSegmentEntryRel commercePriceListUserSegmentEntryRel) { entityCache.putResult(CommercePriceListUserSegmentEntryRelModelImpl.ENTITY_CACHE_ENABLED, CommercePriceListUserSegmentEntryRelImpl.class, commercePriceListUserSegmentEntryRel.getPrimaryKey(), commercePriceListUserSegmentEntryRel); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { commercePriceListUserSegmentEntryRel.getUuid(), commercePriceListUserSegmentEntryRel.getGroupId() }, commercePriceListUserSegmentEntryRel); finderCache.putResult(FINDER_PATH_FETCH_BY_C_C, new Object[] { commercePriceListUserSegmentEntryRel.getCommercePriceListId(), commercePriceListUserSegmentEntryRel.getCommerceUserSegmentEntryId() }, commercePriceListUserSegmentEntryRel); commercePriceListUserSegmentEntryRel.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommercePriceListUserSegmentEntryRel", "commercePriceListUserSegmentEntryRel", ")", "{", "entityCache", ".", "putResult", "(", "CommercePriceListUserSegmentEntryRelModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommercePrice...
Caches the commerce price list user segment entry rel in the entity cache if it is enabled. @param commercePriceListUserSegmentEntryRel the commerce price list user segment entry rel
[ "Caches", "the", "commerce", "price", "list", "user", "segment", "entry", "rel", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListUserSegmentEntryRelPersistenceImpl.java#L2315-L2336
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListUserSegmentEntryRelPersistenceImpl.java
CommercePriceListUserSegmentEntryRelPersistenceImpl.cacheResult
@Override public void cacheResult( List<CommercePriceListUserSegmentEntryRel> commercePriceListUserSegmentEntryRels) { for (CommercePriceListUserSegmentEntryRel commercePriceListUserSegmentEntryRel : commercePriceListUserSegmentEntryRels) { if (entityCache.getResult( CommercePriceListUserSegmentEntryRelModelImpl.ENTITY_CACHE_ENABLED, CommercePriceListUserSegmentEntryRelImpl.class, commercePriceListUserSegmentEntryRel.getPrimaryKey()) == null) { cacheResult(commercePriceListUserSegmentEntryRel); } else { commercePriceListUserSegmentEntryRel.resetOriginalValues(); } } }
java
@Override public void cacheResult( List<CommercePriceListUserSegmentEntryRel> commercePriceListUserSegmentEntryRels) { for (CommercePriceListUserSegmentEntryRel commercePriceListUserSegmentEntryRel : commercePriceListUserSegmentEntryRels) { if (entityCache.getResult( CommercePriceListUserSegmentEntryRelModelImpl.ENTITY_CACHE_ENABLED, CommercePriceListUserSegmentEntryRelImpl.class, commercePriceListUserSegmentEntryRel.getPrimaryKey()) == null) { cacheResult(commercePriceListUserSegmentEntryRel); } else { commercePriceListUserSegmentEntryRel.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommercePriceListUserSegmentEntryRel", ">", "commercePriceListUserSegmentEntryRels", ")", "{", "for", "(", "CommercePriceListUserSegmentEntryRel", "commercePriceListUserSegmentEntryRel", ":", "commercePriceListU...
Caches the commerce price list user segment entry rels in the entity cache if it is enabled. @param commercePriceListUserSegmentEntryRels the commerce price list user segment entry rels
[ "Caches", "the", "commerce", "price", "list", "user", "segment", "entry", "rels", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListUserSegmentEntryRelPersistenceImpl.java#L2343-L2357
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListUserSegmentEntryRelPersistenceImpl.java
CommercePriceListUserSegmentEntryRelPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommercePriceListUserSegmentEntryRelImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache() { entityCache.clearCache(CommercePriceListUserSegmentEntryRelImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", ")", "{", "entityCache", ".", "clearCache", "(", "CommercePriceListUserSegmentEntryRelImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", "."...
Clears the cache for all commerce price list user segment entry rels. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "price", "list", "user", "segment", "entry", "rels", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListUserSegmentEntryRelPersistenceImpl.java#L2366-L2373
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListUserSegmentEntryRelPersistenceImpl.java
CommercePriceListUserSegmentEntryRelPersistenceImpl.clearCache
@Override public void clearCache( CommercePriceListUserSegmentEntryRel commercePriceListUserSegmentEntryRel) { entityCache.removeResult(CommercePriceListUserSegmentEntryRelModelImpl.ENTITY_CACHE_ENABLED, CommercePriceListUserSegmentEntryRelImpl.class, commercePriceListUserSegmentEntryRel.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommercePriceListUserSegmentEntryRelModelImpl)commercePriceListUserSegmentEntryRel, true); }
java
@Override public void clearCache( CommercePriceListUserSegmentEntryRel commercePriceListUserSegmentEntryRel) { entityCache.removeResult(CommercePriceListUserSegmentEntryRelModelImpl.ENTITY_CACHE_ENABLED, CommercePriceListUserSegmentEntryRelImpl.class, commercePriceListUserSegmentEntryRel.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommercePriceListUserSegmentEntryRelModelImpl)commercePriceListUserSegmentEntryRel, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommercePriceListUserSegmentEntryRel", "commercePriceListUserSegmentEntryRel", ")", "{", "entityCache", ".", "removeResult", "(", "CommercePriceListUserSegmentEntryRelModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommercePri...
Clears the cache for the commerce price list user segment entry rel. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "price", "list", "user", "segment", "entry", "rel", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListUserSegmentEntryRelPersistenceImpl.java#L2382-L2394
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListUserSegmentEntryRelPersistenceImpl.java
CommercePriceListUserSegmentEntryRelPersistenceImpl.findAll
@Override public List<CommercePriceListUserSegmentEntryRel> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommercePriceListUserSegmentEntryRel> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommercePriceListUserSegmentEntryRel", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce price list user segment entry rels. @return the commerce price list user segment entry rels
[ "Returns", "all", "the", "commerce", "price", "list", "user", "segment", "entry", "rels", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommercePriceListUserSegmentEntryRelPersistenceImpl.java#L2989-L2992
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelLocalServiceBaseImpl.java
CommercePriceListAccountRelLocalServiceBaseImpl.deleteCommercePriceListAccountRel
@Indexable(type = IndexableType.DELETE) @Override public CommercePriceListAccountRel deleteCommercePriceListAccountRel( long commercePriceListAccountRelId) throws PortalException { return commercePriceListAccountRelPersistence.remove(commercePriceListAccountRelId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommercePriceListAccountRel deleteCommercePriceListAccountRel( long commercePriceListAccountRelId) throws PortalException { return commercePriceListAccountRelPersistence.remove(commercePriceListAccountRelId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommercePriceListAccountRel", "deleteCommercePriceListAccountRel", "(", "long", "commercePriceListAccountRelId", ")", "throws", "PortalException", "{", "return", "commerce...
Deletes the commerce price list account rel with the primary key from the database. Also notifies the appropriate model listeners. @param commercePriceListAccountRelId the primary key of the commerce price list account rel @return the commerce price list account rel that was removed @throws PortalException if a commerce price list account rel with the primary key could not be found
[ "Deletes", "the", "commerce", "price", "list", "account", "rel", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelLocalServiceBaseImpl.java#L126-L131
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelLocalServiceBaseImpl.java
CommercePriceListAccountRelLocalServiceBaseImpl.getCommercePriceListAccountRelsByUuidAndCompanyId
@Override public List<CommercePriceListAccountRel> getCommercePriceListAccountRelsByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommercePriceListAccountRel> orderByComparator) { return commercePriceListAccountRelPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CommercePriceListAccountRel> getCommercePriceListAccountRelsByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommercePriceListAccountRel> orderByComparator) { return commercePriceListAccountRelPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CommercePriceListAccountRel", ">", "getCommercePriceListAccountRelsByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CommercePriceListAcc...
Returns a range of commerce price list account rels matching the UUID and company. @param uuid the UUID of the commerce price list account rels @param companyId the primary key of the company @param start the lower bound of the range of commerce price list account rels @param end the upper bound of the range of commerce price list account rels (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching commerce price list account rels, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "commerce", "price", "list", "account", "rels", "matching", "the", "UUID", "and", "company", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelLocalServiceBaseImpl.java#L396-L402
train
liferay/com-liferay-commerce
commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/persistence/impl/CommercePaymentMethodGroupRelPersistenceImpl.java
CommercePaymentMethodGroupRelPersistenceImpl.cacheResult
@Override public void cacheResult( CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) { entityCache.putResult(CommercePaymentMethodGroupRelModelImpl.ENTITY_CACHE_ENABLED, CommercePaymentMethodGroupRelImpl.class, commercePaymentMethodGroupRel.getPrimaryKey(), commercePaymentMethodGroupRel); finderCache.putResult(FINDER_PATH_FETCH_BY_G_E, new Object[] { commercePaymentMethodGroupRel.getGroupId(), commercePaymentMethodGroupRel.getEngineKey() }, commercePaymentMethodGroupRel); commercePaymentMethodGroupRel.resetOriginalValues(); }
java
@Override public void cacheResult( CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) { entityCache.putResult(CommercePaymentMethodGroupRelModelImpl.ENTITY_CACHE_ENABLED, CommercePaymentMethodGroupRelImpl.class, commercePaymentMethodGroupRel.getPrimaryKey(), commercePaymentMethodGroupRel); finderCache.putResult(FINDER_PATH_FETCH_BY_G_E, new Object[] { commercePaymentMethodGroupRel.getGroupId(), commercePaymentMethodGroupRel.getEngineKey() }, commercePaymentMethodGroupRel); commercePaymentMethodGroupRel.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommercePaymentMethodGroupRel", "commercePaymentMethodGroupRel", ")", "{", "entityCache", ".", "putResult", "(", "CommercePaymentMethodGroupRelModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommercePaymentMethodGroupRelImpl"...
Caches the commerce payment method group rel in the entity cache if it is enabled. @param commercePaymentMethodGroupRel the commerce payment method group rel
[ "Caches", "the", "commerce", "payment", "method", "group", "rel", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/persistence/impl/CommercePaymentMethodGroupRelPersistenceImpl.java#L1453-L1468
train
liferay/com-liferay-commerce
commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/persistence/impl/CommercePaymentMethodGroupRelPersistenceImpl.java
CommercePaymentMethodGroupRelPersistenceImpl.cacheResult
@Override public void cacheResult( List<CommercePaymentMethodGroupRel> commercePaymentMethodGroupRels) { for (CommercePaymentMethodGroupRel commercePaymentMethodGroupRel : commercePaymentMethodGroupRels) { if (entityCache.getResult( CommercePaymentMethodGroupRelModelImpl.ENTITY_CACHE_ENABLED, CommercePaymentMethodGroupRelImpl.class, commercePaymentMethodGroupRel.getPrimaryKey()) == null) { cacheResult(commercePaymentMethodGroupRel); } else { commercePaymentMethodGroupRel.resetOriginalValues(); } } }
java
@Override public void cacheResult( List<CommercePaymentMethodGroupRel> commercePaymentMethodGroupRels) { for (CommercePaymentMethodGroupRel commercePaymentMethodGroupRel : commercePaymentMethodGroupRels) { if (entityCache.getResult( CommercePaymentMethodGroupRelModelImpl.ENTITY_CACHE_ENABLED, CommercePaymentMethodGroupRelImpl.class, commercePaymentMethodGroupRel.getPrimaryKey()) == null) { cacheResult(commercePaymentMethodGroupRel); } else { commercePaymentMethodGroupRel.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommercePaymentMethodGroupRel", ">", "commercePaymentMethodGroupRels", ")", "{", "for", "(", "CommercePaymentMethodGroupRel", "commercePaymentMethodGroupRel", ":", "commercePaymentMethodGroupRels", ")", "{",...
Caches the commerce payment method group rels in the entity cache if it is enabled. @param commercePaymentMethodGroupRels the commerce payment method group rels
[ "Caches", "the", "commerce", "payment", "method", "group", "rels", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/persistence/impl/CommercePaymentMethodGroupRelPersistenceImpl.java#L1475-L1489
train
liferay/com-liferay-commerce
commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/persistence/impl/CommercePaymentMethodGroupRelPersistenceImpl.java
CommercePaymentMethodGroupRelPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommercePaymentMethodGroupRelImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache() { entityCache.clearCache(CommercePaymentMethodGroupRelImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", ")", "{", "entityCache", ".", "clearCache", "(", "CommercePaymentMethodGroupRelImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "cl...
Clears the cache for all commerce payment method group rels. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "payment", "method", "group", "rels", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/persistence/impl/CommercePaymentMethodGroupRelPersistenceImpl.java#L1498-L1505
train
liferay/com-liferay-commerce
commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/persistence/impl/CommercePaymentMethodGroupRelPersistenceImpl.java
CommercePaymentMethodGroupRelPersistenceImpl.clearCache
@Override public void clearCache( CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) { entityCache.removeResult(CommercePaymentMethodGroupRelModelImpl.ENTITY_CACHE_ENABLED, CommercePaymentMethodGroupRelImpl.class, commercePaymentMethodGroupRel.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommercePaymentMethodGroupRelModelImpl)commercePaymentMethodGroupRel, true); }
java
@Override public void clearCache( CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) { entityCache.removeResult(CommercePaymentMethodGroupRelModelImpl.ENTITY_CACHE_ENABLED, CommercePaymentMethodGroupRelImpl.class, commercePaymentMethodGroupRel.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommercePaymentMethodGroupRelModelImpl)commercePaymentMethodGroupRel, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommercePaymentMethodGroupRel", "commercePaymentMethodGroupRel", ")", "{", "entityCache", ".", "removeResult", "(", "CommercePaymentMethodGroupRelModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommercePaymentMethodGroupRelImp...
Clears the cache for the commerce payment method group rel. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "payment", "method", "group", "rel", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/persistence/impl/CommercePaymentMethodGroupRelPersistenceImpl.java#L1514-L1526
train
liferay/com-liferay-commerce
commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/persistence/impl/CommercePaymentMethodGroupRelPersistenceImpl.java
CommercePaymentMethodGroupRelPersistenceImpl.remove
@Override public CommercePaymentMethodGroupRel remove(Serializable primaryKey) throws NoSuchPaymentMethodGroupRelException { Session session = null; try { session = openSession(); CommercePaymentMethodGroupRel commercePaymentMethodGroupRel = (CommercePaymentMethodGroupRel)session.get(CommercePaymentMethodGroupRelImpl.class, primaryKey); if (commercePaymentMethodGroupRel == null) { if (_log.isDebugEnabled()) { _log.debug(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } throw new NoSuchPaymentMethodGroupRelException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } return remove(commercePaymentMethodGroupRel); } catch (NoSuchPaymentMethodGroupRelException nsee) { throw nsee; } catch (Exception e) { throw processException(e); } finally { closeSession(session); } }
java
@Override public CommercePaymentMethodGroupRel remove(Serializable primaryKey) throws NoSuchPaymentMethodGroupRelException { Session session = null; try { session = openSession(); CommercePaymentMethodGroupRel commercePaymentMethodGroupRel = (CommercePaymentMethodGroupRel)session.get(CommercePaymentMethodGroupRelImpl.class, primaryKey); if (commercePaymentMethodGroupRel == null) { if (_log.isDebugEnabled()) { _log.debug(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } throw new NoSuchPaymentMethodGroupRelException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } return remove(commercePaymentMethodGroupRel); } catch (NoSuchPaymentMethodGroupRelException nsee) { throw nsee; } catch (Exception e) { throw processException(e); } finally { closeSession(session); } }
[ "@", "Override", "public", "CommercePaymentMethodGroupRel", "remove", "(", "Serializable", "primaryKey", ")", "throws", "NoSuchPaymentMethodGroupRelException", "{", "Session", "session", "=", "null", ";", "try", "{", "session", "=", "openSession", "(", ")", ";", "Co...
Removes the commerce payment method group rel with the primary key from the database. Also notifies the appropriate model listeners. @param primaryKey the primary key of the commerce payment method group rel @return the commerce payment method group rel that was removed @throws NoSuchPaymentMethodGroupRelException if a commerce payment method group rel with the primary key could not be found
[ "Removes", "the", "commerce", "payment", "method", "group", "rel", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/persistence/impl/CommercePaymentMethodGroupRelPersistenceImpl.java#L1622-L1653
train
liferay/com-liferay-commerce
commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/persistence/impl/CommercePaymentMethodGroupRelPersistenceImpl.java
CommercePaymentMethodGroupRelPersistenceImpl.findAll
@Override public List<CommercePaymentMethodGroupRel> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommercePaymentMethodGroupRel> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommercePaymentMethodGroupRel", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce payment method group rels. @return the commerce payment method group rels
[ "Returns", "all", "the", "commerce", "payment", "method", "group", "rels", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/persistence/impl/CommercePaymentMethodGroupRelPersistenceImpl.java#L2041-L2044
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListLocalServiceBaseImpl.java
CommercePriceListLocalServiceBaseImpl.deleteCommercePriceList
@Indexable(type = IndexableType.DELETE) @Override public CommercePriceList deleteCommercePriceList(long commercePriceListId) throws PortalException { return commercePriceListPersistence.remove(commercePriceListId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommercePriceList deleteCommercePriceList(long commercePriceListId) throws PortalException { return commercePriceListPersistence.remove(commercePriceListId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommercePriceList", "deleteCommercePriceList", "(", "long", "commercePriceListId", ")", "throws", "PortalException", "{", "return", "commercePriceListPersistence", ".", ...
Deletes the commerce price list with the primary key from the database. Also notifies the appropriate model listeners. @param commercePriceListId the primary key of the commerce price list @return the commerce price list that was removed @throws PortalException if a commerce price list with the primary key could not be found
[ "Deletes", "the", "commerce", "price", "list", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListLocalServiceBaseImpl.java#L136-L141
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListLocalServiceBaseImpl.java
CommercePriceListLocalServiceBaseImpl.fetchCommercePriceListByReferenceCode
@Override public CommercePriceList fetchCommercePriceListByReferenceCode( long companyId, String externalReferenceCode) { return commercePriceListPersistence.fetchByC_ERC(companyId, null); }
java
@Override public CommercePriceList fetchCommercePriceListByReferenceCode( long companyId, String externalReferenceCode) { return commercePriceListPersistence.fetchByC_ERC(companyId, null); }
[ "@", "Override", "public", "CommercePriceList", "fetchCommercePriceListByReferenceCode", "(", "long", "companyId", ",", "String", "externalReferenceCode", ")", "{", "return", "commercePriceListPersistence", ".", "fetchByC_ERC", "(", "companyId", ",", "null", ")", ";", "...
Returns the commerce price list with the matching external reference code and company. @param companyId the primary key of the company @param externalReferenceCode the commerce price list's external reference code @return the matching commerce price list, or <code>null</code> if a matching commerce price list could not be found
[ "Returns", "the", "commerce", "price", "list", "with", "the", "matching", "external", "reference", "code", "and", "company", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListLocalServiceBaseImpl.java#L265-L269
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListLocalServiceBaseImpl.java
CommercePriceListLocalServiceBaseImpl.getCommercePriceListsByUuidAndCompanyId
@Override public List<CommercePriceList> getCommercePriceListsByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommercePriceList> orderByComparator) { return commercePriceListPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CommercePriceList> getCommercePriceListsByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommercePriceList> orderByComparator) { return commercePriceListPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CommercePriceList", ">", "getCommercePriceListsByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CommercePriceList", ">", "orderByCom...
Returns a range of commerce price lists matching the UUID and company. @param uuid the UUID of the commerce price lists @param companyId the primary key of the company @param start the lower bound of the range of commerce price lists @param end the upper bound of the range of commerce price lists (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching commerce price lists, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "commerce", "price", "lists", "matching", "the", "UUID", "and", "company", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListLocalServiceBaseImpl.java#L458-L464
train
liferay/com-liferay-commerce
commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/persistence/impl/CommerceVirtualOrderItemPersistenceImpl.java
CommerceVirtualOrderItemPersistenceImpl.cacheResult
@Override public void cacheResult(CommerceVirtualOrderItem commerceVirtualOrderItem) { entityCache.putResult(CommerceVirtualOrderItemModelImpl.ENTITY_CACHE_ENABLED, CommerceVirtualOrderItemImpl.class, commerceVirtualOrderItem.getPrimaryKey(), commerceVirtualOrderItem); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { commerceVirtualOrderItem.getUuid(), commerceVirtualOrderItem.getGroupId() }, commerceVirtualOrderItem); finderCache.putResult(FINDER_PATH_FETCH_BY_COMMERCEORDERITEMID, new Object[] { commerceVirtualOrderItem.getCommerceOrderItemId() }, commerceVirtualOrderItem); commerceVirtualOrderItem.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceVirtualOrderItem commerceVirtualOrderItem) { entityCache.putResult(CommerceVirtualOrderItemModelImpl.ENTITY_CACHE_ENABLED, CommerceVirtualOrderItemImpl.class, commerceVirtualOrderItem.getPrimaryKey(), commerceVirtualOrderItem); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { commerceVirtualOrderItem.getUuid(), commerceVirtualOrderItem.getGroupId() }, commerceVirtualOrderItem); finderCache.putResult(FINDER_PATH_FETCH_BY_COMMERCEORDERITEMID, new Object[] { commerceVirtualOrderItem.getCommerceOrderItemId() }, commerceVirtualOrderItem); commerceVirtualOrderItem.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceVirtualOrderItem", "commerceVirtualOrderItem", ")", "{", "entityCache", ".", "putResult", "(", "CommerceVirtualOrderItemModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceVirtualOrderItemImpl", ".", "class", ...
Caches the commerce virtual order item in the entity cache if it is enabled. @param commerceVirtualOrderItem the commerce virtual order item
[ "Caches", "the", "commerce", "virtual", "order", "item", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/persistence/impl/CommerceVirtualOrderItemPersistenceImpl.java#L1731-L1748
train
liferay/com-liferay-commerce
commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/persistence/impl/CommerceVirtualOrderItemPersistenceImpl.java
CommerceVirtualOrderItemPersistenceImpl.cacheResult
@Override public void cacheResult( List<CommerceVirtualOrderItem> commerceVirtualOrderItems) { for (CommerceVirtualOrderItem commerceVirtualOrderItem : commerceVirtualOrderItems) { if (entityCache.getResult( CommerceVirtualOrderItemModelImpl.ENTITY_CACHE_ENABLED, CommerceVirtualOrderItemImpl.class, commerceVirtualOrderItem.getPrimaryKey()) == null) { cacheResult(commerceVirtualOrderItem); } else { commerceVirtualOrderItem.resetOriginalValues(); } } }
java
@Override public void cacheResult( List<CommerceVirtualOrderItem> commerceVirtualOrderItems) { for (CommerceVirtualOrderItem commerceVirtualOrderItem : commerceVirtualOrderItems) { if (entityCache.getResult( CommerceVirtualOrderItemModelImpl.ENTITY_CACHE_ENABLED, CommerceVirtualOrderItemImpl.class, commerceVirtualOrderItem.getPrimaryKey()) == null) { cacheResult(commerceVirtualOrderItem); } else { commerceVirtualOrderItem.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceVirtualOrderItem", ">", "commerceVirtualOrderItems", ")", "{", "for", "(", "CommerceVirtualOrderItem", "commerceVirtualOrderItem", ":", "commerceVirtualOrderItems", ")", "{", "if", "(", "entity...
Caches the commerce virtual order items in the entity cache if it is enabled. @param commerceVirtualOrderItems the commerce virtual order items
[ "Caches", "the", "commerce", "virtual", "order", "items", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/persistence/impl/CommerceVirtualOrderItemPersistenceImpl.java#L1755-L1769
train
liferay/com-liferay-commerce
commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/persistence/impl/CommerceVirtualOrderItemPersistenceImpl.java
CommerceVirtualOrderItemPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceVirtualOrderItemImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache() { entityCache.clearCache(CommerceVirtualOrderItemImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", ")", "{", "entityCache", ".", "clearCache", "(", "CommerceVirtualOrderItemImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCa...
Clears the cache for all commerce virtual order items. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "virtual", "order", "items", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/persistence/impl/CommerceVirtualOrderItemPersistenceImpl.java#L1778-L1785
train
liferay/com-liferay-commerce
commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/persistence/impl/CommerceVirtualOrderItemPersistenceImpl.java
CommerceVirtualOrderItemPersistenceImpl.clearCache
@Override public void clearCache(CommerceVirtualOrderItem commerceVirtualOrderItem) { entityCache.removeResult(CommerceVirtualOrderItemModelImpl.ENTITY_CACHE_ENABLED, CommerceVirtualOrderItemImpl.class, commerceVirtualOrderItem.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceVirtualOrderItemModelImpl)commerceVirtualOrderItem, true); }
java
@Override public void clearCache(CommerceVirtualOrderItem commerceVirtualOrderItem) { entityCache.removeResult(CommerceVirtualOrderItemModelImpl.ENTITY_CACHE_ENABLED, CommerceVirtualOrderItemImpl.class, commerceVirtualOrderItem.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceVirtualOrderItemModelImpl)commerceVirtualOrderItem, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceVirtualOrderItem", "commerceVirtualOrderItem", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceVirtualOrderItemModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceVirtualOrderItemImpl", ".", "class"...
Clears the cache for the commerce virtual order item. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "virtual", "order", "item", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/persistence/impl/CommerceVirtualOrderItemPersistenceImpl.java#L1794-L1805
train
liferay/com-liferay-commerce
commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/persistence/impl/CommerceVirtualOrderItemPersistenceImpl.java
CommerceVirtualOrderItemPersistenceImpl.remove
@Override public CommerceVirtualOrderItem remove(Serializable primaryKey) throws NoSuchVirtualOrderItemException { Session session = null; try { session = openSession(); CommerceVirtualOrderItem commerceVirtualOrderItem = (CommerceVirtualOrderItem)session.get(CommerceVirtualOrderItemImpl.class, primaryKey); if (commerceVirtualOrderItem == null) { if (_log.isDebugEnabled()) { _log.debug(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } throw new NoSuchVirtualOrderItemException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } return remove(commerceVirtualOrderItem); } catch (NoSuchVirtualOrderItemException nsee) { throw nsee; } catch (Exception e) { throw processException(e); } finally { closeSession(session); } }
java
@Override public CommerceVirtualOrderItem remove(Serializable primaryKey) throws NoSuchVirtualOrderItemException { Session session = null; try { session = openSession(); CommerceVirtualOrderItem commerceVirtualOrderItem = (CommerceVirtualOrderItem)session.get(CommerceVirtualOrderItemImpl.class, primaryKey); if (commerceVirtualOrderItem == null) { if (_log.isDebugEnabled()) { _log.debug(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } throw new NoSuchVirtualOrderItemException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } return remove(commerceVirtualOrderItem); } catch (NoSuchVirtualOrderItemException nsee) { throw nsee; } catch (Exception e) { throw processException(e); } finally { closeSession(session); } }
[ "@", "Override", "public", "CommerceVirtualOrderItem", "remove", "(", "Serializable", "primaryKey", ")", "throws", "NoSuchVirtualOrderItemException", "{", "Session", "session", "=", "null", ";", "try", "{", "session", "=", "openSession", "(", ")", ";", "CommerceVirt...
Removes the commerce virtual order item with the primary key from the database. Also notifies the appropriate model listeners. @param primaryKey the primary key of the commerce virtual order item @return the commerce virtual order item that was removed @throws NoSuchVirtualOrderItemException if a commerce virtual order item with the primary key could not be found
[ "Removes", "the", "commerce", "virtual", "order", "item", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/persistence/impl/CommerceVirtualOrderItemPersistenceImpl.java#L1935-L1966
train
liferay/com-liferay-commerce
commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/persistence/impl/CommerceVirtualOrderItemPersistenceImpl.java
CommerceVirtualOrderItemPersistenceImpl.findAll
@Override public List<CommerceVirtualOrderItem> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceVirtualOrderItem> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceVirtualOrderItem", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce virtual order items. @return the commerce virtual order items
[ "Returns", "all", "the", "commerce", "virtual", "order", "items", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/persistence/impl/CommerceVirtualOrderItemPersistenceImpl.java#L2353-L2356
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPAttachmentFileEntryLocalServiceBaseImpl.java
CPAttachmentFileEntryLocalServiceBaseImpl.deleteCPAttachmentFileEntry
@Indexable(type = IndexableType.DELETE) @Override public CPAttachmentFileEntry deleteCPAttachmentFileEntry( long CPAttachmentFileEntryId) throws PortalException { return cpAttachmentFileEntryPersistence.remove(CPAttachmentFileEntryId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CPAttachmentFileEntry deleteCPAttachmentFileEntry( long CPAttachmentFileEntryId) throws PortalException { return cpAttachmentFileEntryPersistence.remove(CPAttachmentFileEntryId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CPAttachmentFileEntry", "deleteCPAttachmentFileEntry", "(", "long", "CPAttachmentFileEntryId", ")", "throws", "PortalException", "{", "return", "cpAttachmentFileEntryPersi...
Deletes the cp attachment file entry with the primary key from the database. Also notifies the appropriate model listeners. @param CPAttachmentFileEntryId the primary key of the cp attachment file entry @return the cp attachment file entry that was removed @throws PortalException if a cp attachment file entry with the primary key could not be found
[ "Deletes", "the", "cp", "attachment", "file", "entry", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPAttachmentFileEntryLocalServiceBaseImpl.java#L154-L159
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPAttachmentFileEntryLocalServiceBaseImpl.java
CPAttachmentFileEntryLocalServiceBaseImpl.fetchCPAttachmentFileEntryByReferenceCode
@Override public CPAttachmentFileEntry fetchCPAttachmentFileEntryByReferenceCode( long companyId, String externalReferenceCode) { return cpAttachmentFileEntryPersistence.fetchByC_ERC(companyId, null); }
java
@Override public CPAttachmentFileEntry fetchCPAttachmentFileEntryByReferenceCode( long companyId, String externalReferenceCode) { return cpAttachmentFileEntryPersistence.fetchByC_ERC(companyId, null); }
[ "@", "Override", "public", "CPAttachmentFileEntry", "fetchCPAttachmentFileEntryByReferenceCode", "(", "long", "companyId", ",", "String", "externalReferenceCode", ")", "{", "return", "cpAttachmentFileEntryPersistence", ".", "fetchByC_ERC", "(", "companyId", ",", "null", ")"...
Returns the cp attachment file entry with the matching external reference code and company. @param companyId the primary key of the company @param externalReferenceCode the cp attachment file entry's external reference code @return the matching cp attachment file entry, or <code>null</code> if a matching cp attachment file entry could not be found
[ "Returns", "the", "cp", "attachment", "file", "entry", "with", "the", "matching", "external", "reference", "code", "and", "company", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPAttachmentFileEntryLocalServiceBaseImpl.java#L284-L288
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPAttachmentFileEntryLocalServiceBaseImpl.java
CPAttachmentFileEntryLocalServiceBaseImpl.getCPAttachmentFileEntriesByUuidAndCompanyId
@Override public List<CPAttachmentFileEntry> getCPAttachmentFileEntriesByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CPAttachmentFileEntry> orderByComparator) { return cpAttachmentFileEntryPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CPAttachmentFileEntry> getCPAttachmentFileEntriesByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CPAttachmentFileEntry> orderByComparator) { return cpAttachmentFileEntryPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CPAttachmentFileEntry", ">", "getCPAttachmentFileEntriesByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CPAttachmentFileEntry", ">", ...
Returns a range of cp attachment file entries matching the UUID and company. @param uuid the UUID of the cp attachment file entries @param companyId the primary key of the company @param start the lower bound of the range of cp attachment file entries @param end the upper bound of the range of cp attachment file entries (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching cp attachment file entries, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "cp", "attachment", "file", "entries", "matching", "the", "UUID", "and", "company", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPAttachmentFileEntryLocalServiceBaseImpl.java#L497-L503
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPAttachmentFileEntryLocalServiceBaseImpl.java
CPAttachmentFileEntryLocalServiceBaseImpl.updateCPAttachmentFileEntry
@Indexable(type = IndexableType.REINDEX) @Override public CPAttachmentFileEntry updateCPAttachmentFileEntry( CPAttachmentFileEntry cpAttachmentFileEntry) { return cpAttachmentFileEntryPersistence.update(cpAttachmentFileEntry); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CPAttachmentFileEntry updateCPAttachmentFileEntry( CPAttachmentFileEntry cpAttachmentFileEntry) { return cpAttachmentFileEntryPersistence.update(cpAttachmentFileEntry); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CPAttachmentFileEntry", "updateCPAttachmentFileEntry", "(", "CPAttachmentFileEntry", "cpAttachmentFileEntry", ")", "{", "return", "cpAttachmentFileEntryPersistence", ".", ...
Updates the cp attachment file entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. @param cpAttachmentFileEntry the cp attachment file entry @return the cp attachment file entry that was updated
[ "Updates", "the", "cp", "attachment", "file", "entry", "in", "the", "database", "or", "adds", "it", "if", "it", "does", "not", "yet", "exist", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPAttachmentFileEntryLocalServiceBaseImpl.java#L552-L557
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPAttachmentFileEntryLocalServiceBaseImpl.java
CPAttachmentFileEntryLocalServiceBaseImpl.setDLFileEntryLocalService
public void setDLFileEntryLocalService( com.liferay.document.library.kernel.service.DLFileEntryLocalService dlFileEntryLocalService) { this.dlFileEntryLocalService = dlFileEntryLocalService; }
java
public void setDLFileEntryLocalService( com.liferay.document.library.kernel.service.DLFileEntryLocalService dlFileEntryLocalService) { this.dlFileEntryLocalService = dlFileEntryLocalService; }
[ "public", "void", "setDLFileEntryLocalService", "(", "com", ".", "liferay", ".", "document", ".", "library", ".", "kernel", ".", "service", ".", "DLFileEntryLocalService", "dlFileEntryLocalService", ")", "{", "this", ".", "dlFileEntryLocalService", "=", "dlFileEntryLo...
Sets the document library file entry local service. @param dlFileEntryLocalService the document library file entry local service
[ "Sets", "the", "document", "library", "file", "entry", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPAttachmentFileEntryLocalServiceBaseImpl.java#L1498-L1501
train
liferay/com-liferay-commerce
commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationTemplateLocalServiceBaseImpl.java
CommerceNotificationTemplateLocalServiceBaseImpl.addCommerceNotificationTemplate
@Indexable(type = IndexableType.REINDEX) @Override public CommerceNotificationTemplate addCommerceNotificationTemplate( CommerceNotificationTemplate commerceNotificationTemplate) { commerceNotificationTemplate.setNew(true); return commerceNotificationTemplatePersistence.update(commerceNotificationTemplate); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CommerceNotificationTemplate addCommerceNotificationTemplate( CommerceNotificationTemplate commerceNotificationTemplate) { commerceNotificationTemplate.setNew(true); return commerceNotificationTemplatePersistence.update(commerceNotificationTemplate); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CommerceNotificationTemplate", "addCommerceNotificationTemplate", "(", "CommerceNotificationTemplate", "commerceNotificationTemplate", ")", "{", "commerceNotificationTemplate",...
Adds the commerce notification template to the database. Also notifies the appropriate model listeners. @param commerceNotificationTemplate the commerce notification template @return the commerce notification template that was added
[ "Adds", "the", "commerce", "notification", "template", "to", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationTemplateLocalServiceBaseImpl.java#L96-L103
train
liferay/com-liferay-commerce
commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationTemplateLocalServiceBaseImpl.java
CommerceNotificationTemplateLocalServiceBaseImpl.getCommerceNotificationTemplatesByUuidAndCompanyId
@Override public List<CommerceNotificationTemplate> getCommerceNotificationTemplatesByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommerceNotificationTemplate> orderByComparator) { return commerceNotificationTemplatePersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CommerceNotificationTemplate> getCommerceNotificationTemplatesByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommerceNotificationTemplate> orderByComparator) { return commerceNotificationTemplatePersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CommerceNotificationTemplate", ">", "getCommerceNotificationTemplatesByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CommerceNotificati...
Returns a range of commerce notification templates matching the UUID and company. @param uuid the UUID of the commerce notification templates @param companyId the primary key of the company @param start the lower bound of the range of commerce notification templates @param end the upper bound of the range of commerce notification templates (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching commerce notification templates, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "commerce", "notification", "templates", "matching", "the", "UUID", "and", "company", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationTemplateLocalServiceBaseImpl.java#L393-L399
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentPersistenceImpl.java
CommerceShipmentPersistenceImpl.cacheResult
@Override public void cacheResult(CommerceShipment commerceShipment) { entityCache.putResult(CommerceShipmentModelImpl.ENTITY_CACHE_ENABLED, CommerceShipmentImpl.class, commerceShipment.getPrimaryKey(), commerceShipment); commerceShipment.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceShipment commerceShipment) { entityCache.putResult(CommerceShipmentModelImpl.ENTITY_CACHE_ENABLED, CommerceShipmentImpl.class, commerceShipment.getPrimaryKey(), commerceShipment); commerceShipment.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceShipment", "commerceShipment", ")", "{", "entityCache", ".", "putResult", "(", "CommerceShipmentModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceShipmentImpl", ".", "class", ",", "commerceShipment", "...
Caches the commerce shipment in the entity cache if it is enabled. @param commerceShipment the commerce shipment
[ "Caches", "the", "commerce", "shipment", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentPersistenceImpl.java#L1156-L1163
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentPersistenceImpl.java
CommerceShipmentPersistenceImpl.cacheResult
@Override public void cacheResult(List<CommerceShipment> commerceShipments) { for (CommerceShipment commerceShipment : commerceShipments) { if (entityCache.getResult( CommerceShipmentModelImpl.ENTITY_CACHE_ENABLED, CommerceShipmentImpl.class, commerceShipment.getPrimaryKey()) == null) { cacheResult(commerceShipment); } else { commerceShipment.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CommerceShipment> commerceShipments) { for (CommerceShipment commerceShipment : commerceShipments) { if (entityCache.getResult( CommerceShipmentModelImpl.ENTITY_CACHE_ENABLED, CommerceShipmentImpl.class, commerceShipment.getPrimaryKey()) == null) { cacheResult(commerceShipment); } else { commerceShipment.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceShipment", ">", "commerceShipments", ")", "{", "for", "(", "CommerceShipment", "commerceShipment", ":", "commerceShipments", ")", "{", "if", "(", "entityCache", ".", "getResult", "(", "...
Caches the commerce shipments in the entity cache if it is enabled. @param commerceShipments the commerce shipments
[ "Caches", "the", "commerce", "shipments", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentPersistenceImpl.java#L1170-L1183
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentPersistenceImpl.java
CommerceShipmentPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceShipmentImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache() { entityCache.clearCache(CommerceShipmentImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", ")", "{", "entityCache", ".", "clearCache", "(", "CommerceShipmentImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache", ...
Clears the cache for all commerce shipments. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "shipments", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentPersistenceImpl.java#L1192-L1199
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentPersistenceImpl.java
CommerceShipmentPersistenceImpl.clearCache
@Override public void clearCache(CommerceShipment commerceShipment) { entityCache.removeResult(CommerceShipmentModelImpl.ENTITY_CACHE_ENABLED, CommerceShipmentImpl.class, commerceShipment.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache(CommerceShipment commerceShipment) { entityCache.removeResult(CommerceShipmentModelImpl.ENTITY_CACHE_ENABLED, CommerceShipmentImpl.class, commerceShipment.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceShipment", "commerceShipment", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceShipmentModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceShipmentImpl", ".", "class", ",", "commerceShipment", ...
Clears the cache for the commerce shipment. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "shipment", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentPersistenceImpl.java#L1208-L1215
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentPersistenceImpl.java
CommerceShipmentPersistenceImpl.findAll
@Override public List<CommerceShipment> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceShipment> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceShipment", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce shipments. @return the commerce shipments
[ "Returns", "all", "the", "commerce", "shipments", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentPersistenceImpl.java#L1666-L1669
train
liferay/com-liferay-commerce
commerce-account-api/src/main/java/com/liferay/commerce/account/service/CommerceAccountUserRelLocalServiceUtil.java
CommerceAccountUserRelLocalServiceUtil.getCommerceAccountUserRel
public static com.liferay.commerce.account.model.CommerceAccountUserRel getCommerceAccountUserRel( com.liferay.commerce.account.service.persistence.CommerceAccountUserRelPK commerceAccountUserRelPK) throws com.liferay.portal.kernel.exception.PortalException { return getService().getCommerceAccountUserRel(commerceAccountUserRelPK); }
java
public static com.liferay.commerce.account.model.CommerceAccountUserRel getCommerceAccountUserRel( com.liferay.commerce.account.service.persistence.CommerceAccountUserRelPK commerceAccountUserRelPK) throws com.liferay.portal.kernel.exception.PortalException { return getService().getCommerceAccountUserRel(commerceAccountUserRelPK); }
[ "public", "static", "com", ".", "liferay", ".", "commerce", ".", "account", ".", "model", ".", "CommerceAccountUserRel", "getCommerceAccountUserRel", "(", "com", ".", "liferay", ".", "commerce", ".", "account", ".", "service", ".", "persistence", ".", "CommerceA...
Returns the commerce account user rel with the primary key. @param commerceAccountUserRelPK the primary key of the commerce account user rel @return the commerce account user rel @throws PortalException if a commerce account user rel with the primary key could not be found
[ "Returns", "the", "commerce", "account", "user", "rel", "with", "the", "primary", "key", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-api/src/main/java/com/liferay/commerce/account/service/CommerceAccountUserRelLocalServiceUtil.java#L232-L236
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommerceTierPriceEntryPersistenceImpl.java
CommerceTierPriceEntryPersistenceImpl.cacheResult
@Override public void cacheResult(CommerceTierPriceEntry commerceTierPriceEntry) { entityCache.putResult(CommerceTierPriceEntryModelImpl.ENTITY_CACHE_ENABLED, CommerceTierPriceEntryImpl.class, commerceTierPriceEntry.getPrimaryKey(), commerceTierPriceEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { commerceTierPriceEntry.getUuid(), commerceTierPriceEntry.getGroupId() }, commerceTierPriceEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_C_M, new Object[] { commerceTierPriceEntry.getCommercePriceEntryId(), commerceTierPriceEntry.getMinQuantity() }, commerceTierPriceEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { commerceTierPriceEntry.getCompanyId(), commerceTierPriceEntry.getExternalReferenceCode() }, commerceTierPriceEntry); commerceTierPriceEntry.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceTierPriceEntry commerceTierPriceEntry) { entityCache.putResult(CommerceTierPriceEntryModelImpl.ENTITY_CACHE_ENABLED, CommerceTierPriceEntryImpl.class, commerceTierPriceEntry.getPrimaryKey(), commerceTierPriceEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { commerceTierPriceEntry.getUuid(), commerceTierPriceEntry.getGroupId() }, commerceTierPriceEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_C_M, new Object[] { commerceTierPriceEntry.getCommercePriceEntryId(), commerceTierPriceEntry.getMinQuantity() }, commerceTierPriceEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { commerceTierPriceEntry.getCompanyId(), commerceTierPriceEntry.getExternalReferenceCode() }, commerceTierPriceEntry); commerceTierPriceEntry.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceTierPriceEntry", "commerceTierPriceEntry", ")", "{", "entityCache", ".", "putResult", "(", "CommerceTierPriceEntryModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceTierPriceEntryImpl", ".", "class", ",", ...
Caches the commerce tier price entry in the entity cache if it is enabled. @param commerceTierPriceEntry the commerce tier price entry
[ "Caches", "the", "commerce", "tier", "price", "entry", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommerceTierPriceEntryPersistenceImpl.java#L4102-L4127
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommerceTierPriceEntryPersistenceImpl.java
CommerceTierPriceEntryPersistenceImpl.cacheResult
@Override public void cacheResult( List<CommerceTierPriceEntry> commerceTierPriceEntries) { for (CommerceTierPriceEntry commerceTierPriceEntry : commerceTierPriceEntries) { if (entityCache.getResult( CommerceTierPriceEntryModelImpl.ENTITY_CACHE_ENABLED, CommerceTierPriceEntryImpl.class, commerceTierPriceEntry.getPrimaryKey()) == null) { cacheResult(commerceTierPriceEntry); } else { commerceTierPriceEntry.resetOriginalValues(); } } }
java
@Override public void cacheResult( List<CommerceTierPriceEntry> commerceTierPriceEntries) { for (CommerceTierPriceEntry commerceTierPriceEntry : commerceTierPriceEntries) { if (entityCache.getResult( CommerceTierPriceEntryModelImpl.ENTITY_CACHE_ENABLED, CommerceTierPriceEntryImpl.class, commerceTierPriceEntry.getPrimaryKey()) == null) { cacheResult(commerceTierPriceEntry); } else { commerceTierPriceEntry.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceTierPriceEntry", ">", "commerceTierPriceEntries", ")", "{", "for", "(", "CommerceTierPriceEntry", "commerceTierPriceEntry", ":", "commerceTierPriceEntries", ")", "{", "if", "(", "entityCache", ...
Caches the commerce tier price entries in the entity cache if it is enabled. @param commerceTierPriceEntries the commerce tier price entries
[ "Caches", "the", "commerce", "tier", "price", "entries", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommerceTierPriceEntryPersistenceImpl.java#L4134-L4148
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommerceTierPriceEntryPersistenceImpl.java
CommerceTierPriceEntryPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceTierPriceEntryImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache() { entityCache.clearCache(CommerceTierPriceEntryImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", ")", "{", "entityCache", ".", "clearCache", "(", "CommerceTierPriceEntryImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCach...
Clears the cache for all commerce tier price entries. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "tier", "price", "entries", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommerceTierPriceEntryPersistenceImpl.java#L4157-L4164
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommerceTierPriceEntryPersistenceImpl.java
CommerceTierPriceEntryPersistenceImpl.clearCache
@Override public void clearCache(CommerceTierPriceEntry commerceTierPriceEntry) { entityCache.removeResult(CommerceTierPriceEntryModelImpl.ENTITY_CACHE_ENABLED, CommerceTierPriceEntryImpl.class, commerceTierPriceEntry.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceTierPriceEntryModelImpl)commerceTierPriceEntry, true); }
java
@Override public void clearCache(CommerceTierPriceEntry commerceTierPriceEntry) { entityCache.removeResult(CommerceTierPriceEntryModelImpl.ENTITY_CACHE_ENABLED, CommerceTierPriceEntryImpl.class, commerceTierPriceEntry.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceTierPriceEntryModelImpl)commerceTierPriceEntry, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceTierPriceEntry", "commerceTierPriceEntry", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceTierPriceEntryModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceTierPriceEntryImpl", ".", "class", ",",...
Clears the cache for the commerce tier price entry. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "tier", "price", "entry", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommerceTierPriceEntryPersistenceImpl.java#L4173-L4184
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommerceTierPriceEntryPersistenceImpl.java
CommerceTierPriceEntryPersistenceImpl.findAll
@Override public List<CommerceTierPriceEntry> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceTierPriceEntry> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceTierPriceEntry", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce tier price entries. @return the commerce tier price entries
[ "Returns", "all", "the", "commerce", "tier", "price", "entries", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/persistence/impl/CommerceTierPriceEntryPersistenceImpl.java#L4839-L4842
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionSpecificationOptionValuePersistenceImpl.java
CPDefinitionSpecificationOptionValuePersistenceImpl.cacheResult
@Override public void cacheResult( CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) { entityCache.putResult(CPDefinitionSpecificationOptionValueModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionSpecificationOptionValueImpl.class, cpDefinitionSpecificationOptionValue.getPrimaryKey(), cpDefinitionSpecificationOptionValue); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cpDefinitionSpecificationOptionValue.getUuid(), cpDefinitionSpecificationOptionValue.getGroupId() }, cpDefinitionSpecificationOptionValue); finderCache.putResult(FINDER_PATH_FETCH_BY_C_CSOVI, new Object[] { cpDefinitionSpecificationOptionValue.getCPDefinitionId(), cpDefinitionSpecificationOptionValue.getCPDefinitionSpecificationOptionValueId() }, cpDefinitionSpecificationOptionValue); cpDefinitionSpecificationOptionValue.resetOriginalValues(); }
java
@Override public void cacheResult( CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) { entityCache.putResult(CPDefinitionSpecificationOptionValueModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionSpecificationOptionValueImpl.class, cpDefinitionSpecificationOptionValue.getPrimaryKey(), cpDefinitionSpecificationOptionValue); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cpDefinitionSpecificationOptionValue.getUuid(), cpDefinitionSpecificationOptionValue.getGroupId() }, cpDefinitionSpecificationOptionValue); finderCache.putResult(FINDER_PATH_FETCH_BY_C_CSOVI, new Object[] { cpDefinitionSpecificationOptionValue.getCPDefinitionId(), cpDefinitionSpecificationOptionValue.getCPDefinitionSpecificationOptionValueId() }, cpDefinitionSpecificationOptionValue); cpDefinitionSpecificationOptionValue.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CPDefinitionSpecificationOptionValue", "cpDefinitionSpecificationOptionValue", ")", "{", "entityCache", ".", "putResult", "(", "CPDefinitionSpecificationOptionValueModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPDefinitionS...
Caches the cp definition specification option value in the entity cache if it is enabled. @param cpDefinitionSpecificationOptionValue the cp definition specification option value
[ "Caches", "the", "cp", "definition", "specification", "option", "value", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionSpecificationOptionValuePersistenceImpl.java#L5033-L5054
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionSpecificationOptionValuePersistenceImpl.java
CPDefinitionSpecificationOptionValuePersistenceImpl.cacheResult
@Override public void cacheResult( List<CPDefinitionSpecificationOptionValue> cpDefinitionSpecificationOptionValues) { for (CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue : cpDefinitionSpecificationOptionValues) { if (entityCache.getResult( CPDefinitionSpecificationOptionValueModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionSpecificationOptionValueImpl.class, cpDefinitionSpecificationOptionValue.getPrimaryKey()) == null) { cacheResult(cpDefinitionSpecificationOptionValue); } else { cpDefinitionSpecificationOptionValue.resetOriginalValues(); } } }
java
@Override public void cacheResult( List<CPDefinitionSpecificationOptionValue> cpDefinitionSpecificationOptionValues) { for (CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue : cpDefinitionSpecificationOptionValues) { if (entityCache.getResult( CPDefinitionSpecificationOptionValueModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionSpecificationOptionValueImpl.class, cpDefinitionSpecificationOptionValue.getPrimaryKey()) == null) { cacheResult(cpDefinitionSpecificationOptionValue); } else { cpDefinitionSpecificationOptionValue.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CPDefinitionSpecificationOptionValue", ">", "cpDefinitionSpecificationOptionValues", ")", "{", "for", "(", "CPDefinitionSpecificationOptionValue", "cpDefinitionSpecificationOptionValue", ":", "cpDefinitionSpecif...
Caches the cp definition specification option values in the entity cache if it is enabled. @param cpDefinitionSpecificationOptionValues the cp definition specification option values
[ "Caches", "the", "cp", "definition", "specification", "option", "values", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionSpecificationOptionValuePersistenceImpl.java#L5061-L5075
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionSpecificationOptionValuePersistenceImpl.java
CPDefinitionSpecificationOptionValuePersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CPDefinitionSpecificationOptionValueImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache() { entityCache.clearCache(CPDefinitionSpecificationOptionValueImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", ")", "{", "entityCache", ".", "clearCache", "(", "CPDefinitionSpecificationOptionValueImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", "."...
Clears the cache for all cp definition specification option values. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "cp", "definition", "specification", "option", "values", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionSpecificationOptionValuePersistenceImpl.java#L5084-L5091
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionSpecificationOptionValuePersistenceImpl.java
CPDefinitionSpecificationOptionValuePersistenceImpl.clearCache
@Override public void clearCache( CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) { entityCache.removeResult(CPDefinitionSpecificationOptionValueModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionSpecificationOptionValueImpl.class, cpDefinitionSpecificationOptionValue.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CPDefinitionSpecificationOptionValueModelImpl)cpDefinitionSpecificationOptionValue, true); }
java
@Override public void clearCache( CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) { entityCache.removeResult(CPDefinitionSpecificationOptionValueModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionSpecificationOptionValueImpl.class, cpDefinitionSpecificationOptionValue.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CPDefinitionSpecificationOptionValueModelImpl)cpDefinitionSpecificationOptionValue, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CPDefinitionSpecificationOptionValue", "cpDefinitionSpecificationOptionValue", ")", "{", "entityCache", ".", "removeResult", "(", "CPDefinitionSpecificationOptionValueModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPDefinitio...
Clears the cache for the cp definition specification option value. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "cp", "definition", "specification", "option", "value", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionSpecificationOptionValuePersistenceImpl.java#L5100-L5112
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionSpecificationOptionValuePersistenceImpl.java
CPDefinitionSpecificationOptionValuePersistenceImpl.findAll
@Override public List<CPDefinitionSpecificationOptionValue> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CPDefinitionSpecificationOptionValue> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CPDefinitionSpecificationOptionValue", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the cp definition specification option values. @return the cp definition specification option values
[ "Returns", "all", "the", "cp", "definition", "specification", "option", "values", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionSpecificationOptionValuePersistenceImpl.java#L5853-L5856
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceSubscriptionEntryLocalServiceBaseImpl.java
CommerceSubscriptionEntryLocalServiceBaseImpl.deleteCommerceSubscriptionEntry
@Indexable(type = IndexableType.DELETE) @Override public CommerceSubscriptionEntry deleteCommerceSubscriptionEntry( long commerceSubscriptionEntryId) throws PortalException { return commerceSubscriptionEntryPersistence.remove(commerceSubscriptionEntryId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceSubscriptionEntry deleteCommerceSubscriptionEntry( long commerceSubscriptionEntryId) throws PortalException { return commerceSubscriptionEntryPersistence.remove(commerceSubscriptionEntryId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceSubscriptionEntry", "deleteCommerceSubscriptionEntry", "(", "long", "commerceSubscriptionEntryId", ")", "throws", "PortalException", "{", "return", "commerceSubscr...
Deletes the commerce subscription entry with the primary key from the database. Also notifies the appropriate model listeners. @param commerceSubscriptionEntryId the primary key of the commerce subscription entry @return the commerce subscription entry that was removed @throws PortalException if a commerce subscription entry with the primary key could not be found
[ "Deletes", "the", "commerce", "subscription", "entry", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceSubscriptionEntryLocalServiceBaseImpl.java#L141-L146
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceSubscriptionEntryLocalServiceBaseImpl.java
CommerceSubscriptionEntryLocalServiceBaseImpl.getCommerceSubscriptionEntriesByUuidAndCompanyId
@Override public List<CommerceSubscriptionEntry> getCommerceSubscriptionEntriesByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommerceSubscriptionEntry> orderByComparator) { return commerceSubscriptionEntryPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CommerceSubscriptionEntry> getCommerceSubscriptionEntriesByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommerceSubscriptionEntry> orderByComparator) { return commerceSubscriptionEntryPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CommerceSubscriptionEntry", ">", "getCommerceSubscriptionEntriesByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CommerceSubscriptionEnt...
Returns a range of commerce subscription entries matching the UUID and company. @param uuid the UUID of the commerce subscription entries @param companyId the primary key of the company @param start the lower bound of the range of commerce subscription entries @param end the upper bound of the range of commerce subscription entries (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching commerce subscription entries, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "commerce", "subscription", "entries", "matching", "the", "UUID", "and", "company", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceSubscriptionEntryLocalServiceBaseImpl.java#L405-L411
train
liferay/com-liferay-commerce
commerce-tax-service/src/main/java/com/liferay/commerce/tax/service/base/CommerceTaxMethodLocalServiceBaseImpl.java
CommerceTaxMethodLocalServiceBaseImpl.deleteCommerceTaxMethod
@Indexable(type = IndexableType.DELETE) @Override public CommerceTaxMethod deleteCommerceTaxMethod(long commerceTaxMethodId) throws PortalException { return commerceTaxMethodPersistence.remove(commerceTaxMethodId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceTaxMethod deleteCommerceTaxMethod(long commerceTaxMethodId) throws PortalException { return commerceTaxMethodPersistence.remove(commerceTaxMethodId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceTaxMethod", "deleteCommerceTaxMethod", "(", "long", "commerceTaxMethodId", ")", "throws", "PortalException", "{", "return", "commerceTaxMethodPersistence", ".", ...
Deletes the commerce tax method with the primary key from the database. Also notifies the appropriate model listeners. @param commerceTaxMethodId the primary key of the commerce tax method @return the commerce tax method that was removed @throws PortalException if a commerce tax method with the primary key could not be found
[ "Deletes", "the", "commerce", "tax", "method", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-service/src/main/java/com/liferay/commerce/tax/service/base/CommerceTaxMethodLocalServiceBaseImpl.java#L111-L116
train
liferay/com-liferay-commerce
commerce-tax-service/src/main/java/com/liferay/commerce/tax/service/base/CommerceTaxMethodLocalServiceBaseImpl.java
CommerceTaxMethodLocalServiceBaseImpl.deleteCommerceTaxMethod
@Indexable(type = IndexableType.DELETE) @Override public CommerceTaxMethod deleteCommerceTaxMethod( CommerceTaxMethod commerceTaxMethod) { return commerceTaxMethodPersistence.remove(commerceTaxMethod); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceTaxMethod deleteCommerceTaxMethod( CommerceTaxMethod commerceTaxMethod) { return commerceTaxMethodPersistence.remove(commerceTaxMethod); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceTaxMethod", "deleteCommerceTaxMethod", "(", "CommerceTaxMethod", "commerceTaxMethod", ")", "{", "return", "commerceTaxMethodPersistence", ".", "remove", "(", "...
Deletes the commerce tax method from the database. Also notifies the appropriate model listeners. @param commerceTaxMethod the commerce tax method @return the commerce tax method that was removed
[ "Deletes", "the", "commerce", "tax", "method", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-service/src/main/java/com/liferay/commerce/tax/service/base/CommerceTaxMethodLocalServiceBaseImpl.java#L124-L129
train
liferay/com-liferay-commerce
commerce-tax-service/src/main/java/com/liferay/commerce/tax/service/base/CommerceTaxMethodLocalServiceBaseImpl.java
CommerceTaxMethodLocalServiceBaseImpl.updateCommerceTaxMethod
@Indexable(type = IndexableType.REINDEX) @Override public CommerceTaxMethod updateCommerceTaxMethod( CommerceTaxMethod commerceTaxMethod) { return commerceTaxMethodPersistence.update(commerceTaxMethod); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CommerceTaxMethod updateCommerceTaxMethod( CommerceTaxMethod commerceTaxMethod) { return commerceTaxMethodPersistence.update(commerceTaxMethod); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CommerceTaxMethod", "updateCommerceTaxMethod", "(", "CommerceTaxMethod", "commerceTaxMethod", ")", "{", "return", "commerceTaxMethodPersistence", ".", "update", "(", ...
Updates the commerce tax method in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. @param commerceTaxMethod the commerce tax method @return the commerce tax method that was updated
[ "Updates", "the", "commerce", "tax", "method", "in", "the", "database", "or", "adds", "it", "if", "it", "does", "not", "yet", "exist", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-service/src/main/java/com/liferay/commerce/tax/service/base/CommerceTaxMethodLocalServiceBaseImpl.java#L315-L320
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/service/CProductLocalServiceWrapper.java
CProductLocalServiceWrapper.getCProduct
@Override public com.liferay.commerce.product.model.CProduct getCProduct( long CProductId) throws com.liferay.portal.kernel.exception.PortalException { return _cProductLocalService.getCProduct(CProductId); }
java
@Override public com.liferay.commerce.product.model.CProduct getCProduct( long CProductId) throws com.liferay.portal.kernel.exception.PortalException { return _cProductLocalService.getCProduct(CProductId); }
[ "@", "Override", "public", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "model", ".", "CProduct", "getCProduct", "(", "long", "CProductId", ")", "throws", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "exception", ".", "PortalEx...
Returns the c product with the primary key. @param CProductId the primary key of the c product @return the c product @throws PortalException if a c product with the primary key could not be found
[ "Returns", "the", "c", "product", "with", "the", "primary", "key", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/service/CProductLocalServiceWrapper.java#L218-L223
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelServiceBaseImpl.java
CommerceAccountUserRelServiceBaseImpl.setCommerceAccountService
public void setCommerceAccountService( com.liferay.commerce.account.service.CommerceAccountService commerceAccountService) { this.commerceAccountService = commerceAccountService; }
java
public void setCommerceAccountService( com.liferay.commerce.account.service.CommerceAccountService commerceAccountService) { this.commerceAccountService = commerceAccountService; }
[ "public", "void", "setCommerceAccountService", "(", "com", ".", "liferay", ".", "commerce", ".", "account", ".", "service", ".", "CommerceAccountService", "commerceAccountService", ")", "{", "this", ".", "commerceAccountService", "=", "commerceAccountService", ";", "}...
Sets the commerce account remote service. @param commerceAccountService the commerce account remote service
[ "Sets", "the", "commerce", "account", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelServiceBaseImpl.java#L94-L97
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelServiceBaseImpl.java
CommerceAccountUserRelServiceBaseImpl.setCommerceAccountOrganizationRelService
public void setCommerceAccountOrganizationRelService( com.liferay.commerce.account.service.CommerceAccountOrganizationRelService commerceAccountOrganizationRelService) { this.commerceAccountOrganizationRelService = commerceAccountOrganizationRelService; }
java
public void setCommerceAccountOrganizationRelService( com.liferay.commerce.account.service.CommerceAccountOrganizationRelService commerceAccountOrganizationRelService) { this.commerceAccountOrganizationRelService = commerceAccountOrganizationRelService; }
[ "public", "void", "setCommerceAccountOrganizationRelService", "(", "com", ".", "liferay", ".", "commerce", ".", "account", ".", "service", ".", "CommerceAccountOrganizationRelService", "commerceAccountOrganizationRelService", ")", "{", "this", ".", "commerceAccountOrganizatio...
Sets the commerce account organization rel remote service. @param commerceAccountOrganizationRelService the commerce account organization rel remote service
[ "Sets", "the", "commerce", "account", "organization", "rel", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelServiceBaseImpl.java#L170-L173
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelServiceBaseImpl.java
CommerceAccountUserRelServiceBaseImpl.setUserGroupRoleService
public void setUserGroupRoleService( com.liferay.portal.kernel.service.UserGroupRoleService userGroupRoleService) { this.userGroupRoleService = userGroupRoleService; }
java
public void setUserGroupRoleService( com.liferay.portal.kernel.service.UserGroupRoleService userGroupRoleService) { this.userGroupRoleService = userGroupRoleService; }
[ "public", "void", "setUserGroupRoleService", "(", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "service", ".", "UserGroupRoleService", "userGroupRoleService", ")", "{", "this", ".", "userGroupRoleService", "=", "userGroupRoleService", ";", "}" ]
Sets the user group role remote service. @param userGroupRoleService the user group role remote service
[ "Sets", "the", "user", "group", "role", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountUserRelServiceBaseImpl.java#L435-L438
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPOptionCategoryLocalServiceBaseImpl.java
CPOptionCategoryLocalServiceBaseImpl.deleteCPOptionCategory
@Indexable(type = IndexableType.DELETE) @Override public CPOptionCategory deleteCPOptionCategory(long CPOptionCategoryId) throws PortalException { return cpOptionCategoryPersistence.remove(CPOptionCategoryId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CPOptionCategory deleteCPOptionCategory(long CPOptionCategoryId) throws PortalException { return cpOptionCategoryPersistence.remove(CPOptionCategoryId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CPOptionCategory", "deleteCPOptionCategory", "(", "long", "CPOptionCategoryId", ")", "throws", "PortalException", "{", "return", "cpOptionCategoryPersistence", ".", "r...
Deletes the cp option category with the primary key from the database. Also notifies the appropriate model listeners. @param CPOptionCategoryId the primary key of the cp option category @return the cp option category that was removed @throws PortalException if a cp option category with the primary key could not be found
[ "Deletes", "the", "cp", "option", "category", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPOptionCategoryLocalServiceBaseImpl.java#L140-L145
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPOptionCategoryLocalServiceBaseImpl.java
CPOptionCategoryLocalServiceBaseImpl.getCPOptionCategoriesByUuidAndCompanyId
@Override public List<CPOptionCategory> getCPOptionCategoriesByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CPOptionCategory> orderByComparator) { return cpOptionCategoryPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CPOptionCategory> getCPOptionCategoriesByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CPOptionCategory> orderByComparator) { return cpOptionCategoryPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CPOptionCategory", ">", "getCPOptionCategoriesByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CPOptionCategory", ">", "orderByCompa...
Returns a range of cp option categories matching the UUID and company. @param uuid the UUID of the cp option categories @param companyId the primary key of the company @param start the lower bound of the range of cp option categories @param end the upper bound of the range of cp option categories (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching cp option categories, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "cp", "option", "categories", "matching", "the", "UUID", "and", "company", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPOptionCategoryLocalServiceBaseImpl.java#L402-L408
train
liferay/com-liferay-commerce
commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelServiceBaseImpl.java
CommerceTaxFixedRateAddressRelServiceBaseImpl.getCommerceTaxFixedRateService
public com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateService getCommerceTaxFixedRateService() { return commerceTaxFixedRateService; }
java
public com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateService getCommerceTaxFixedRateService() { return commerceTaxFixedRateService; }
[ "public", "com", ".", "liferay", ".", "commerce", ".", "tax", ".", "engine", ".", "fixed", ".", "service", ".", "CommerceTaxFixedRateService", "getCommerceTaxFixedRateService", "(", ")", "{", "return", "commerceTaxFixedRateService", ";", "}" ]
Returns the commerce tax fixed rate remote service. @return the commerce tax fixed rate remote service
[ "Returns", "the", "commerce", "tax", "fixed", "rate", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelServiceBaseImpl.java#L83-L85
train
liferay/com-liferay-commerce
commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelServiceBaseImpl.java
CommerceTaxFixedRateAddressRelServiceBaseImpl.setCommerceTaxFixedRateService
public void setCommerceTaxFixedRateService( com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateService commerceTaxFixedRateService) { this.commerceTaxFixedRateService = commerceTaxFixedRateService; }
java
public void setCommerceTaxFixedRateService( com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateService commerceTaxFixedRateService) { this.commerceTaxFixedRateService = commerceTaxFixedRateService; }
[ "public", "void", "setCommerceTaxFixedRateService", "(", "com", ".", "liferay", ".", "commerce", ".", "tax", ".", "engine", ".", "fixed", ".", "service", ".", "CommerceTaxFixedRateService", "commerceTaxFixedRateService", ")", "{", "this", ".", "commerceTaxFixedRateSer...
Sets the commerce tax fixed rate remote service. @param commerceTaxFixedRateService the commerce tax fixed rate remote service
[ "Sets", "the", "commerce", "tax", "fixed", "rate", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelServiceBaseImpl.java#L92-L95
train
liferay/com-liferay-commerce
commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationQueueEntryServiceBaseImpl.java
CommerceNotificationQueueEntryServiceBaseImpl.setCommerceNotificationTemplateService
public void setCommerceNotificationTemplateService( com.liferay.commerce.notification.service.CommerceNotificationTemplateService commerceNotificationTemplateService) { this.commerceNotificationTemplateService = commerceNotificationTemplateService; }
java
public void setCommerceNotificationTemplateService( com.liferay.commerce.notification.service.CommerceNotificationTemplateService commerceNotificationTemplateService) { this.commerceNotificationTemplateService = commerceNotificationTemplateService; }
[ "public", "void", "setCommerceNotificationTemplateService", "(", "com", ".", "liferay", ".", "commerce", ".", "notification", ".", "service", ".", "CommerceNotificationTemplateService", "commerceNotificationTemplateService", ")", "{", "this", ".", "commerceNotificationTemplat...
Sets the commerce notification template remote service. @param commerceNotificationTemplateService the commerce notification template remote service
[ "Sets", "the", "commerce", "notification", "template", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationQueueEntryServiceBaseImpl.java#L188-L191
train
liferay/com-liferay-commerce
commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationQueueEntryServiceBaseImpl.java
CommerceNotificationQueueEntryServiceBaseImpl.setCommerceNotificationTemplateUserSegmentRelService
public void setCommerceNotificationTemplateUserSegmentRelService( com.liferay.commerce.notification.service.CommerceNotificationTemplateUserSegmentRelService commerceNotificationTemplateUserSegmentRelService) { this.commerceNotificationTemplateUserSegmentRelService = commerceNotificationTemplateUserSegmentRelService; }
java
public void setCommerceNotificationTemplateUserSegmentRelService( com.liferay.commerce.notification.service.CommerceNotificationTemplateUserSegmentRelService commerceNotificationTemplateUserSegmentRelService) { this.commerceNotificationTemplateUserSegmentRelService = commerceNotificationTemplateUserSegmentRelService; }
[ "public", "void", "setCommerceNotificationTemplateUserSegmentRelService", "(", "com", ".", "liferay", ".", "commerce", ".", "notification", ".", "service", ".", "CommerceNotificationTemplateUserSegmentRelService", "commerceNotificationTemplateUserSegmentRelService", ")", "{", "th...
Sets the commerce notification template user segment rel remote service. @param commerceNotificationTemplateUserSegmentRelService the commerce notification template user segment rel remote service
[ "Sets", "the", "commerce", "notification", "template", "user", "segment", "rel", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationQueueEntryServiceBaseImpl.java#L245-L248
train
liferay/com-liferay-commerce
commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/base/CPDefinitionGroupedEntryServiceBaseImpl.java
CPDefinitionGroupedEntryServiceBaseImpl.getCPDefinitionGroupedEntryLocalService
public com.liferay.commerce.product.type.grouped.service.CPDefinitionGroupedEntryLocalService getCPDefinitionGroupedEntryLocalService() { return cpDefinitionGroupedEntryLocalService; }
java
public com.liferay.commerce.product.type.grouped.service.CPDefinitionGroupedEntryLocalService getCPDefinitionGroupedEntryLocalService() { return cpDefinitionGroupedEntryLocalService; }
[ "public", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "type", ".", "grouped", ".", "service", ".", "CPDefinitionGroupedEntryLocalService", "getCPDefinitionGroupedEntryLocalService", "(", ")", "{", "return", "cpDefinitionGroupedEntryLocalService", ";", "...
Returns the cp definition grouped entry local service. @return the cp definition grouped entry local service
[ "Returns", "the", "cp", "definition", "grouped", "entry", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/base/CPDefinitionGroupedEntryServiceBaseImpl.java#L62-L64
train
liferay/com-liferay-commerce
commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/base/CPDefinitionGroupedEntryServiceBaseImpl.java
CPDefinitionGroupedEntryServiceBaseImpl.setCPDefinitionGroupedEntryLocalService
public void setCPDefinitionGroupedEntryLocalService( com.liferay.commerce.product.type.grouped.service.CPDefinitionGroupedEntryLocalService cpDefinitionGroupedEntryLocalService) { this.cpDefinitionGroupedEntryLocalService = cpDefinitionGroupedEntryLocalService; }
java
public void setCPDefinitionGroupedEntryLocalService( com.liferay.commerce.product.type.grouped.service.CPDefinitionGroupedEntryLocalService cpDefinitionGroupedEntryLocalService) { this.cpDefinitionGroupedEntryLocalService = cpDefinitionGroupedEntryLocalService; }
[ "public", "void", "setCPDefinitionGroupedEntryLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "type", ".", "grouped", ".", "service", ".", "CPDefinitionGroupedEntryLocalService", "cpDefinitionGroupedEntryLocalService", ")", "{", "this", ...
Sets the cp definition grouped entry local service. @param cpDefinitionGroupedEntryLocalService the cp definition grouped entry local service
[ "Sets", "the", "cp", "definition", "grouped", "entry", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/base/CPDefinitionGroupedEntryServiceBaseImpl.java#L71-L74
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPMeasurementUnitPersistenceImpl.java
CPMeasurementUnitPersistenceImpl.cacheResult
@Override public void cacheResult(CPMeasurementUnit cpMeasurementUnit) { entityCache.putResult(CPMeasurementUnitModelImpl.ENTITY_CACHE_ENABLED, CPMeasurementUnitImpl.class, cpMeasurementUnit.getPrimaryKey(), cpMeasurementUnit); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cpMeasurementUnit.getUuid(), cpMeasurementUnit.getGroupId() }, cpMeasurementUnit); finderCache.putResult(FINDER_PATH_FETCH_BY_G_K_T, new Object[] { cpMeasurementUnit.getGroupId(), cpMeasurementUnit.getKey(), cpMeasurementUnit.getType() }, cpMeasurementUnit); cpMeasurementUnit.resetOriginalValues(); }
java
@Override public void cacheResult(CPMeasurementUnit cpMeasurementUnit) { entityCache.putResult(CPMeasurementUnitModelImpl.ENTITY_CACHE_ENABLED, CPMeasurementUnitImpl.class, cpMeasurementUnit.getPrimaryKey(), cpMeasurementUnit); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cpMeasurementUnit.getUuid(), cpMeasurementUnit.getGroupId() }, cpMeasurementUnit); finderCache.putResult(FINDER_PATH_FETCH_BY_G_K_T, new Object[] { cpMeasurementUnit.getGroupId(), cpMeasurementUnit.getKey(), cpMeasurementUnit.getType() }, cpMeasurementUnit); cpMeasurementUnit.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CPMeasurementUnit", "cpMeasurementUnit", ")", "{", "entityCache", ".", "putResult", "(", "CPMeasurementUnitModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPMeasurementUnitImpl", ".", "class", ",", "cpMeasurementUnit"...
Caches the cp measurement unit in the entity cache if it is enabled. @param cpMeasurementUnit the cp measurement unit
[ "Caches", "the", "cp", "measurement", "unit", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPMeasurementUnitPersistenceImpl.java#L3431-L3449
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPMeasurementUnitPersistenceImpl.java
CPMeasurementUnitPersistenceImpl.cacheResult
@Override public void cacheResult(List<CPMeasurementUnit> cpMeasurementUnits) { for (CPMeasurementUnit cpMeasurementUnit : cpMeasurementUnits) { if (entityCache.getResult( CPMeasurementUnitModelImpl.ENTITY_CACHE_ENABLED, CPMeasurementUnitImpl.class, cpMeasurementUnit.getPrimaryKey()) == null) { cacheResult(cpMeasurementUnit); } else { cpMeasurementUnit.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CPMeasurementUnit> cpMeasurementUnits) { for (CPMeasurementUnit cpMeasurementUnit : cpMeasurementUnits) { if (entityCache.getResult( CPMeasurementUnitModelImpl.ENTITY_CACHE_ENABLED, CPMeasurementUnitImpl.class, cpMeasurementUnit.getPrimaryKey()) == null) { cacheResult(cpMeasurementUnit); } else { cpMeasurementUnit.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CPMeasurementUnit", ">", "cpMeasurementUnits", ")", "{", "for", "(", "CPMeasurementUnit", "cpMeasurementUnit", ":", "cpMeasurementUnits", ")", "{", "if", "(", "entityCache", ".", "getResult", "("...
Caches the cp measurement units in the entity cache if it is enabled. @param cpMeasurementUnits the cp measurement units
[ "Caches", "the", "cp", "measurement", "units", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPMeasurementUnitPersistenceImpl.java#L3456-L3469
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPMeasurementUnitPersistenceImpl.java
CPMeasurementUnitPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CPMeasurementUnitImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache() { entityCache.clearCache(CPMeasurementUnitImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", ")", "{", "entityCache", ".", "clearCache", "(", "CPMeasurementUnitImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache", ...
Clears the cache for all cp measurement units. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "cp", "measurement", "units", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPMeasurementUnitPersistenceImpl.java#L3478-L3485
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPMeasurementUnitPersistenceImpl.java
CPMeasurementUnitPersistenceImpl.clearCache
@Override public void clearCache(CPMeasurementUnit cpMeasurementUnit) { entityCache.removeResult(CPMeasurementUnitModelImpl.ENTITY_CACHE_ENABLED, CPMeasurementUnitImpl.class, cpMeasurementUnit.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CPMeasurementUnitModelImpl)cpMeasurementUnit, true); }
java
@Override public void clearCache(CPMeasurementUnit cpMeasurementUnit) { entityCache.removeResult(CPMeasurementUnitModelImpl.ENTITY_CACHE_ENABLED, CPMeasurementUnitImpl.class, cpMeasurementUnit.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CPMeasurementUnitModelImpl)cpMeasurementUnit, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CPMeasurementUnit", "cpMeasurementUnit", ")", "{", "entityCache", ".", "removeResult", "(", "CPMeasurementUnitModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPMeasurementUnitImpl", ".", "class", ",", "cpMeasurementUni...
Clears the cache for the cp measurement unit. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "cp", "measurement", "unit", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPMeasurementUnitPersistenceImpl.java#L3494-L3504
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPMeasurementUnitPersistenceImpl.java
CPMeasurementUnitPersistenceImpl.findAll
@Override public List<CPMeasurementUnit> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CPMeasurementUnit> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CPMeasurementUnit", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the cp measurement units. @return the cp measurement units
[ "Returns", "all", "the", "cp", "measurement", "units", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPMeasurementUnitPersistenceImpl.java#L4130-L4133
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/service/CPFriendlyURLEntryLocalServiceWrapper.java
CPFriendlyURLEntryLocalServiceWrapper.getCPFriendlyURLEntry
@Override public com.liferay.commerce.product.model.CPFriendlyURLEntry getCPFriendlyURLEntry( long CPFriendlyURLEntryId) throws com.liferay.portal.kernel.exception.PortalException { return _cpFriendlyURLEntryLocalService.getCPFriendlyURLEntry(CPFriendlyURLEntryId); }
java
@Override public com.liferay.commerce.product.model.CPFriendlyURLEntry getCPFriendlyURLEntry( long CPFriendlyURLEntryId) throws com.liferay.portal.kernel.exception.PortalException { return _cpFriendlyURLEntryLocalService.getCPFriendlyURLEntry(CPFriendlyURLEntryId); }
[ "@", "Override", "public", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "model", ".", "CPFriendlyURLEntry", "getCPFriendlyURLEntry", "(", "long", "CPFriendlyURLEntryId", ")", "throws", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "...
Returns the cp friendly url entry with the primary key. @param CPFriendlyURLEntryId the primary key of the cp friendly url entry @return the cp friendly url entry @throws PortalException if a cp friendly url entry with the primary key could not be found
[ "Returns", "the", "cp", "friendly", "url", "entry", "with", "the", "primary", "key", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/service/CPFriendlyURLEntryLocalServiceWrapper.java#L320-L325
train
liferay/com-liferay-commerce
commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/base/CommercePaymentMethodGroupRelLocalServiceBaseImpl.java
CommercePaymentMethodGroupRelLocalServiceBaseImpl.addCommercePaymentMethodGroupRel
@Indexable(type = IndexableType.REINDEX) @Override public CommercePaymentMethodGroupRel addCommercePaymentMethodGroupRel( CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) { commercePaymentMethodGroupRel.setNew(true); return commercePaymentMethodGroupRelPersistence.update(commercePaymentMethodGroupRel); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CommercePaymentMethodGroupRel addCommercePaymentMethodGroupRel( CommercePaymentMethodGroupRel commercePaymentMethodGroupRel) { commercePaymentMethodGroupRel.setNew(true); return commercePaymentMethodGroupRelPersistence.update(commercePaymentMethodGroupRel); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CommercePaymentMethodGroupRel", "addCommercePaymentMethodGroupRel", "(", "CommercePaymentMethodGroupRel", "commercePaymentMethodGroupRel", ")", "{", "commercePaymentMethodGroup...
Adds the commerce payment method group rel to the database. Also notifies the appropriate model listeners. @param commercePaymentMethodGroupRel the commerce payment method group rel @return the commerce payment method group rel that was added
[ "Adds", "the", "commerce", "payment", "method", "group", "rel", "to", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/base/CommercePaymentMethodGroupRelLocalServiceBaseImpl.java#L85-L92
train
liferay/com-liferay-commerce
commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/base/CommercePaymentMethodGroupRelLocalServiceBaseImpl.java
CommercePaymentMethodGroupRelLocalServiceBaseImpl.deleteCommercePaymentMethodGroupRel
@Indexable(type = IndexableType.DELETE) @Override public CommercePaymentMethodGroupRel deleteCommercePaymentMethodGroupRel( long commercePaymentMethodGroupRelId) throws PortalException { return commercePaymentMethodGroupRelPersistence.remove(commercePaymentMethodGroupRelId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommercePaymentMethodGroupRel deleteCommercePaymentMethodGroupRel( long commercePaymentMethodGroupRelId) throws PortalException { return commercePaymentMethodGroupRelPersistence.remove(commercePaymentMethodGroupRelId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommercePaymentMethodGroupRel", "deleteCommercePaymentMethodGroupRel", "(", "long", "commercePaymentMethodGroupRelId", ")", "throws", "PortalException", "{", "return", "co...
Deletes the commerce payment method group rel with the primary key from the database. Also notifies the appropriate model listeners. @param commercePaymentMethodGroupRelId the primary key of the commerce payment method group rel @return the commerce payment method group rel that was removed @throws PortalException if a commerce payment method group rel with the primary key could not be found
[ "Deletes", "the", "commerce", "payment", "method", "group", "rel", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/base/CommercePaymentMethodGroupRelLocalServiceBaseImpl.java#L114-L119
train
liferay/com-liferay-commerce
commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionRelLocalServiceBaseImpl.java
CommerceShippingFixedOptionRelLocalServiceBaseImpl.deleteCommerceShippingFixedOptionRel
@Indexable(type = IndexableType.DELETE) @Override public CommerceShippingFixedOptionRel deleteCommerceShippingFixedOptionRel( long commerceShippingFixedOptionRelId) throws PortalException { return commerceShippingFixedOptionRelPersistence.remove(commerceShippingFixedOptionRelId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceShippingFixedOptionRel deleteCommerceShippingFixedOptionRel( long commerceShippingFixedOptionRelId) throws PortalException { return commerceShippingFixedOptionRelPersistence.remove(commerceShippingFixedOptionRelId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceShippingFixedOptionRel", "deleteCommerceShippingFixedOptionRel", "(", "long", "commerceShippingFixedOptionRelId", ")", "throws", "PortalException", "{", "return", ...
Deletes the commerce shipping fixed option rel with the primary key from the database. Also notifies the appropriate model listeners. @param commerceShippingFixedOptionRelId the primary key of the commerce shipping fixed option rel @return the commerce shipping fixed option rel that was removed @throws PortalException if a commerce shipping fixed option rel with the primary key could not be found
[ "Deletes", "the", "commerce", "shipping", "fixed", "option", "rel", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionRelLocalServiceBaseImpl.java#L115-L120
train
liferay/com-liferay-commerce
commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionRelLocalServiceBaseImpl.java
CommerceShippingFixedOptionRelLocalServiceBaseImpl.deleteCommerceShippingFixedOptionRel
@Indexable(type = IndexableType.DELETE) @Override public CommerceShippingFixedOptionRel deleteCommerceShippingFixedOptionRel( CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) { return commerceShippingFixedOptionRelPersistence.remove(commerceShippingFixedOptionRel); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceShippingFixedOptionRel deleteCommerceShippingFixedOptionRel( CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) { return commerceShippingFixedOptionRelPersistence.remove(commerceShippingFixedOptionRel); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceShippingFixedOptionRel", "deleteCommerceShippingFixedOptionRel", "(", "CommerceShippingFixedOptionRel", "commerceShippingFixedOptionRel", ")", "{", "return", "commerce...
Deletes the commerce shipping fixed option rel from the database. Also notifies the appropriate model listeners. @param commerceShippingFixedOptionRel the commerce shipping fixed option rel @return the commerce shipping fixed option rel that was removed
[ "Deletes", "the", "commerce", "shipping", "fixed", "option", "rel", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionRelLocalServiceBaseImpl.java#L128-L133
train
liferay/com-liferay-commerce
commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionRelLocalServiceBaseImpl.java
CommerceShippingFixedOptionRelLocalServiceBaseImpl.updateCommerceShippingFixedOptionRel
@Indexable(type = IndexableType.REINDEX) @Override public CommerceShippingFixedOptionRel updateCommerceShippingFixedOptionRel( CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) { return commerceShippingFixedOptionRelPersistence.update(commerceShippingFixedOptionRel); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CommerceShippingFixedOptionRel updateCommerceShippingFixedOptionRel( CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) { return commerceShippingFixedOptionRelPersistence.update(commerceShippingFixedOptionRel); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CommerceShippingFixedOptionRel", "updateCommerceShippingFixedOptionRel", "(", "CommerceShippingFixedOptionRel", "commerceShippingFixedOptionRel", ")", "{", "return", "commerc...
Updates the commerce shipping fixed option rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. @param commerceShippingFixedOptionRel the commerce shipping fixed option rel @return the commerce shipping fixed option rel that was updated
[ "Updates", "the", "commerce", "shipping", "fixed", "option", "rel", "in", "the", "database", "or", "adds", "it", "if", "it", "does", "not", "yet", "exist", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionRelLocalServiceBaseImpl.java#L323-L328
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUserSegmentRelPersistenceImpl.java
CommerceDiscountUserSegmentRelPersistenceImpl.cacheResult
@Override public void cacheResult( CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel) { entityCache.putResult(CommerceDiscountUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED, CommerceDiscountUserSegmentRelImpl.class, commerceDiscountUserSegmentRel.getPrimaryKey(), commerceDiscountUserSegmentRel); commerceDiscountUserSegmentRel.resetOriginalValues(); }
java
@Override public void cacheResult( CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel) { entityCache.putResult(CommerceDiscountUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED, CommerceDiscountUserSegmentRelImpl.class, commerceDiscountUserSegmentRel.getPrimaryKey(), commerceDiscountUserSegmentRel); commerceDiscountUserSegmentRel.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceDiscountUserSegmentRel", "commerceDiscountUserSegmentRel", ")", "{", "entityCache", ".", "putResult", "(", "CommerceDiscountUserSegmentRelModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceDiscountUserSegmentRelI...
Caches the commerce discount user segment rel in the entity cache if it is enabled. @param commerceDiscountUserSegmentRel the commerce discount user segment rel
[ "Caches", "the", "commerce", "discount", "user", "segment", "rel", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUserSegmentRelPersistenceImpl.java#L1190-L1199
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUserSegmentRelPersistenceImpl.java
CommerceDiscountUserSegmentRelPersistenceImpl.cacheResult
@Override public void cacheResult( List<CommerceDiscountUserSegmentRel> commerceDiscountUserSegmentRels) { for (CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel : commerceDiscountUserSegmentRels) { if (entityCache.getResult( CommerceDiscountUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED, CommerceDiscountUserSegmentRelImpl.class, commerceDiscountUserSegmentRel.getPrimaryKey()) == null) { cacheResult(commerceDiscountUserSegmentRel); } else { commerceDiscountUserSegmentRel.resetOriginalValues(); } } }
java
@Override public void cacheResult( List<CommerceDiscountUserSegmentRel> commerceDiscountUserSegmentRels) { for (CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel : commerceDiscountUserSegmentRels) { if (entityCache.getResult( CommerceDiscountUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED, CommerceDiscountUserSegmentRelImpl.class, commerceDiscountUserSegmentRel.getPrimaryKey()) == null) { cacheResult(commerceDiscountUserSegmentRel); } else { commerceDiscountUserSegmentRel.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceDiscountUserSegmentRel", ">", "commerceDiscountUserSegmentRels", ")", "{", "for", "(", "CommerceDiscountUserSegmentRel", "commerceDiscountUserSegmentRel", ":", "commerceDiscountUserSegmentRels", ")", ...
Caches the commerce discount user segment rels in the entity cache if it is enabled. @param commerceDiscountUserSegmentRels the commerce discount user segment rels
[ "Caches", "the", "commerce", "discount", "user", "segment", "rels", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUserSegmentRelPersistenceImpl.java#L1206-L1220
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUserSegmentRelPersistenceImpl.java
CommerceDiscountUserSegmentRelPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceDiscountUserSegmentRelImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache() { entityCache.clearCache(CommerceDiscountUserSegmentRelImpl.class); finderCache.clearCache(FINDER_CLASS_NAME_ENTITY); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", ")", "{", "entityCache", ".", "clearCache", "(", "CommerceDiscountUserSegmentRelImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "c...
Clears the cache for all commerce discount user segment rels. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "discount", "user", "segment", "rels", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUserSegmentRelPersistenceImpl.java#L1229-L1236
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUserSegmentRelPersistenceImpl.java
CommerceDiscountUserSegmentRelPersistenceImpl.clearCache
@Override public void clearCache( CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel) { entityCache.removeResult(CommerceDiscountUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED, CommerceDiscountUserSegmentRelImpl.class, commerceDiscountUserSegmentRel.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache( CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel) { entityCache.removeResult(CommerceDiscountUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED, CommerceDiscountUserSegmentRelImpl.class, commerceDiscountUserSegmentRel.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceDiscountUserSegmentRel", "commerceDiscountUserSegmentRel", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceDiscountUserSegmentRelModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceDiscountUserSegmentRe...
Clears the cache for the commerce discount user segment rel. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "discount", "user", "segment", "rel", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUserSegmentRelPersistenceImpl.java#L1245-L1254
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUserSegmentRelPersistenceImpl.java
CommerceDiscountUserSegmentRelPersistenceImpl.findAll
@Override public List<CommerceDiscountUserSegmentRel> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceDiscountUserSegmentRel> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceDiscountUserSegmentRel", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce discount user segment rels. @return the commerce discount user segment rels
[ "Returns", "all", "the", "commerce", "discount", "user", "segment", "rels", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountUserSegmentRelPersistenceImpl.java#L1729-L1732
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountOrganizationRelLocalServiceBaseImpl.java
CommerceAccountOrganizationRelLocalServiceBaseImpl.updateCommerceAccountOrganizationRel
@Indexable(type = IndexableType.REINDEX) @Override public CommerceAccountOrganizationRel updateCommerceAccountOrganizationRel( CommerceAccountOrganizationRel commerceAccountOrganizationRel) { return commerceAccountOrganizationRelPersistence.update(commerceAccountOrganizationRel); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CommerceAccountOrganizationRel updateCommerceAccountOrganizationRel( CommerceAccountOrganizationRel commerceAccountOrganizationRel) { return commerceAccountOrganizationRelPersistence.update(commerceAccountOrganizationRel); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CommerceAccountOrganizationRel", "updateCommerceAccountOrganizationRel", "(", "CommerceAccountOrganizationRel", "commerceAccountOrganizationRel", ")", "{", "return", "commerc...
Updates the commerce account organization rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. @param commerceAccountOrganizationRel the commerce account organization rel @return the commerce account organization rel that was updated
[ "Updates", "the", "commerce", "account", "organization", "rel", "in", "the", "database", "or", "adds", "it", "if", "it", "does", "not", "yet", "exist", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountOrganizationRelLocalServiceBaseImpl.java#L327-L332
train