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-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java
CommerceOrderNotePersistenceImpl.cacheResult
@Override public void cacheResult(CommerceOrderNote commerceOrderNote) { entityCache.putResult(CommerceOrderNoteModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderNoteImpl.class, commerceOrderNote.getPrimaryKey(), commerceOrderNote); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { commerceOrderNote.getCompanyId(), commerceOrderNote.getExternalReferenceCode() }, commerceOrderNote); commerceOrderNote.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceOrderNote commerceOrderNote) { entityCache.putResult(CommerceOrderNoteModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderNoteImpl.class, commerceOrderNote.getPrimaryKey(), commerceOrderNote); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { commerceOrderNote.getCompanyId(), commerceOrderNote.getExternalReferenceCode() }, commerceOrderNote); commerceOrderNote.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceOrderNote", "commerceOrderNote", ")", "{", "entityCache", ".", "putResult", "(", "CommerceOrderNoteModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceOrderNoteImpl", ".", "class", ",", "commerceOrderNote"...
Caches the commerce order note in the entity cache if it is enabled. @param commerceOrderNote the commerce order note
[ "Caches", "the", "commerce", "order", "note", "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/CommerceOrderNotePersistenceImpl.java#L1441-L1454
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java
CommerceOrderNotePersistenceImpl.cacheResult
@Override public void cacheResult(List<CommerceOrderNote> commerceOrderNotes) { for (CommerceOrderNote commerceOrderNote : commerceOrderNotes) { if (entityCache.getResult( CommerceOrderNoteModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderNoteImpl.class, commerceOrderNote.getPrimaryKey()) == null) { cacheResult(commerceOrderNote); } else { commerceOrderNote.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CommerceOrderNote> commerceOrderNotes) { for (CommerceOrderNote commerceOrderNote : commerceOrderNotes) { if (entityCache.getResult( CommerceOrderNoteModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderNoteImpl.class, commerceOrderNote.getPrimaryKey()) == null) { cacheResult(commerceOrderNote); } else { commerceOrderNote.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceOrderNote", ">", "commerceOrderNotes", ")", "{", "for", "(", "CommerceOrderNote", "commerceOrderNote", ":", "commerceOrderNotes", ")", "{", "if", "(", "entityCache", ".", "getResult", "("...
Caches the commerce order notes in the entity cache if it is enabled. @param commerceOrderNotes the commerce order notes
[ "Caches", "the", "commerce", "order", "notes", "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/CommerceOrderNotePersistenceImpl.java#L1461-L1474
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java
CommerceOrderNotePersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceOrderNoteImpl.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(CommerceOrderNoteImpl.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", "(", "CommerceOrderNoteImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache", ...
Clears the cache for all commerce order notes. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "order", "notes", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java#L1483-L1490
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java
CommerceOrderNotePersistenceImpl.clearCache
@Override public void clearCache(CommerceOrderNote commerceOrderNote) { entityCache.removeResult(CommerceOrderNoteModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderNoteImpl.class, commerceOrderNote.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceOrderNoteModelImpl)commerceOrderNote, true); }
java
@Override public void clearCache(CommerceOrderNote commerceOrderNote) { entityCache.removeResult(CommerceOrderNoteModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderNoteImpl.class, commerceOrderNote.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceOrderNoteModelImpl)commerceOrderNote, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceOrderNote", "commerceOrderNote", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceOrderNoteModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceOrderNoteImpl", ".", "class", ",", "commerceOrderNot...
Clears the cache for the commerce order note. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "order", "note", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java#L1499-L1509
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java
CommerceOrderNotePersistenceImpl.findAll
@Override public List<CommerceOrderNote> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceOrderNote> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceOrderNote", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce order notes. @return the commerce order notes
[ "Returns", "all", "the", "commerce", "order", "notes", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderNotePersistenceImpl.java#L2011-L2014
train
liferay/com-liferay-commerce
commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java
CommerceUserSegmentEntryServiceBaseImpl.setCommerceUserSegmentCriterionService
public void setCommerceUserSegmentCriterionService( com.liferay.commerce.user.segment.service.CommerceUserSegmentCriterionService commerceUserSegmentCriterionService) { this.commerceUserSegmentCriterionService = commerceUserSegmentCriterionService; }
java
public void setCommerceUserSegmentCriterionService( com.liferay.commerce.user.segment.service.CommerceUserSegmentCriterionService commerceUserSegmentCriterionService) { this.commerceUserSegmentCriterionService = commerceUserSegmentCriterionService; }
[ "public", "void", "setCommerceUserSegmentCriterionService", "(", "com", ".", "liferay", ".", "commerce", ".", "user", ".", "segment", ".", "service", ".", "CommerceUserSegmentCriterionService", "commerceUserSegmentCriterionService", ")", "{", "this", ".", "commerceUserSeg...
Sets the commerce user segment criterion remote service. @param commerceUserSegmentCriterionService the commerce user segment criterion remote service
[ "Sets", "the", "commerce", "user", "segment", "criterion", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java#L95-L98
train
liferay/com-liferay-commerce
commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java
CommerceUserSegmentEntryServiceBaseImpl.setGroupLocalService
public void setGroupLocalService( com.liferay.portal.kernel.service.GroupLocalService groupLocalService) { this.groupLocalService = groupLocalService; }
java
public void setGroupLocalService( com.liferay.portal.kernel.service.GroupLocalService groupLocalService) { this.groupLocalService = groupLocalService; }
[ "public", "void", "setGroupLocalService", "(", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "service", ".", "GroupLocalService", "groupLocalService", ")", "{", "this", ".", "groupLocalService", "=", "groupLocalService", ";", "}" ]
Sets the group local service. @param groupLocalService the group local service
[ "Sets", "the", "group", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java#L266-L269
train
liferay/com-liferay-commerce
commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java
CommerceUserSegmentEntryServiceBaseImpl.setGroupService
public void setGroupService( com.liferay.portal.kernel.service.GroupService groupService) { this.groupService = groupService; }
java
public void setGroupService( com.liferay.portal.kernel.service.GroupService groupService) { this.groupService = groupService; }
[ "public", "void", "setGroupService", "(", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "service", ".", "GroupService", "groupService", ")", "{", "this", ".", "groupService", "=", "groupService", ";", "}" ]
Sets the group remote service. @param groupService the group remote service
[ "Sets", "the", "group", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java#L285-L288
train
liferay/com-liferay-commerce
commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java
CommerceUserSegmentEntryServiceBaseImpl.setRoleLocalService
public void setRoleLocalService( com.liferay.portal.kernel.service.RoleLocalService roleLocalService) { this.roleLocalService = roleLocalService; }
java
public void setRoleLocalService( com.liferay.portal.kernel.service.RoleLocalService roleLocalService) { this.roleLocalService = roleLocalService; }
[ "public", "void", "setRoleLocalService", "(", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "service", ".", "RoleLocalService", "roleLocalService", ")", "{", "this", ".", "roleLocalService", "=", "roleLocalService", ";", "}" ]
Sets the role local service. @param roleLocalService the role local service
[ "Sets", "the", "role", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java#L341-L344
train
liferay/com-liferay-commerce
commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java
CommerceUserSegmentEntryServiceBaseImpl.setRoleService
public void setRoleService( com.liferay.portal.kernel.service.RoleService roleService) { this.roleService = roleService; }
java
public void setRoleService( com.liferay.portal.kernel.service.RoleService roleService) { this.roleService = roleService; }
[ "public", "void", "setRoleService", "(", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "service", ".", "RoleService", "roleService", ")", "{", "this", ".", "roleService", "=", "roleService", ";", "}" ]
Sets the role remote service. @param roleService the role remote service
[ "Sets", "the", "role", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentEntryServiceBaseImpl.java#L360-L363
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/service/CPRuleAssetCategoryRelLocalServiceWrapper.java
CPRuleAssetCategoryRelLocalServiceWrapper.getCPRuleAssetCategoryRel
@Override public com.liferay.commerce.product.model.CPRuleAssetCategoryRel getCPRuleAssetCategoryRel( long CPRuleAssetCategoryRelId) throws com.liferay.portal.kernel.exception.PortalException { return _cpRuleAssetCategoryRelLocalService.getCPRuleAssetCategoryRel(CPRuleAssetCategoryRelId); }
java
@Override public com.liferay.commerce.product.model.CPRuleAssetCategoryRel getCPRuleAssetCategoryRel( long CPRuleAssetCategoryRelId) throws com.liferay.portal.kernel.exception.PortalException { return _cpRuleAssetCategoryRelLocalService.getCPRuleAssetCategoryRel(CPRuleAssetCategoryRelId); }
[ "@", "Override", "public", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "model", ".", "CPRuleAssetCategoryRel", "getCPRuleAssetCategoryRel", "(", "long", "CPRuleAssetCategoryRelId", ")", "throws", "com", ".", "liferay", ".", "portal", ".", "kernel"...
Returns the cp rule asset category rel with the primary key. @param CPRuleAssetCategoryRelId the primary key of the cp rule asset category rel @return the cp rule asset category rel @throws PortalException if a cp rule asset category rel with the primary key could not be found
[ "Returns", "the", "cp", "rule", "asset", "category", "rel", "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/CPRuleAssetCategoryRelLocalServiceWrapper.java#L228-L233
train
liferay/com-liferay-commerce
commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionLocalServiceBaseImpl.java
CommerceShippingFixedOptionLocalServiceBaseImpl.addCommerceShippingFixedOption
@Indexable(type = IndexableType.REINDEX) @Override public CommerceShippingFixedOption addCommerceShippingFixedOption( CommerceShippingFixedOption commerceShippingFixedOption) { commerceShippingFixedOption.setNew(true); return commerceShippingFixedOptionPersistence.update(commerceShippingFixedOption); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CommerceShippingFixedOption addCommerceShippingFixedOption( CommerceShippingFixedOption commerceShippingFixedOption) { commerceShippingFixedOption.setNew(true); return commerceShippingFixedOptionPersistence.update(commerceShippingFixedOption); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CommerceShippingFixedOption", "addCommerceShippingFixedOption", "(", "CommerceShippingFixedOption", "commerceShippingFixedOption", ")", "{", "commerceShippingFixedOption", "....
Adds the commerce shipping fixed option to the database. Also notifies the appropriate model listeners. @param commerceShippingFixedOption the commerce shipping fixed option @return the commerce shipping fixed option that was added
[ "Adds", "the", "commerce", "shipping", "fixed", "option", "to", "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/CommerceShippingFixedOptionLocalServiceBaseImpl.java#L85-L92
train
liferay/com-liferay-commerce
commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionLocalServiceBaseImpl.java
CommerceShippingFixedOptionLocalServiceBaseImpl.updateCommerceShippingFixedOption
@Indexable(type = IndexableType.REINDEX) @Override public CommerceShippingFixedOption updateCommerceShippingFixedOption( CommerceShippingFixedOption commerceShippingFixedOption) { return commerceShippingFixedOptionPersistence.update(commerceShippingFixedOption); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CommerceShippingFixedOption updateCommerceShippingFixedOption( CommerceShippingFixedOption commerceShippingFixedOption) { return commerceShippingFixedOptionPersistence.update(commerceShippingFixedOption); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CommerceShippingFixedOption", "updateCommerceShippingFixedOption", "(", "CommerceShippingFixedOption", "commerceShippingFixedOption", ")", "{", "return", "commerceShippingFix...
Updates the commerce shipping fixed option in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. @param commerceShippingFixedOption the commerce shipping fixed option @return the commerce shipping fixed option that was updated
[ "Updates", "the", "commerce", "shipping", "fixed", "option", "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/CommerceShippingFixedOptionLocalServiceBaseImpl.java#L322-L327
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceAvailabilityEstimateLocalServiceBaseImpl.java
CommerceAvailabilityEstimateLocalServiceBaseImpl.getCommerceAvailabilityEstimatesByUuidAndCompanyId
@Override public List<CommerceAvailabilityEstimate> getCommerceAvailabilityEstimatesByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) { return commerceAvailabilityEstimatePersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CommerceAvailabilityEstimate> getCommerceAvailabilityEstimatesByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommerceAvailabilityEstimate> orderByComparator) { return commerceAvailabilityEstimatePersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CommerceAvailabilityEstimate", ">", "getCommerceAvailabilityEstimatesByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CommerceAvailabili...
Returns a range of commerce availability estimates matching the UUID and company. @param uuid the UUID of the commerce availability estimates @param companyId the primary key of the company @param start the lower bound of the range of commerce availability estimates @param end the upper bound of the range of commerce availability estimates (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching commerce availability estimates, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "commerce", "availability", "estimates", "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/CommerceAvailabilityEstimateLocalServiceBaseImpl.java#L412-L418
train
liferay/com-liferay-commerce
commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java
CommerceTaxFixedRatePersistenceImpl.cacheResult
@Override public void cacheResult(CommerceTaxFixedRate commerceTaxFixedRate) { entityCache.putResult(CommerceTaxFixedRateModelImpl.ENTITY_CACHE_ENABLED, CommerceTaxFixedRateImpl.class, commerceTaxFixedRate.getPrimaryKey(), commerceTaxFixedRate); finderCache.putResult(FINDER_PATH_FETCH_BY_C_C, new Object[] { commerceTaxFixedRate.getCPTaxCategoryId(), commerceTaxFixedRate.getCommerceTaxMethodId() }, commerceTaxFixedRate); commerceTaxFixedRate.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceTaxFixedRate commerceTaxFixedRate) { entityCache.putResult(CommerceTaxFixedRateModelImpl.ENTITY_CACHE_ENABLED, CommerceTaxFixedRateImpl.class, commerceTaxFixedRate.getPrimaryKey(), commerceTaxFixedRate); finderCache.putResult(FINDER_PATH_FETCH_BY_C_C, new Object[] { commerceTaxFixedRate.getCPTaxCategoryId(), commerceTaxFixedRate.getCommerceTaxMethodId() }, commerceTaxFixedRate); commerceTaxFixedRate.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceTaxFixedRate", "commerceTaxFixedRate", ")", "{", "entityCache", ".", "putResult", "(", "CommerceTaxFixedRateModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceTaxFixedRateImpl", ".", "class", ",", "commer...
Caches the commerce tax fixed rate in the entity cache if it is enabled. @param commerceTaxFixedRate the commerce tax fixed rate
[ "Caches", "the", "commerce", "tax", "fixed", "rate", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
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/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java#L1379-L1392
train
liferay/com-liferay-commerce
commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java
CommerceTaxFixedRatePersistenceImpl.cacheResult
@Override public void cacheResult(List<CommerceTaxFixedRate> commerceTaxFixedRates) { for (CommerceTaxFixedRate commerceTaxFixedRate : commerceTaxFixedRates) { if (entityCache.getResult( CommerceTaxFixedRateModelImpl.ENTITY_CACHE_ENABLED, CommerceTaxFixedRateImpl.class, commerceTaxFixedRate.getPrimaryKey()) == null) { cacheResult(commerceTaxFixedRate); } else { commerceTaxFixedRate.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CommerceTaxFixedRate> commerceTaxFixedRates) { for (CommerceTaxFixedRate commerceTaxFixedRate : commerceTaxFixedRates) { if (entityCache.getResult( CommerceTaxFixedRateModelImpl.ENTITY_CACHE_ENABLED, CommerceTaxFixedRateImpl.class, commerceTaxFixedRate.getPrimaryKey()) == null) { cacheResult(commerceTaxFixedRate); } else { commerceTaxFixedRate.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceTaxFixedRate", ">", "commerceTaxFixedRates", ")", "{", "for", "(", "CommerceTaxFixedRate", "commerceTaxFixedRate", ":", "commerceTaxFixedRates", ")", "{", "if", "(", "entityCache", ".", "ge...
Caches the commerce tax fixed rates in the entity cache if it is enabled. @param commerceTaxFixedRates the commerce tax fixed rates
[ "Caches", "the", "commerce", "tax", "fixed", "rates", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
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/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java#L1399-L1412
train
liferay/com-liferay-commerce
commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java
CommerceTaxFixedRatePersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceTaxFixedRateImpl.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(CommerceTaxFixedRateImpl.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", "(", "CommerceTaxFixedRateImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache"...
Clears the cache for all commerce tax fixed rates. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "tax", "fixed", "rates", "." ]
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/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java#L1421-L1428
train
liferay/com-liferay-commerce
commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java
CommerceTaxFixedRatePersistenceImpl.clearCache
@Override public void clearCache(CommerceTaxFixedRate commerceTaxFixedRate) { entityCache.removeResult(CommerceTaxFixedRateModelImpl.ENTITY_CACHE_ENABLED, CommerceTaxFixedRateImpl.class, commerceTaxFixedRate.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceTaxFixedRateModelImpl)commerceTaxFixedRate, true); }
java
@Override public void clearCache(CommerceTaxFixedRate commerceTaxFixedRate) { entityCache.removeResult(CommerceTaxFixedRateModelImpl.ENTITY_CACHE_ENABLED, CommerceTaxFixedRateImpl.class, commerceTaxFixedRate.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceTaxFixedRateModelImpl)commerceTaxFixedRate, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceTaxFixedRate", "commerceTaxFixedRate", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceTaxFixedRateModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceTaxFixedRateImpl", ".", "class", ",", "comm...
Clears the cache for the commerce tax fixed rate. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "tax", "fixed", "rate", "." ]
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/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java#L1437-L1447
train
liferay/com-liferay-commerce
commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java
CommerceTaxFixedRatePersistenceImpl.findAll
@Override public List<CommerceTaxFixedRate> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceTaxFixedRate> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceTaxFixedRate", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce tax fixed rates. @return the commerce tax fixed rates
[ "Returns", "all", "the", "commerce", "tax", "fixed", "rates", "." ]
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/persistence/impl/CommerceTaxFixedRatePersistenceImpl.java#L1953-L1956
train
liferay/com-liferay-commerce
commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.java
CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.updateCommerceTaxFixedRateAddressRel
@Indexable(type = IndexableType.REINDEX) @Override public CommerceTaxFixedRateAddressRel updateCommerceTaxFixedRateAddressRel( CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) { return commerceTaxFixedRateAddressRelPersistence.update(commerceTaxFixedRateAddressRel); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CommerceTaxFixedRateAddressRel updateCommerceTaxFixedRateAddressRel( CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) { return commerceTaxFixedRateAddressRelPersistence.update(commerceTaxFixedRateAddressRel); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CommerceTaxFixedRateAddressRel", "updateCommerceTaxFixedRateAddressRel", "(", "CommerceTaxFixedRateAddressRel", "commerceTaxFixedRateAddressRel", ")", "{", "return", "commerc...
Updates the commerce tax fixed rate address rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. @param commerceTaxFixedRateAddressRel the commerce tax fixed rate address rel @return the commerce tax fixed rate address rel that was updated
[ "Updates", "the", "commerce", "tax", "fixed", "rate", "address", "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-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.java#L323-L328
train
liferay/com-liferay-commerce
commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.java
CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.getCommerceTaxFixedRateLocalService
public com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateLocalService getCommerceTaxFixedRateLocalService() { return commerceTaxFixedRateLocalService; }
java
public com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateLocalService getCommerceTaxFixedRateLocalService() { return commerceTaxFixedRateLocalService; }
[ "public", "com", ".", "liferay", ".", "commerce", ".", "tax", ".", "engine", ".", "fixed", ".", "service", ".", "CommerceTaxFixedRateLocalService", "getCommerceTaxFixedRateLocalService", "(", ")", "{", "return", "commerceTaxFixedRateLocalService", ";", "}" ]
Returns the commerce tax fixed rate local service. @return the commerce tax fixed rate local service
[ "Returns", "the", "commerce", "tax", "fixed", "rate", "local", "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/CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.java#L335-L337
train
liferay/com-liferay-commerce
commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.java
CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.setCommerceTaxFixedRateLocalService
public void setCommerceTaxFixedRateLocalService( com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateLocalService commerceTaxFixedRateLocalService) { this.commerceTaxFixedRateLocalService = commerceTaxFixedRateLocalService; }
java
public void setCommerceTaxFixedRateLocalService( com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateLocalService commerceTaxFixedRateLocalService) { this.commerceTaxFixedRateLocalService = commerceTaxFixedRateLocalService; }
[ "public", "void", "setCommerceTaxFixedRateLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "tax", ".", "engine", ".", "fixed", ".", "service", ".", "CommerceTaxFixedRateLocalService", "commerceTaxFixedRateLocalService", ")", "{", "this", ".", "commerce...
Sets the commerce tax fixed rate local service. @param commerceTaxFixedRateLocalService the commerce tax fixed rate local service
[ "Sets", "the", "commerce", "tax", "fixed", "rate", "local", "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/CommerceTaxFixedRateAddressRelLocalServiceBaseImpl.java#L344-L347
train
liferay/com-liferay-commerce
commerce-account-api/src/main/java/com/liferay/commerce/account/service/persistence/CommerceAccountOrganizationRelUtil.java
CommerceAccountOrganizationRelUtil.findAll
public static List<CommerceAccountOrganizationRel> findAll(int start, int end, OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) { return getPersistence().findAll(start, end, orderByComparator); }
java
public static List<CommerceAccountOrganizationRel> findAll(int start, int end, OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) { return getPersistence().findAll(start, end, orderByComparator); }
[ "public", "static", "List", "<", "CommerceAccountOrganizationRel", ">", "findAll", "(", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CommerceAccountOrganizationRel", ">", "orderByComparator", ")", "{", "return", "getPersistence", "(", ")", ".",...
Returns an ordered range of all the commerce account organization rels. <p> Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link CommerceAccountOrganizationRelModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. </p> @param start the lower bound of the range of commerce account organization rels @param end the upper bound of the range of commerce account organization rels (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the ordered range of commerce account organization rels
[ "Returns", "an", "ordered", "range", "of", "all", "the", "commerce", "account", "organization", "rels", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-api/src/main/java/com/liferay/commerce/account/service/persistence/CommerceAccountOrganizationRelUtil.java#L582-L586
train
liferay/com-liferay-commerce
commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/base/CPDefinitionVirtualSettingLocalServiceBaseImpl.java
CPDefinitionVirtualSettingLocalServiceBaseImpl.updateCPDefinitionVirtualSetting
@Indexable(type = IndexableType.REINDEX) @Override public CPDefinitionVirtualSetting updateCPDefinitionVirtualSetting( CPDefinitionVirtualSetting cpDefinitionVirtualSetting) { return cpDefinitionVirtualSettingPersistence.update(cpDefinitionVirtualSetting); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CPDefinitionVirtualSetting updateCPDefinitionVirtualSetting( CPDefinitionVirtualSetting cpDefinitionVirtualSetting) { return cpDefinitionVirtualSettingPersistence.update(cpDefinitionVirtualSetting); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CPDefinitionVirtualSetting", "updateCPDefinitionVirtualSetting", "(", "CPDefinitionVirtualSetting", "cpDefinitionVirtualSetting", ")", "{", "return", "cpDefinitionVirtualSett...
Updates the cp definition virtual setting in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. @param cpDefinitionVirtualSetting the cp definition virtual setting @return the cp definition virtual setting that was updated
[ "Updates", "the", "cp", "definition", "virtual", "setting", "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-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/base/CPDefinitionVirtualSettingLocalServiceBaseImpl.java#L462-L467
train
liferay/com-liferay-commerce
commerce-tax-service/src/main/java/com/liferay/commerce/tax/service/base/CommerceTaxMethodServiceBaseImpl.java
CommerceTaxMethodServiceBaseImpl.setCommerceTaxMethodLocalService
public void setCommerceTaxMethodLocalService( com.liferay.commerce.tax.service.CommerceTaxMethodLocalService commerceTaxMethodLocalService) { this.commerceTaxMethodLocalService = commerceTaxMethodLocalService; }
java
public void setCommerceTaxMethodLocalService( com.liferay.commerce.tax.service.CommerceTaxMethodLocalService commerceTaxMethodLocalService) { this.commerceTaxMethodLocalService = commerceTaxMethodLocalService; }
[ "public", "void", "setCommerceTaxMethodLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "tax", ".", "service", ".", "CommerceTaxMethodLocalService", "commerceTaxMethodLocalService", ")", "{", "this", ".", "commerceTaxMethodLocalService", "=", "commerceTaxM...
Sets the commerce tax method local service. @param commerceTaxMethodLocalService the commerce tax method local service
[ "Sets", "the", "commerce", "tax", "method", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-service/src/main/java/com/liferay/commerce/tax/service/base/CommerceTaxMethodServiceBaseImpl.java#L70-L73
train
liferay/com-liferay-commerce
commerce-api/src/main/java/com/liferay/commerce/service/CommerceCountryLocalServiceUtil.java
CommerceCountryLocalServiceUtil.getCommerceCountry
public static com.liferay.commerce.model.CommerceCountry getCommerceCountry( long commerceCountryId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getCommerceCountry(commerceCountryId); }
java
public static com.liferay.commerce.model.CommerceCountry getCommerceCountry( long commerceCountryId) throws com.liferay.portal.kernel.exception.PortalException { return getService().getCommerceCountry(commerceCountryId); }
[ "public", "static", "com", ".", "liferay", ".", "commerce", ".", "model", ".", "CommerceCountry", "getCommerceCountry", "(", "long", "commerceCountryId", ")", "throws", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "exception", ".", "PortalException"...
Returns the commerce country with the primary key. @param commerceCountryId the primary key of the commerce country @return the commerce country @throws PortalException if a commerce country with the primary key could not be found
[ "Returns", "the", "commerce", "country", "with", "the", "primary", "key", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-api/src/main/java/com/liferay/commerce/service/CommerceCountryLocalServiceUtil.java#L324-L328
train
liferay/com-liferay-commerce
commerce-notification-api/src/main/java/com/liferay/commerce/notification/service/CommerceNotificationTemplateUserSegmentRelLocalServiceWrapper.java
CommerceNotificationTemplateUserSegmentRelLocalServiceWrapper.getCommerceNotificationTemplateUserSegmentRel
@Override public com.liferay.commerce.notification.model.CommerceNotificationTemplateUserSegmentRel getCommerceNotificationTemplateUserSegmentRel( long commerceNotificationTemplateUserSegmentRelId) throws com.liferay.portal.kernel.exception.PortalException { return _commerceNotificationTemplateUserSegmentRelLocalService.getCommerceNotificationTemplateUserSegmentRel(commerceNotificationTemplateUserSegmentRelId); }
java
@Override public com.liferay.commerce.notification.model.CommerceNotificationTemplateUserSegmentRel getCommerceNotificationTemplateUserSegmentRel( long commerceNotificationTemplateUserSegmentRelId) throws com.liferay.portal.kernel.exception.PortalException { return _commerceNotificationTemplateUserSegmentRelLocalService.getCommerceNotificationTemplateUserSegmentRel(commerceNotificationTemplateUserSegmentRelId); }
[ "@", "Override", "public", "com", ".", "liferay", ".", "commerce", ".", "notification", ".", "model", ".", "CommerceNotificationTemplateUserSegmentRel", "getCommerceNotificationTemplateUserSegmentRel", "(", "long", "commerceNotificationTemplateUserSegmentRelId", ")", "throws", ...
Returns the commerce notification template user segment rel with the primary key. @param commerceNotificationTemplateUserSegmentRelId the primary key of the commerce notification template user segment rel @return the commerce notification template user segment rel @throws PortalException if a commerce notification template user segment rel with the primary key could not be found
[ "Returns", "the", "commerce", "notification", "template", "user", "segment", "rel", "with", "the", "primary", "key", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-api/src/main/java/com/liferay/commerce/notification/service/CommerceNotificationTemplateUserSegmentRelLocalServiceWrapper.java#L229-L234
train
liferay/com-liferay-commerce
commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/base/CommerceCurrencyServiceBaseImpl.java
CommerceCurrencyServiceBaseImpl.setCommerceCurrencyLocalService
public void setCommerceCurrencyLocalService( com.liferay.commerce.currency.service.CommerceCurrencyLocalService commerceCurrencyLocalService) { this.commerceCurrencyLocalService = commerceCurrencyLocalService; }
java
public void setCommerceCurrencyLocalService( com.liferay.commerce.currency.service.CommerceCurrencyLocalService commerceCurrencyLocalService) { this.commerceCurrencyLocalService = commerceCurrencyLocalService; }
[ "public", "void", "setCommerceCurrencyLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "currency", ".", "service", ".", "CommerceCurrencyLocalService", "commerceCurrencyLocalService", ")", "{", "this", ".", "commerceCurrencyLocalService", "=", "commerceCur...
Sets the commerce currency local service. @param commerceCurrencyLocalService the commerce currency local service
[ "Sets", "the", "commerce", "currency", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/base/CommerceCurrencyServiceBaseImpl.java#L71-L74
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPRuleAssetCategoryRelLocalServiceBaseImpl.java
CPRuleAssetCategoryRelLocalServiceBaseImpl.deleteCPRuleAssetCategoryRel
@Indexable(type = IndexableType.DELETE) @Override public CPRuleAssetCategoryRel deleteCPRuleAssetCategoryRel( long CPRuleAssetCategoryRelId) throws PortalException { return cpRuleAssetCategoryRelPersistence.remove(CPRuleAssetCategoryRelId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CPRuleAssetCategoryRel deleteCPRuleAssetCategoryRel( long CPRuleAssetCategoryRelId) throws PortalException { return cpRuleAssetCategoryRelPersistence.remove(CPRuleAssetCategoryRelId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CPRuleAssetCategoryRel", "deleteCPRuleAssetCategoryRel", "(", "long", "CPRuleAssetCategoryRelId", ")", "throws", "PortalException", "{", "return", "cpRuleAssetCategoryRelP...
Deletes the cp rule asset category rel with the primary key from the database. Also notifies the appropriate model listeners. @param CPRuleAssetCategoryRelId the primary key of the cp rule asset category rel @return the cp rule asset category rel that was removed @throws PortalException if a cp rule asset category rel with the primary key could not be found
[ "Deletes", "the", "cp", "rule", "asset", "category", "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-product-service/src/main/java/com/liferay/commerce/product/service/base/CPRuleAssetCategoryRelLocalServiceBaseImpl.java#L134-L139
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPRuleAssetCategoryRelLocalServiceBaseImpl.java
CPRuleAssetCategoryRelLocalServiceBaseImpl.deleteCPRuleAssetCategoryRel
@Indexable(type = IndexableType.DELETE) @Override public CPRuleAssetCategoryRel deleteCPRuleAssetCategoryRel( CPRuleAssetCategoryRel cpRuleAssetCategoryRel) { return cpRuleAssetCategoryRelPersistence.remove(cpRuleAssetCategoryRel); }
java
@Indexable(type = IndexableType.DELETE) @Override public CPRuleAssetCategoryRel deleteCPRuleAssetCategoryRel( CPRuleAssetCategoryRel cpRuleAssetCategoryRel) { return cpRuleAssetCategoryRelPersistence.remove(cpRuleAssetCategoryRel); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CPRuleAssetCategoryRel", "deleteCPRuleAssetCategoryRel", "(", "CPRuleAssetCategoryRel", "cpRuleAssetCategoryRel", ")", "{", "return", "cpRuleAssetCategoryRelPersistence", "....
Deletes the cp rule asset category rel from the database. Also notifies the appropriate model listeners. @param cpRuleAssetCategoryRel the cp rule asset category rel @return the cp rule asset category rel that was removed
[ "Deletes", "the", "cp", "rule", "asset", "category", "rel", "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/CPRuleAssetCategoryRelLocalServiceBaseImpl.java#L147-L152
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceEntryLocalServiceBaseImpl.java
CommercePriceEntryLocalServiceBaseImpl.deleteCommercePriceEntry
@Indexable(type = IndexableType.DELETE) @Override public CommercePriceEntry deleteCommercePriceEntry( long commercePriceEntryId) throws PortalException { return commercePriceEntryPersistence.remove(commercePriceEntryId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommercePriceEntry deleteCommercePriceEntry( long commercePriceEntryId) throws PortalException { return commercePriceEntryPersistence.remove(commercePriceEntryId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommercePriceEntry", "deleteCommercePriceEntry", "(", "long", "commercePriceEntryId", ")", "throws", "PortalException", "{", "return", "commercePriceEntryPersistence", "...
Deletes the commerce price entry with the primary key from the database. Also notifies the appropriate model listeners. @param commercePriceEntryId the primary key of the commerce price entry @return the commerce price entry that was removed @throws PortalException if a commerce price entry with the primary key could not be found
[ "Deletes", "the", "commerce", "price", "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-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceEntryLocalServiceBaseImpl.java#L126-L131
train
liferay/com-liferay-commerce
commerce-user-segment-api/src/main/java/com/liferay/commerce/user/segment/model/CommerceUserSegmentEntryWrapper.java
CommerceUserSegmentEntryWrapper.getName
@Override public String getName(String languageId, boolean useDefault) { return _commerceUserSegmentEntry.getName(languageId, useDefault); }
java
@Override public String getName(String languageId, boolean useDefault) { return _commerceUserSegmentEntry.getName(languageId, useDefault); }
[ "@", "Override", "public", "String", "getName", "(", "String", "languageId", ",", "boolean", "useDefault", ")", "{", "return", "_commerceUserSegmentEntry", ".", "getName", "(", "languageId", ",", "useDefault", ")", ";", "}" ]
Returns the localized name of this commerce user segment entry 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 commerce user segment entry
[ "Returns", "the", "localized", "name", "of", "this", "commerce", "user", "segment", "entry", "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-user-segment-api/src/main/java/com/liferay/commerce/user/segment/model/CommerceUserSegmentEntryWrapper.java#L306-L309
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java
CommerceOrderPersistenceImpl.cacheResult
@Override public void cacheResult(CommerceOrder commerceOrder) { entityCache.putResult(CommerceOrderModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderImpl.class, commerceOrder.getPrimaryKey(), commerceOrder); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { commerceOrder.getUuid(), commerceOrder.getGroupId() }, commerceOrder); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { commerceOrder.getCompanyId(), commerceOrder.getExternalReferenceCode() }, commerceOrder); commerceOrder.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceOrder commerceOrder) { entityCache.putResult(CommerceOrderModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderImpl.class, commerceOrder.getPrimaryKey(), commerceOrder); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { commerceOrder.getUuid(), commerceOrder.getGroupId() }, commerceOrder); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { commerceOrder.getCompanyId(), commerceOrder.getExternalReferenceCode() }, commerceOrder); commerceOrder.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceOrder", "commerceOrder", ")", "{", "entityCache", ".", "putResult", "(", "CommerceOrderModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceOrderImpl", ".", "class", ",", "commerceOrder", ".", "getPrima...
Caches the commerce order in the entity cache if it is enabled. @param commerceOrder the commerce order
[ "Caches", "the", "commerce", "order", "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/CommerceOrderPersistenceImpl.java#L6163-L6180
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java
CommerceOrderPersistenceImpl.cacheResult
@Override public void cacheResult(List<CommerceOrder> commerceOrders) { for (CommerceOrder commerceOrder : commerceOrders) { if (entityCache.getResult( CommerceOrderModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderImpl.class, commerceOrder.getPrimaryKey()) == null) { cacheResult(commerceOrder); } else { commerceOrder.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CommerceOrder> commerceOrders) { for (CommerceOrder commerceOrder : commerceOrders) { if (entityCache.getResult( CommerceOrderModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderImpl.class, commerceOrder.getPrimaryKey()) == null) { cacheResult(commerceOrder); } else { commerceOrder.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceOrder", ">", "commerceOrders", ")", "{", "for", "(", "CommerceOrder", "commerceOrder", ":", "commerceOrders", ")", "{", "if", "(", "entityCache", ".", "getResult", "(", "CommerceOrderMo...
Caches the commerce orders in the entity cache if it is enabled. @param commerceOrders the commerce orders
[ "Caches", "the", "commerce", "orders", "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/CommerceOrderPersistenceImpl.java#L6187-L6199
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java
CommerceOrderPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceOrderImpl.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(CommerceOrderImpl.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", "(", "CommerceOrderImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache", "("...
Clears the cache for all commerce orders. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "orders", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java#L6208-L6215
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java
CommerceOrderPersistenceImpl.clearCache
@Override public void clearCache(CommerceOrder commerceOrder) { entityCache.removeResult(CommerceOrderModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderImpl.class, commerceOrder.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceOrderModelImpl)commerceOrder, true); }
java
@Override public void clearCache(CommerceOrder commerceOrder) { entityCache.removeResult(CommerceOrderModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderImpl.class, commerceOrder.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceOrderModelImpl)commerceOrder, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceOrder", "commerceOrder", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceOrderModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceOrderImpl", ".", "class", ",", "commerceOrder", ".", "getPri...
Clears the cache for the commerce order. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "order", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java#L6224-L6233
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java
CommerceOrderPersistenceImpl.findAll
@Override public List<CommerceOrder> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceOrder> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceOrder", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce orders. @return the commerce orders
[ "Returns", "all", "the", "commerce", "orders", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPersistenceImpl.java#L6962-L6965
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java
CommerceWishListItemPersistenceImpl.cacheResult
@Override public void cacheResult(CommerceWishListItem commerceWishListItem) { entityCache.putResult(CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED, CommerceWishListItemImpl.class, commerceWishListItem.getPrimaryKey(), commerceWishListItem); finderCache.putResult(FINDER_PATH_FETCH_BY_CW_CPI_CP, new Object[] { commerceWishListItem.getCommerceWishListId(), commerceWishListItem.getCPInstanceUuid(), commerceWishListItem.getCProductId() }, commerceWishListItem); commerceWishListItem.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceWishListItem commerceWishListItem) { entityCache.putResult(CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED, CommerceWishListItemImpl.class, commerceWishListItem.getPrimaryKey(), commerceWishListItem); finderCache.putResult(FINDER_PATH_FETCH_BY_CW_CPI_CP, new Object[] { commerceWishListItem.getCommerceWishListId(), commerceWishListItem.getCPInstanceUuid(), commerceWishListItem.getCProductId() }, commerceWishListItem); commerceWishListItem.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceWishListItem", "commerceWishListItem", ")", "{", "entityCache", ".", "putResult", "(", "CommerceWishListItemModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceWishListItemImpl", ".", "class", ",", "commer...
Caches the commerce wish list item in the entity cache if it is enabled. @param commerceWishListItem the commerce wish list item
[ "Caches", "the", "commerce", "wish", "list", "item", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java#L3171-L3185
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java
CommerceWishListItemPersistenceImpl.cacheResult
@Override public void cacheResult(List<CommerceWishListItem> commerceWishListItems) { for (CommerceWishListItem commerceWishListItem : commerceWishListItems) { if (entityCache.getResult( CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED, CommerceWishListItemImpl.class, commerceWishListItem.getPrimaryKey()) == null) { cacheResult(commerceWishListItem); } else { commerceWishListItem.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CommerceWishListItem> commerceWishListItems) { for (CommerceWishListItem commerceWishListItem : commerceWishListItems) { if (entityCache.getResult( CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED, CommerceWishListItemImpl.class, commerceWishListItem.getPrimaryKey()) == null) { cacheResult(commerceWishListItem); } else { commerceWishListItem.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceWishListItem", ">", "commerceWishListItems", ")", "{", "for", "(", "CommerceWishListItem", "commerceWishListItem", ":", "commerceWishListItems", ")", "{", "if", "(", "entityCache", ".", "ge...
Caches the commerce wish list items in the entity cache if it is enabled. @param commerceWishListItems the commerce wish list items
[ "Caches", "the", "commerce", "wish", "list", "items", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java#L3192-L3205
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java
CommerceWishListItemPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceWishListItemImpl.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(CommerceWishListItemImpl.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", "(", "CommerceWishListItemImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache"...
Clears the cache for all commerce wish list items. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "wish", "list", "items", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java#L3214-L3221
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java
CommerceWishListItemPersistenceImpl.clearCache
@Override public void clearCache(CommerceWishListItem commerceWishListItem) { entityCache.removeResult(CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED, CommerceWishListItemImpl.class, commerceWishListItem.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceWishListItemModelImpl)commerceWishListItem, true); }
java
@Override public void clearCache(CommerceWishListItem commerceWishListItem) { entityCache.removeResult(CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED, CommerceWishListItemImpl.class, commerceWishListItem.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceWishListItemModelImpl)commerceWishListItem, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceWishListItem", "commerceWishListItem", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceWishListItemModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceWishListItemImpl", ".", "class", ",", "comm...
Clears the cache for the commerce wish list item. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "wish", "list", "item", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java#L3230-L3240
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java
CommerceWishListItemPersistenceImpl.findAll
@Override public List<CommerceWishListItem> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceWishListItem> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceWishListItem", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce wish list items. @return the commerce wish list items
[ "Returns", "all", "the", "commerce", "wish", "list", "items", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListItemPersistenceImpl.java#L3834-L3837
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java
CommerceWishListPersistenceImpl.cacheResult
@Override public void cacheResult(CommerceWishList commerceWishList) { entityCache.putResult(CommerceWishListModelImpl.ENTITY_CACHE_ENABLED, CommerceWishListImpl.class, commerceWishList.getPrimaryKey(), commerceWishList); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { commerceWishList.getUuid(), commerceWishList.getGroupId() }, commerceWishList); commerceWishList.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceWishList commerceWishList) { entityCache.putResult(CommerceWishListModelImpl.ENTITY_CACHE_ENABLED, CommerceWishListImpl.class, commerceWishList.getPrimaryKey(), commerceWishList); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { commerceWishList.getUuid(), commerceWishList.getGroupId() }, commerceWishList); commerceWishList.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceWishList", "commerceWishList", ")", "{", "entityCache", ".", "putResult", "(", "CommerceWishListModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceWishListImpl", ".", "class", ",", "commerceWishList", "...
Caches the commerce wish list in the entity cache if it is enabled. @param commerceWishList the commerce wish list
[ "Caches", "the", "commerce", "wish", "list", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java#L4233-L4245
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java
CommerceWishListPersistenceImpl.cacheResult
@Override public void cacheResult(List<CommerceWishList> commerceWishLists) { for (CommerceWishList commerceWishList : commerceWishLists) { if (entityCache.getResult( CommerceWishListModelImpl.ENTITY_CACHE_ENABLED, CommerceWishListImpl.class, commerceWishList.getPrimaryKey()) == null) { cacheResult(commerceWishList); } else { commerceWishList.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CommerceWishList> commerceWishLists) { for (CommerceWishList commerceWishList : commerceWishLists) { if (entityCache.getResult( CommerceWishListModelImpl.ENTITY_CACHE_ENABLED, CommerceWishListImpl.class, commerceWishList.getPrimaryKey()) == null) { cacheResult(commerceWishList); } else { commerceWishList.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceWishList", ">", "commerceWishLists", ")", "{", "for", "(", "CommerceWishList", "commerceWishList", ":", "commerceWishLists", ")", "{", "if", "(", "entityCache", ".", "getResult", "(", "...
Caches the commerce wish lists in the entity cache if it is enabled. @param commerceWishLists the commerce wish lists
[ "Caches", "the", "commerce", "wish", "lists", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java#L4252-L4265
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java
CommerceWishListPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceWishListImpl.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(CommerceWishListImpl.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", "(", "CommerceWishListImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache", ...
Clears the cache for all commerce wish lists. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "wish", "lists", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java#L4274-L4281
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java
CommerceWishListPersistenceImpl.clearCache
@Override public void clearCache(CommerceWishList commerceWishList) { entityCache.removeResult(CommerceWishListModelImpl.ENTITY_CACHE_ENABLED, CommerceWishListImpl.class, commerceWishList.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceWishListModelImpl)commerceWishList, true); }
java
@Override public void clearCache(CommerceWishList commerceWishList) { entityCache.removeResult(CommerceWishListModelImpl.ENTITY_CACHE_ENABLED, CommerceWishListImpl.class, commerceWishList.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceWishListModelImpl)commerceWishList, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceWishList", "commerceWishList", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceWishListModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceWishListImpl", ".", "class", ",", "commerceWishList", ...
Clears the cache for the commerce wish list. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "wish", "list", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java#L4290-L4300
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java
CommerceWishListPersistenceImpl.remove
@Override public CommerceWishList remove(Serializable primaryKey) throws NoSuchWishListException { Session session = null; try { session = openSession(); CommerceWishList commerceWishList = (CommerceWishList)session.get(CommerceWishListImpl.class, primaryKey); if (commerceWishList == null) { if (_log.isDebugEnabled()) { _log.debug(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } throw new NoSuchWishListException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } return remove(commerceWishList); } catch (NoSuchWishListException nsee) { throw nsee; } catch (Exception e) { throw processException(e); } finally { closeSession(session); } }
java
@Override public CommerceWishList remove(Serializable primaryKey) throws NoSuchWishListException { Session session = null; try { session = openSession(); CommerceWishList commerceWishList = (CommerceWishList)session.get(CommerceWishListImpl.class, primaryKey); if (commerceWishList == null) { if (_log.isDebugEnabled()) { _log.debug(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } throw new NoSuchWishListException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } return remove(commerceWishList); } catch (NoSuchWishListException nsee) { throw nsee; } catch (Exception e) { throw processException(e); } finally { closeSession(session); } }
[ "@", "Override", "public", "CommerceWishList", "remove", "(", "Serializable", "primaryKey", ")", "throws", "NoSuchWishListException", "{", "Session", "session", "=", "null", ";", "try", "{", "session", "=", "openSession", "(", ")", ";", "CommerceWishList", "commer...
Removes the commerce wish list with the primary key from the database. Also notifies the appropriate model listeners. @param primaryKey the primary key of the commerce wish list @return the commerce wish list that was removed @throws NoSuchWishListException if a commerce wish list with the primary key could not be found
[ "Removes", "the", "commerce", "wish", "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-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java#L4396-L4427
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java
CommerceWishListPersistenceImpl.findAll
@Override public List<CommerceWishList> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceWishList> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceWishList", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce wish lists. @return the commerce wish lists
[ "Returns", "all", "the", "commerce", "wish", "lists", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/persistence/impl/CommerceWishListPersistenceImpl.java#L4914-L4917
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java
CommerceOrderItemPersistenceImpl.cacheResult
@Override public void cacheResult(CommerceOrderItem commerceOrderItem) { entityCache.putResult(CommerceOrderItemModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderItemImpl.class, commerceOrderItem.getPrimaryKey(), commerceOrderItem); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { commerceOrderItem.getCompanyId(), commerceOrderItem.getExternalReferenceCode() }, commerceOrderItem); commerceOrderItem.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceOrderItem commerceOrderItem) { entityCache.putResult(CommerceOrderItemModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderItemImpl.class, commerceOrderItem.getPrimaryKey(), commerceOrderItem); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { commerceOrderItem.getCompanyId(), commerceOrderItem.getExternalReferenceCode() }, commerceOrderItem); commerceOrderItem.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceOrderItem", "commerceOrderItem", ")", "{", "entityCache", ".", "putResult", "(", "CommerceOrderItemModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceOrderItemImpl", ".", "class", ",", "commerceOrderItem"...
Caches the commerce order item in the entity cache if it is enabled. @param commerceOrderItem the commerce order item
[ "Caches", "the", "commerce", "order", "item", "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/CommerceOrderItemPersistenceImpl.java#L3021-L3034
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java
CommerceOrderItemPersistenceImpl.cacheResult
@Override public void cacheResult(List<CommerceOrderItem> commerceOrderItems) { for (CommerceOrderItem commerceOrderItem : commerceOrderItems) { if (entityCache.getResult( CommerceOrderItemModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderItemImpl.class, commerceOrderItem.getPrimaryKey()) == null) { cacheResult(commerceOrderItem); } else { commerceOrderItem.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CommerceOrderItem> commerceOrderItems) { for (CommerceOrderItem commerceOrderItem : commerceOrderItems) { if (entityCache.getResult( CommerceOrderItemModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderItemImpl.class, commerceOrderItem.getPrimaryKey()) == null) { cacheResult(commerceOrderItem); } else { commerceOrderItem.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceOrderItem", ">", "commerceOrderItems", ")", "{", "for", "(", "CommerceOrderItem", "commerceOrderItem", ":", "commerceOrderItems", ")", "{", "if", "(", "entityCache", ".", "getResult", "("...
Caches the commerce order items in the entity cache if it is enabled. @param commerceOrderItems the commerce order items
[ "Caches", "the", "commerce", "order", "items", "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/CommerceOrderItemPersistenceImpl.java#L3041-L3054
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java
CommerceOrderItemPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceOrderItemImpl.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(CommerceOrderItemImpl.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", "(", "CommerceOrderItemImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache", ...
Clears the cache for all commerce order items. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "order", "items", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java#L3063-L3070
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java
CommerceOrderItemPersistenceImpl.clearCache
@Override public void clearCache(CommerceOrderItem commerceOrderItem) { entityCache.removeResult(CommerceOrderItemModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderItemImpl.class, commerceOrderItem.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceOrderItemModelImpl)commerceOrderItem, true); }
java
@Override public void clearCache(CommerceOrderItem commerceOrderItem) { entityCache.removeResult(CommerceOrderItemModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderItemImpl.class, commerceOrderItem.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceOrderItemModelImpl)commerceOrderItem, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceOrderItem", "commerceOrderItem", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceOrderItemModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceOrderItemImpl", ".", "class", ",", "commerceOrderIte...
Clears the cache for the commerce order item. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "order", "item", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java#L3079-L3089
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java
CommerceOrderItemPersistenceImpl.findAll
@Override public List<CommerceOrderItem> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceOrderItem> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceOrderItem", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce order items. @return the commerce order items
[ "Returns", "all", "the", "commerce", "order", "items", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderItemPersistenceImpl.java#L3667-L3670
train
liferay/com-liferay-commerce
commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java
CPDefinitionGroupedEntryPersistenceImpl.cacheResult
@Override public void cacheResult(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) { entityCache.putResult(CPDefinitionGroupedEntryModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionGroupedEntryImpl.class, cpDefinitionGroupedEntry.getPrimaryKey(), cpDefinitionGroupedEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cpDefinitionGroupedEntry.getUuid(), cpDefinitionGroupedEntry.getGroupId() }, cpDefinitionGroupedEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_C_E, new Object[] { cpDefinitionGroupedEntry.getCPDefinitionId(), cpDefinitionGroupedEntry.getEntryCProductId() }, cpDefinitionGroupedEntry); cpDefinitionGroupedEntry.resetOriginalValues(); }
java
@Override public void cacheResult(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) { entityCache.putResult(CPDefinitionGroupedEntryModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionGroupedEntryImpl.class, cpDefinitionGroupedEntry.getPrimaryKey(), cpDefinitionGroupedEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cpDefinitionGroupedEntry.getUuid(), cpDefinitionGroupedEntry.getGroupId() }, cpDefinitionGroupedEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_C_E, new Object[] { cpDefinitionGroupedEntry.getCPDefinitionId(), cpDefinitionGroupedEntry.getEntryCProductId() }, cpDefinitionGroupedEntry); cpDefinitionGroupedEntry.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CPDefinitionGroupedEntry", "cpDefinitionGroupedEntry", ")", "{", "entityCache", ".", "putResult", "(", "CPDefinitionGroupedEntryModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPDefinitionGroupedEntryImpl", ".", "class", ...
Caches the cp definition grouped entry in the entity cache if it is enabled. @param cpDefinitionGroupedEntry the cp definition grouped entry
[ "Caches", "the", "cp", "definition", "grouped", "entry", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
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/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java#L2275-L2294
train
liferay/com-liferay-commerce
commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java
CPDefinitionGroupedEntryPersistenceImpl.cacheResult
@Override public void cacheResult( List<CPDefinitionGroupedEntry> cpDefinitionGroupedEntries) { for (CPDefinitionGroupedEntry cpDefinitionGroupedEntry : cpDefinitionGroupedEntries) { if (entityCache.getResult( CPDefinitionGroupedEntryModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionGroupedEntryImpl.class, cpDefinitionGroupedEntry.getPrimaryKey()) == null) { cacheResult(cpDefinitionGroupedEntry); } else { cpDefinitionGroupedEntry.resetOriginalValues(); } } }
java
@Override public void cacheResult( List<CPDefinitionGroupedEntry> cpDefinitionGroupedEntries) { for (CPDefinitionGroupedEntry cpDefinitionGroupedEntry : cpDefinitionGroupedEntries) { if (entityCache.getResult( CPDefinitionGroupedEntryModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionGroupedEntryImpl.class, cpDefinitionGroupedEntry.getPrimaryKey()) == null) { cacheResult(cpDefinitionGroupedEntry); } else { cpDefinitionGroupedEntry.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CPDefinitionGroupedEntry", ">", "cpDefinitionGroupedEntries", ")", "{", "for", "(", "CPDefinitionGroupedEntry", "cpDefinitionGroupedEntry", ":", "cpDefinitionGroupedEntries", ")", "{", "if", "(", "enti...
Caches the cp definition grouped entries in the entity cache if it is enabled. @param cpDefinitionGroupedEntries the cp definition grouped entries
[ "Caches", "the", "cp", "definition", "grouped", "entries", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
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/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java#L2301-L2315
train
liferay/com-liferay-commerce
commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java
CPDefinitionGroupedEntryPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CPDefinitionGroupedEntryImpl.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(CPDefinitionGroupedEntryImpl.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", "(", "CPDefinitionGroupedEntryImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCa...
Clears the cache for all cp definition grouped entries. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "cp", "definition", "grouped", "entries", "." ]
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/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java#L2324-L2331
train
liferay/com-liferay-commerce
commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java
CPDefinitionGroupedEntryPersistenceImpl.clearCache
@Override public void clearCache(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) { entityCache.removeResult(CPDefinitionGroupedEntryModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionGroupedEntryImpl.class, cpDefinitionGroupedEntry.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CPDefinitionGroupedEntryModelImpl)cpDefinitionGroupedEntry, true); }
java
@Override public void clearCache(CPDefinitionGroupedEntry cpDefinitionGroupedEntry) { entityCache.removeResult(CPDefinitionGroupedEntryModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionGroupedEntryImpl.class, cpDefinitionGroupedEntry.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CPDefinitionGroupedEntryModelImpl)cpDefinitionGroupedEntry, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CPDefinitionGroupedEntry", "cpDefinitionGroupedEntry", ")", "{", "entityCache", ".", "removeResult", "(", "CPDefinitionGroupedEntryModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPDefinitionGroupedEntryImpl", ".", "class"...
Clears the cache for the cp definition grouped entry. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "cp", "definition", "grouped", "entry", "." ]
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/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java#L2340-L2351
train
liferay/com-liferay-commerce
commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java
CPDefinitionGroupedEntryPersistenceImpl.findAll
@Override public List<CPDefinitionGroupedEntry> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CPDefinitionGroupedEntry> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CPDefinitionGroupedEntry", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the cp definition grouped entries. @return the cp definition grouped entries
[ "Returns", "all", "the", "cp", "definition", "grouped", "entries", "." ]
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/persistence/impl/CPDefinitionGroupedEntryPersistenceImpl.java#L2928-L2931
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPOptionValueWrapper.java
CPOptionValueWrapper.getName
@Override public String getName(String languageId, boolean useDefault) { return _cpOptionValue.getName(languageId, useDefault); }
java
@Override public String getName(String languageId, boolean useDefault) { return _cpOptionValue.getName(languageId, useDefault); }
[ "@", "Override", "public", "String", "getName", "(", "String", "languageId", ",", "boolean", "useDefault", ")", "{", "return", "_cpOptionValue", ".", "getName", "(", "languageId", ",", "useDefault", ")", ";", "}" ]
Returns the localized name of this cp option value 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 value
[ "Returns", "the", "localized", "name", "of", "this", "cp", "option", "value", "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/CPOptionValueWrapper.java#L341-L344
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountUsageEntryLocalServiceBaseImpl.java
CommerceDiscountUsageEntryLocalServiceBaseImpl.deleteCommerceDiscountUsageEntry
@Indexable(type = IndexableType.DELETE) @Override public CommerceDiscountUsageEntry deleteCommerceDiscountUsageEntry( long commerceDiscountUsageEntryId) throws PortalException { return commerceDiscountUsageEntryPersistence.remove(commerceDiscountUsageEntryId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceDiscountUsageEntry deleteCommerceDiscountUsageEntry( long commerceDiscountUsageEntryId) throws PortalException { return commerceDiscountUsageEntryPersistence.remove(commerceDiscountUsageEntryId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceDiscountUsageEntry", "deleteCommerceDiscountUsageEntry", "(", "long", "commerceDiscountUsageEntryId", ")", "throws", "PortalException", "{", "return", "commerceDis...
Deletes the commerce discount usage entry with the primary key from the database. Also notifies the appropriate model listeners. @param commerceDiscountUsageEntryId the primary key of the commerce discount usage entry @return the commerce discount usage entry that was removed @throws PortalException if a commerce discount usage entry with the primary key could not be found
[ "Deletes", "the", "commerce", "discount", "usage", "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-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountUsageEntryLocalServiceBaseImpl.java#L116-L121
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountUsageEntryLocalServiceBaseImpl.java
CommerceDiscountUsageEntryLocalServiceBaseImpl.deleteCommerceDiscountUsageEntry
@Indexable(type = IndexableType.DELETE) @Override public CommerceDiscountUsageEntry deleteCommerceDiscountUsageEntry( CommerceDiscountUsageEntry commerceDiscountUsageEntry) { return commerceDiscountUsageEntryPersistence.remove(commerceDiscountUsageEntry); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceDiscountUsageEntry deleteCommerceDiscountUsageEntry( CommerceDiscountUsageEntry commerceDiscountUsageEntry) { return commerceDiscountUsageEntryPersistence.remove(commerceDiscountUsageEntry); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceDiscountUsageEntry", "deleteCommerceDiscountUsageEntry", "(", "CommerceDiscountUsageEntry", "commerceDiscountUsageEntry", ")", "{", "return", "commerceDiscountUsageEnt...
Deletes the commerce discount usage entry from the database. Also notifies the appropriate model listeners. @param commerceDiscountUsageEntry the commerce discount usage entry @return the commerce discount usage entry that was removed
[ "Deletes", "the", "commerce", "discount", "usage", "entry", "from", "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/CommerceDiscountUsageEntryLocalServiceBaseImpl.java#L129-L134
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountUsageEntryLocalServiceBaseImpl.java
CommerceDiscountUsageEntryLocalServiceBaseImpl.updateCommerceDiscountUsageEntry
@Indexable(type = IndexableType.REINDEX) @Override public CommerceDiscountUsageEntry updateCommerceDiscountUsageEntry( CommerceDiscountUsageEntry commerceDiscountUsageEntry) { return commerceDiscountUsageEntryPersistence.update(commerceDiscountUsageEntry); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CommerceDiscountUsageEntry updateCommerceDiscountUsageEntry( CommerceDiscountUsageEntry commerceDiscountUsageEntry) { return commerceDiscountUsageEntryPersistence.update(commerceDiscountUsageEntry); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CommerceDiscountUsageEntry", "updateCommerceDiscountUsageEntry", "(", "CommerceDiscountUsageEntry", "commerceDiscountUsageEntry", ")", "{", "return", "commerceDiscountUsageEn...
Updates the commerce discount usage entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. @param commerceDiscountUsageEntry the commerce discount usage entry @return the commerce discount usage entry that was updated
[ "Updates", "the", "commerce", "discount", "usage", "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-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountUsageEntryLocalServiceBaseImpl.java#L324-L329
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java
CommerceDiscountRelPersistenceImpl.cacheResult
@Override public void cacheResult(CommerceDiscountRel commerceDiscountRel) { entityCache.putResult(CommerceDiscountRelModelImpl.ENTITY_CACHE_ENABLED, CommerceDiscountRelImpl.class, commerceDiscountRel.getPrimaryKey(), commerceDiscountRel); commerceDiscountRel.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceDiscountRel commerceDiscountRel) { entityCache.putResult(CommerceDiscountRelModelImpl.ENTITY_CACHE_ENABLED, CommerceDiscountRelImpl.class, commerceDiscountRel.getPrimaryKey(), commerceDiscountRel); commerceDiscountRel.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceDiscountRel", "commerceDiscountRel", ")", "{", "entityCache", ".", "putResult", "(", "CommerceDiscountRelModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceDiscountRelImpl", ".", "class", ",", "commerceDi...
Caches the commerce discount rel in the entity cache if it is enabled. @param commerceDiscountRel the commerce discount rel
[ "Caches", "the", "commerce", "discount", "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/CommerceDiscountRelPersistenceImpl.java#L1734-L1741
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java
CommerceDiscountRelPersistenceImpl.cacheResult
@Override public void cacheResult(List<CommerceDiscountRel> commerceDiscountRels) { for (CommerceDiscountRel commerceDiscountRel : commerceDiscountRels) { if (entityCache.getResult( CommerceDiscountRelModelImpl.ENTITY_CACHE_ENABLED, CommerceDiscountRelImpl.class, commerceDiscountRel.getPrimaryKey()) == null) { cacheResult(commerceDiscountRel); } else { commerceDiscountRel.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CommerceDiscountRel> commerceDiscountRels) { for (CommerceDiscountRel commerceDiscountRel : commerceDiscountRels) { if (entityCache.getResult( CommerceDiscountRelModelImpl.ENTITY_CACHE_ENABLED, CommerceDiscountRelImpl.class, commerceDiscountRel.getPrimaryKey()) == null) { cacheResult(commerceDiscountRel); } else { commerceDiscountRel.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceDiscountRel", ">", "commerceDiscountRels", ")", "{", "for", "(", "CommerceDiscountRel", "commerceDiscountRel", ":", "commerceDiscountRels", ")", "{", "if", "(", "entityCache", ".", "getResu...
Caches the commerce discount rels in the entity cache if it is enabled. @param commerceDiscountRels the commerce discount rels
[ "Caches", "the", "commerce", "discount", "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/CommerceDiscountRelPersistenceImpl.java#L1748-L1761
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java
CommerceDiscountRelPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceDiscountRelImpl.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(CommerceDiscountRelImpl.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", "(", "CommerceDiscountRelImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache",...
Clears the cache for all commerce discount rels. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "discount", "rels", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java#L1770-L1777
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java
CommerceDiscountRelPersistenceImpl.clearCache
@Override public void clearCache(CommerceDiscountRel commerceDiscountRel) { entityCache.removeResult(CommerceDiscountRelModelImpl.ENTITY_CACHE_ENABLED, CommerceDiscountRelImpl.class, commerceDiscountRel.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache(CommerceDiscountRel commerceDiscountRel) { entityCache.removeResult(CommerceDiscountRelModelImpl.ENTITY_CACHE_ENABLED, CommerceDiscountRelImpl.class, commerceDiscountRel.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceDiscountRel", "commerceDiscountRel", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceDiscountRelModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceDiscountRelImpl", ".", "class", ",", "commerce...
Clears the cache for the commerce discount rel. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "discount", "rel", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java#L1786-L1793
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java
CommerceDiscountRelPersistenceImpl.findAll
@Override public List<CommerceDiscountRel> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceDiscountRel> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceDiscountRel", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce discount rels. @return the commerce discount rels
[ "Returns", "all", "the", "commerce", "discount", "rels", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/persistence/impl/CommerceDiscountRelPersistenceImpl.java#L2286-L2289
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceOrderLocalServiceBaseImpl.java
CommerceOrderLocalServiceBaseImpl.deleteCommerceOrder
@Indexable(type = IndexableType.DELETE) @Override public CommerceOrder deleteCommerceOrder(long commerceOrderId) throws PortalException { return commerceOrderPersistence.remove(commerceOrderId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceOrder deleteCommerceOrder(long commerceOrderId) throws PortalException { return commerceOrderPersistence.remove(commerceOrderId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceOrder", "deleteCommerceOrder", "(", "long", "commerceOrderId", ")", "throws", "PortalException", "{", "return", "commerceOrderPersistence", ".", "remove", "(...
Deletes the commerce order with the primary key from the database. Also notifies the appropriate model listeners. @param commerceOrderId the primary key of the commerce order @return the commerce order that was removed @throws PortalException if a commerce order with the primary key could not be found
[ "Deletes", "the", "commerce", "order", "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/CommerceOrderLocalServiceBaseImpl.java#L152-L157
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceOrderLocalServiceBaseImpl.java
CommerceOrderLocalServiceBaseImpl.getCommerceOrdersByUuidAndCompanyId
@Override public List<CommerceOrder> getCommerceOrdersByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommerceOrder> orderByComparator) { return commerceOrderPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CommerceOrder> getCommerceOrdersByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommerceOrder> orderByComparator) { return commerceOrderPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CommerceOrder", ">", "getCommerceOrdersByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CommerceOrder", ">", "orderByComparator", ...
Returns a range of commerce orders matching the UUID and company. @param uuid the UUID of the commerce orders @param companyId the primary key of the company @param start the lower bound of the range of commerce orders @param end the upper bound of the range of commerce orders (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching commerce orders, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "commerce", "orders", "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/CommerceOrderLocalServiceBaseImpl.java#L452-L458
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceOrderLocalServiceBaseImpl.java
CommerceOrderLocalServiceBaseImpl.setWorkflowDefinitionLinkLocalService
public void setWorkflowDefinitionLinkLocalService( com.liferay.portal.kernel.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) { this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService; }
java
public void setWorkflowDefinitionLinkLocalService( com.liferay.portal.kernel.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) { this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService; }
[ "public", "void", "setWorkflowDefinitionLinkLocalService", "(", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "service", ".", "WorkflowDefinitionLinkLocalService", "workflowDefinitionLinkLocalService", ")", "{", "this", ".", "workflowDefinitionLinkLocalService", ...
Sets the workflow definition link local service. @param workflowDefinitionLinkLocalService the workflow definition link local service
[ "Sets", "the", "workflow", "definition", "link", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceOrderLocalServiceBaseImpl.java#L1435-L1438
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java
CPRulePersistenceImpl.cacheResult
@Override public void cacheResult(CPRule cpRule) { entityCache.putResult(CPRuleModelImpl.ENTITY_CACHE_ENABLED, CPRuleImpl.class, cpRule.getPrimaryKey(), cpRule); cpRule.resetOriginalValues(); }
java
@Override public void cacheResult(CPRule cpRule) { entityCache.putResult(CPRuleModelImpl.ENTITY_CACHE_ENABLED, CPRuleImpl.class, cpRule.getPrimaryKey(), cpRule); cpRule.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CPRule", "cpRule", ")", "{", "entityCache", ".", "putResult", "(", "CPRuleModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPRuleImpl", ".", "class", ",", "cpRule", ".", "getPrimaryKey", "(", ")", ",", "cpR...
Caches the cp rule in the entity cache if it is enabled. @param cpRule the cp rule
[ "Caches", "the", "cp", "rule", "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/CPRulePersistenceImpl.java#L981-L987
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java
CPRulePersistenceImpl.cacheResult
@Override public void cacheResult(List<CPRule> cpRules) { for (CPRule cpRule : cpRules) { if (entityCache.getResult(CPRuleModelImpl.ENTITY_CACHE_ENABLED, CPRuleImpl.class, cpRule.getPrimaryKey()) == null) { cacheResult(cpRule); } else { cpRule.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CPRule> cpRules) { for (CPRule cpRule : cpRules) { if (entityCache.getResult(CPRuleModelImpl.ENTITY_CACHE_ENABLED, CPRuleImpl.class, cpRule.getPrimaryKey()) == null) { cacheResult(cpRule); } else { cpRule.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CPRule", ">", "cpRules", ")", "{", "for", "(", "CPRule", "cpRule", ":", "cpRules", ")", "{", "if", "(", "entityCache", ".", "getResult", "(", "CPRuleModelImpl", ".", "ENTITY_CACHE_ENABLED",...
Caches the cp rules in the entity cache if it is enabled. @param cpRules the cp rules
[ "Caches", "the", "cp", "rules", "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/CPRulePersistenceImpl.java#L994-L1005
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java
CPRulePersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CPRuleImpl.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(CPRuleImpl.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", "(", "CPRuleImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache", "(", "FI...
Clears the cache for all cp rules. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "cp", "rules", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java#L1014-L1021
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java
CPRulePersistenceImpl.clearCache
@Override public void clearCache(CPRule cpRule) { entityCache.removeResult(CPRuleModelImpl.ENTITY_CACHE_ENABLED, CPRuleImpl.class, cpRule.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache(CPRule cpRule) { entityCache.removeResult(CPRuleModelImpl.ENTITY_CACHE_ENABLED, CPRuleImpl.class, cpRule.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", "CPRule", "cpRule", ")", "{", "entityCache", ".", "removeResult", "(", "CPRuleModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPRuleImpl", ".", "class", ",", "cpRule", ".", "getPrimaryKey", "(", ")", ")", ";...
Clears the cache for the cp rule. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "cp", "rule", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java#L1030-L1037
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java
CPRulePersistenceImpl.findAll
@Override public List<CPRule> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CPRule> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CPRule", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the cp rules. @return the cp rules
[ "Returns", "all", "the", "cp", "rules", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRulePersistenceImpl.java#L1451-L1454
train
liferay/com-liferay-commerce
commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/base/CommerceCurrencyLocalServiceBaseImpl.java
CommerceCurrencyLocalServiceBaseImpl.deleteCommerceCurrency
@Indexable(type = IndexableType.DELETE) @Override public CommerceCurrency deleteCommerceCurrency(long commerceCurrencyId) throws PortalException { return commerceCurrencyPersistence.remove(commerceCurrencyId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceCurrency deleteCommerceCurrency(long commerceCurrencyId) throws PortalException { return commerceCurrencyPersistence.remove(commerceCurrencyId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceCurrency", "deleteCommerceCurrency", "(", "long", "commerceCurrencyId", ")", "throws", "PortalException", "{", "return", "commerceCurrencyPersistence", ".", "r...
Deletes the commerce currency with the primary key from the database. Also notifies the appropriate model listeners. @param commerceCurrencyId the primary key of the commerce currency @return the commerce currency that was removed @throws PortalException if a commerce currency with the primary key could not be found
[ "Deletes", "the", "commerce", "currency", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/base/CommerceCurrencyLocalServiceBaseImpl.java#L119-L124
train
liferay/com-liferay-commerce
commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/base/CommerceCurrencyLocalServiceBaseImpl.java
CommerceCurrencyLocalServiceBaseImpl.deleteCommerceCurrency
@Indexable(type = IndexableType.DELETE) @Override public CommerceCurrency deleteCommerceCurrency( CommerceCurrency commerceCurrency) { return commerceCurrencyPersistence.remove(commerceCurrency); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceCurrency deleteCommerceCurrency( CommerceCurrency commerceCurrency) { return commerceCurrencyPersistence.remove(commerceCurrency); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceCurrency", "deleteCommerceCurrency", "(", "CommerceCurrency", "commerceCurrency", ")", "{", "return", "commerceCurrencyPersistence", ".", "remove", "(", "comme...
Deletes the commerce currency from the database. Also notifies the appropriate model listeners. @param commerceCurrency the commerce currency @return the commerce currency that was removed
[ "Deletes", "the", "commerce", "currency", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-currency-service/src/main/java/com/liferay/commerce/currency/service/base/CommerceCurrencyLocalServiceBaseImpl.java#L132-L137
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java
CommerceRegionPersistenceImpl.cacheResult
@Override public void cacheResult(CommerceRegion commerceRegion) { entityCache.putResult(CommerceRegionModelImpl.ENTITY_CACHE_ENABLED, CommerceRegionImpl.class, commerceRegion.getPrimaryKey(), commerceRegion); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { commerceRegion.getUuid(), commerceRegion.getGroupId() }, commerceRegion); finderCache.putResult(FINDER_PATH_FETCH_BY_C_C, new Object[] { commerceRegion.getCommerceCountryId(), commerceRegion.getCode() }, commerceRegion); commerceRegion.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceRegion commerceRegion) { entityCache.putResult(CommerceRegionModelImpl.ENTITY_CACHE_ENABLED, CommerceRegionImpl.class, commerceRegion.getPrimaryKey(), commerceRegion); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { commerceRegion.getUuid(), commerceRegion.getGroupId() }, commerceRegion); finderCache.putResult(FINDER_PATH_FETCH_BY_C_C, new Object[] { commerceRegion.getCommerceCountryId(), commerceRegion.getCode() }, commerceRegion); commerceRegion.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceRegion", "commerceRegion", ")", "{", "entityCache", ".", "putResult", "(", "CommerceRegionModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceRegionImpl", ".", "class", ",", "commerceRegion", ".", "get...
Caches the commerce region in the entity cache if it is enabled. @param commerceRegion the commerce region
[ "Caches", "the", "commerce", "region", "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/CommerceRegionPersistenceImpl.java#L2828-L2844
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java
CommerceRegionPersistenceImpl.cacheResult
@Override public void cacheResult(List<CommerceRegion> commerceRegions) { for (CommerceRegion commerceRegion : commerceRegions) { if (entityCache.getResult( CommerceRegionModelImpl.ENTITY_CACHE_ENABLED, CommerceRegionImpl.class, commerceRegion.getPrimaryKey()) == null) { cacheResult(commerceRegion); } else { commerceRegion.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CommerceRegion> commerceRegions) { for (CommerceRegion commerceRegion : commerceRegions) { if (entityCache.getResult( CommerceRegionModelImpl.ENTITY_CACHE_ENABLED, CommerceRegionImpl.class, commerceRegion.getPrimaryKey()) == null) { cacheResult(commerceRegion); } else { commerceRegion.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceRegion", ">", "commerceRegions", ")", "{", "for", "(", "CommerceRegion", "commerceRegion", ":", "commerceRegions", ")", "{", "if", "(", "entityCache", ".", "getResult", "(", "CommerceRe...
Caches the commerce regions in the entity cache if it is enabled. @param commerceRegions the commerce regions
[ "Caches", "the", "commerce", "regions", "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/CommerceRegionPersistenceImpl.java#L2851-L2863
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java
CommerceRegionPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceRegionImpl.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(CommerceRegionImpl.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", "(", "CommerceRegionImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache", "(...
Clears the cache for all commerce regions. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "regions", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java#L2872-L2879
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java
CommerceRegionPersistenceImpl.clearCache
@Override public void clearCache(CommerceRegion commerceRegion) { entityCache.removeResult(CommerceRegionModelImpl.ENTITY_CACHE_ENABLED, CommerceRegionImpl.class, commerceRegion.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceRegionModelImpl)commerceRegion, true); }
java
@Override public void clearCache(CommerceRegion commerceRegion) { entityCache.removeResult(CommerceRegionModelImpl.ENTITY_CACHE_ENABLED, CommerceRegionImpl.class, commerceRegion.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CommerceRegionModelImpl)commerceRegion, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceRegion", "commerceRegion", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceRegionModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceRegionImpl", ".", "class", ",", "commerceRegion", ".", "g...
Clears the cache for the commerce region. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "region", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java#L2888-L2897
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java
CommerceRegionPersistenceImpl.findAll
@Override public List<CommerceRegion> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceRegion> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceRegion", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce regions. @return the commerce regions
[ "Returns", "all", "the", "commerce", "regions", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceRegionPersistenceImpl.java#L3490-L3493
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionLocalServiceBaseImpl.java
CPDefinitionLocalServiceBaseImpl.deleteCPDefinition
@Indexable(type = IndexableType.DELETE) @Override public CPDefinition deleteCPDefinition(long CPDefinitionId) throws PortalException { return cpDefinitionPersistence.remove(CPDefinitionId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CPDefinition deleteCPDefinition(long CPDefinitionId) throws PortalException { return cpDefinitionPersistence.remove(CPDefinitionId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CPDefinition", "deleteCPDefinition", "(", "long", "CPDefinitionId", ")", "throws", "PortalException", "{", "return", "cpDefinitionPersistence", ".", "remove", "(", ...
Deletes the cp definition with the primary key from the database. Also notifies the appropriate model listeners. @param CPDefinitionId the primary key of the cp definition @return the cp definition that was removed @throws PortalException if a cp definition with the primary key could not be found
[ "Deletes", "the", "cp", "definition", "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/CPDefinitionLocalServiceBaseImpl.java#L161-L166
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionLocalServiceBaseImpl.java
CPDefinitionLocalServiceBaseImpl.deleteCPDefinition
@Indexable(type = IndexableType.DELETE) @Override public CPDefinition deleteCPDefinition(CPDefinition cpDefinition) throws PortalException { return cpDefinitionPersistence.remove(cpDefinition); }
java
@Indexable(type = IndexableType.DELETE) @Override public CPDefinition deleteCPDefinition(CPDefinition cpDefinition) throws PortalException { return cpDefinitionPersistence.remove(cpDefinition); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CPDefinition", "deleteCPDefinition", "(", "CPDefinition", "cpDefinition", ")", "throws", "PortalException", "{", "return", "cpDefinitionPersistence", ".", "remove", ...
Deletes the cp definition from the database. Also notifies the appropriate model listeners. @param cpDefinition the cp definition @return the cp definition that was removed @throws PortalException
[ "Deletes", "the", "cp", "definition", "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/CPDefinitionLocalServiceBaseImpl.java#L175-L180
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionLocalServiceBaseImpl.java
CPDefinitionLocalServiceBaseImpl.getCPDefinitionsByUuidAndCompanyId
@Override public List<CPDefinition> getCPDefinitionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<CPDefinition> orderByComparator) { return cpDefinitionPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CPDefinition> getCPDefinitionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<CPDefinition> orderByComparator) { return cpDefinitionPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CPDefinition", ">", "getCPDefinitionsByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CPDefinition", ">", "orderByComparator", ")"...
Returns a range of cp definitions matching the UUID and company. @param uuid the UUID of the cp definitions @param companyId the primary key of the company @param start the lower bound of the range of cp definitions @param end the upper bound of the range of cp definitions (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching cp definitions, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "cp", "definitions", "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/CPDefinitionLocalServiceBaseImpl.java#L483-L489
train
liferay/com-liferay-commerce
commerce-discount-api/src/main/java/com/liferay/commerce/discount/service/CommerceDiscountRelLocalServiceWrapper.java
CommerceDiscountRelLocalServiceWrapper.getCommerceDiscountRel
@Override public com.liferay.commerce.discount.model.CommerceDiscountRel getCommerceDiscountRel( long commerceDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException { return _commerceDiscountRelLocalService.getCommerceDiscountRel(commerceDiscountRelId); }
java
@Override public com.liferay.commerce.discount.model.CommerceDiscountRel getCommerceDiscountRel( long commerceDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException { return _commerceDiscountRelLocalService.getCommerceDiscountRel(commerceDiscountRelId); }
[ "@", "Override", "public", "com", ".", "liferay", ".", "commerce", ".", "discount", ".", "model", ".", "CommerceDiscountRel", "getCommerceDiscountRel", "(", "long", "commerceDiscountRelId", ")", "throws", "com", ".", "liferay", ".", "portal", ".", "kernel", ".",...
Returns the commerce discount rel with the primary key. @param commerceDiscountRelId the primary key of the commerce discount rel @return the commerce discount rel @throws PortalException if a commerce discount rel with the primary key could not be found
[ "Returns", "the", "commerce", "discount", "rel", "with", "the", "primary", "key", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-api/src/main/java/com/liferay/commerce/discount/service/CommerceDiscountRelLocalServiceWrapper.java#L231-L236
train
liferay/com-liferay-commerce
commerce-wish-list-api/src/main/java/com/liferay/commerce/wish/list/service/CommerceWishListLocalServiceWrapper.java
CommerceWishListLocalServiceWrapper.getCommerceWishList
@Override public com.liferay.commerce.wish.list.model.CommerceWishList getCommerceWishList( long commerceWishListId) throws com.liferay.portal.kernel.exception.PortalException { return _commerceWishListLocalService.getCommerceWishList(commerceWishListId); }
java
@Override public com.liferay.commerce.wish.list.model.CommerceWishList getCommerceWishList( long commerceWishListId) throws com.liferay.portal.kernel.exception.PortalException { return _commerceWishListLocalService.getCommerceWishList(commerceWishListId); }
[ "@", "Override", "public", "com", ".", "liferay", ".", "commerce", ".", "wish", ".", "list", ".", "model", ".", "CommerceWishList", "getCommerceWishList", "(", "long", "commerceWishListId", ")", "throws", "com", ".", "liferay", ".", "portal", ".", "kernel", ...
Returns the commerce wish list with the primary key. @param commerceWishListId the primary key of the commerce wish list @return the commerce wish list @throws PortalException if a commerce wish list with the primary key could not be found
[ "Returns", "the", "commerce", "wish", "list", "with", "the", "primary", "key", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-api/src/main/java/com/liferay/commerce/wish/list/service/CommerceWishListLocalServiceWrapper.java#L247-L252
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java
CommerceAccountUserRelPersistenceImpl.cacheResult
@Override public void cacheResult(CommerceAccountUserRel commerceAccountUserRel) { entityCache.putResult(CommerceAccountUserRelModelImpl.ENTITY_CACHE_ENABLED, CommerceAccountUserRelImpl.class, commerceAccountUserRel.getPrimaryKey(), commerceAccountUserRel); commerceAccountUserRel.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceAccountUserRel commerceAccountUserRel) { entityCache.putResult(CommerceAccountUserRelModelImpl.ENTITY_CACHE_ENABLED, CommerceAccountUserRelImpl.class, commerceAccountUserRel.getPrimaryKey(), commerceAccountUserRel); commerceAccountUserRel.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceAccountUserRel", "commerceAccountUserRel", ")", "{", "entityCache", ".", "putResult", "(", "CommerceAccountUserRelModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceAccountUserRelImpl", ".", "class", ",", ...
Caches the commerce account user rel in the entity cache if it is enabled. @param commerceAccountUserRel the commerce account user rel
[ "Caches", "the", "commerce", "account", "user", "rel", "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/CommerceAccountUserRelPersistenceImpl.java#L1164-L1171
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java
CommerceAccountUserRelPersistenceImpl.cacheResult
@Override public void cacheResult( List<CommerceAccountUserRel> commerceAccountUserRels) { for (CommerceAccountUserRel commerceAccountUserRel : commerceAccountUserRels) { if (entityCache.getResult( CommerceAccountUserRelModelImpl.ENTITY_CACHE_ENABLED, CommerceAccountUserRelImpl.class, commerceAccountUserRel.getPrimaryKey()) == null) { cacheResult(commerceAccountUserRel); } else { commerceAccountUserRel.resetOriginalValues(); } } }
java
@Override public void cacheResult( List<CommerceAccountUserRel> commerceAccountUserRels) { for (CommerceAccountUserRel commerceAccountUserRel : commerceAccountUserRels) { if (entityCache.getResult( CommerceAccountUserRelModelImpl.ENTITY_CACHE_ENABLED, CommerceAccountUserRelImpl.class, commerceAccountUserRel.getPrimaryKey()) == null) { cacheResult(commerceAccountUserRel); } else { commerceAccountUserRel.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceAccountUserRel", ">", "commerceAccountUserRels", ")", "{", "for", "(", "CommerceAccountUserRel", "commerceAccountUserRel", ":", "commerceAccountUserRels", ")", "{", "if", "(", "entityCache", ...
Caches the commerce account user rels in the entity cache if it is enabled. @param commerceAccountUserRels the commerce account user rels
[ "Caches", "the", "commerce", "account", "user", "rels", "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/CommerceAccountUserRelPersistenceImpl.java#L1178-L1192
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java
CommerceAccountUserRelPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceAccountUserRelImpl.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(CommerceAccountUserRelImpl.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", "(", "CommerceAccountUserRelImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCach...
Clears the cache for all commerce account user rels. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "account", "user", "rels", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java#L1201-L1208
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java
CommerceAccountUserRelPersistenceImpl.clearCache
@Override public void clearCache(CommerceAccountUserRel commerceAccountUserRel) { entityCache.removeResult(CommerceAccountUserRelModelImpl.ENTITY_CACHE_ENABLED, CommerceAccountUserRelImpl.class, commerceAccountUserRel.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache(CommerceAccountUserRel commerceAccountUserRel) { entityCache.removeResult(CommerceAccountUserRelModelImpl.ENTITY_CACHE_ENABLED, CommerceAccountUserRelImpl.class, commerceAccountUserRel.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceAccountUserRel", "commerceAccountUserRel", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceAccountUserRelModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceAccountUserRelImpl", ".", "class", ",",...
Clears the cache for the commerce account user rel. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "account", "user", "rel", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java#L1217-L1225
train
liferay/com-liferay-commerce
commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java
CommerceAccountUserRelPersistenceImpl.findAll
@Override public List<CommerceAccountUserRel> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceAccountUserRel> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceAccountUserRel", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce account user rels. @return the commerce account user rels
[ "Returns", "all", "the", "commerce", "account", "user", "rels", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountUserRelPersistenceImpl.java#L1618-L1621
train
liferay/com-liferay-commerce
commerce-api/src/main/java/com/liferay/commerce/model/CommerceCountryWrapper.java
CommerceCountryWrapper.getName
@Override public String getName(String languageId, boolean useDefault) { return _commerceCountry.getName(languageId, useDefault); }
java
@Override public String getName(String languageId, boolean useDefault) { return _commerceCountry.getName(languageId, useDefault); }
[ "@", "Override", "public", "String", "getName", "(", "String", "languageId", ",", "boolean", "useDefault", ")", "{", "return", "_commerceCountry", ".", "getName", "(", "languageId", ",", "useDefault", ")", ";", "}" ]
Returns the localized name of this commerce country 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 commerce country
[ "Returns", "the", "localized", "name", "of", "this", "commerce", "country", "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-api/src/main/java/com/liferay/commerce/model/CommerceCountryWrapper.java#L358-L361
train
liferay/com-liferay-commerce
commerce-api/src/main/java/com/liferay/commerce/model/CommerceCountryWrapper.java
CommerceCountryWrapper.setName
@Override public void setName(String name, java.util.Locale locale) { _commerceCountry.setName(name, locale); }
java
@Override public void setName(String name, java.util.Locale locale) { _commerceCountry.setName(name, locale); }
[ "@", "Override", "public", "void", "setName", "(", "String", "name", ",", "java", ".", "util", ".", "Locale", "locale", ")", "{", "_commerceCountry", ".", "setName", "(", "name", ",", "locale", ")", ";", "}" ]
Sets the localized name of this commerce country in the language. @param name the localized name of this commerce country @param locale the locale of the language
[ "Sets", "the", "localized", "name", "of", "this", "commerce", "country", "in", "the", "language", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-api/src/main/java/com/liferay/commerce/model/CommerceCountryWrapper.java#L693-L696
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java
CPDefinitionPersistenceImpl.cacheResult
@Override public void cacheResult(CPDefinition cpDefinition) { entityCache.putResult(CPDefinitionModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionImpl.class, cpDefinition.getPrimaryKey(), cpDefinition); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cpDefinition.getUuid(), cpDefinition.getGroupId() }, cpDefinition); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { cpDefinition.getCompanyId(), cpDefinition.getExternalReferenceCode() }, cpDefinition); cpDefinition.resetOriginalValues(); }
java
@Override public void cacheResult(CPDefinition cpDefinition) { entityCache.putResult(CPDefinitionModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionImpl.class, cpDefinition.getPrimaryKey(), cpDefinition); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cpDefinition.getUuid(), cpDefinition.getGroupId() }, cpDefinition); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { cpDefinition.getCompanyId(), cpDefinition.getExternalReferenceCode() }, cpDefinition); cpDefinition.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CPDefinition", "cpDefinition", ")", "{", "entityCache", ".", "putResult", "(", "CPDefinitionModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPDefinitionImpl", ".", "class", ",", "cpDefinition", ".", "getPrimaryKey...
Caches the cp definition in the entity cache if it is enabled. @param cpDefinition the cp definition
[ "Caches", "the", "cp", "definition", "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/CPDefinitionPersistenceImpl.java#L5466-L5482
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java
CPDefinitionPersistenceImpl.cacheResult
@Override public void cacheResult(List<CPDefinition> cpDefinitions) { for (CPDefinition cpDefinition : cpDefinitions) { if (entityCache.getResult( CPDefinitionModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionImpl.class, cpDefinition.getPrimaryKey()) == null) { cacheResult(cpDefinition); } else { cpDefinition.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CPDefinition> cpDefinitions) { for (CPDefinition cpDefinition : cpDefinitions) { if (entityCache.getResult( CPDefinitionModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionImpl.class, cpDefinition.getPrimaryKey()) == null) { cacheResult(cpDefinition); } else { cpDefinition.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CPDefinition", ">", "cpDefinitions", ")", "{", "for", "(", "CPDefinition", "cpDefinition", ":", "cpDefinitions", ")", "{", "if", "(", "entityCache", ".", "getResult", "(", "CPDefinitionModelImp...
Caches the cp definitions in the entity cache if it is enabled. @param cpDefinitions the cp definitions
[ "Caches", "the", "cp", "definitions", "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/CPDefinitionPersistenceImpl.java#L5489-L5501
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java
CPDefinitionPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CPDefinitionImpl.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(CPDefinitionImpl.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", "(", "CPDefinitionImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache", "(",...
Clears the cache for all cp definitions. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "cp", "definitions", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java#L5510-L5517
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java
CPDefinitionPersistenceImpl.clearCache
@Override public void clearCache(CPDefinition cpDefinition) { entityCache.removeResult(CPDefinitionModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionImpl.class, cpDefinition.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CPDefinitionModelImpl)cpDefinition, true); }
java
@Override public void clearCache(CPDefinition cpDefinition) { entityCache.removeResult(CPDefinitionModelImpl.ENTITY_CACHE_ENABLED, CPDefinitionImpl.class, cpDefinition.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CPDefinitionModelImpl)cpDefinition, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CPDefinition", "cpDefinition", ")", "{", "entityCache", ".", "removeResult", "(", "CPDefinitionModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPDefinitionImpl", ".", "class", ",", "cpDefinition", ".", "getPrimaryK...
Clears the cache for the cp definition. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "cp", "definition", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java#L5526-L5535
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java
CPDefinitionPersistenceImpl.findAll
@Override public List<CPDefinition> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CPDefinition> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CPDefinition", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the cp definitions. @return the cp definitions
[ "Returns", "all", "the", "cp", "definitions", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionPersistenceImpl.java#L6199-L6202
train
liferay/com-liferay-commerce
commerce-currency-api/src/main/java/com/liferay/commerce/currency/model/CommerceCurrencyWrapper.java
CommerceCurrencyWrapper.getFormatPattern
@Override public String getFormatPattern(String languageId, boolean useDefault) { return _commerceCurrency.getFormatPattern(languageId, useDefault); }
java
@Override public String getFormatPattern(String languageId, boolean useDefault) { return _commerceCurrency.getFormatPattern(languageId, useDefault); }
[ "@", "Override", "public", "String", "getFormatPattern", "(", "String", "languageId", ",", "boolean", "useDefault", ")", "{", "return", "_commerceCurrency", ".", "getFormatPattern", "(", "languageId", ",", "useDefault", ")", ";", "}" ]
Returns the localized format pattern of this commerce currency 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 format pattern of this commerce currency
[ "Returns", "the", "localized", "format", "pattern", "of", "this", "commerce", "currency", "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-currency-api/src/main/java/com/liferay/commerce/currency/model/CommerceCurrencyWrapper.java#L331-L334
train