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-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java
CPTaxCategoryServiceBaseImpl.setCPRuleService
public void setCPRuleService( com.liferay.commerce.product.service.CPRuleService cpRuleService) { this.cpRuleService = cpRuleService; }
java
public void setCPRuleService( com.liferay.commerce.product.service.CPRuleService cpRuleService) { this.cpRuleService = cpRuleService; }
[ "public", "void", "setCPRuleService", "(", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "service", ".", "CPRuleService", "cpRuleService", ")", "{", "this", ".", "cpRuleService", "=", "cpRuleService", ";", "}" ]
Sets the cp rule remote service. @param cpRuleService the cp rule remote service
[ "Sets", "the", "cp", "rule", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java#L924-L927
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java
CPTaxCategoryServiceBaseImpl.setCPRuleAssetCategoryRelLocalService
public void setCPRuleAssetCategoryRelLocalService( com.liferay.commerce.product.service.CPRuleAssetCategoryRelLocalService cpRuleAssetCategoryRelLocalService) { this.cpRuleAssetCategoryRelLocalService = cpRuleAssetCategoryRelLocalService; }
java
public void setCPRuleAssetCategoryRelLocalService( com.liferay.commerce.product.service.CPRuleAssetCategoryRelLocalService cpRuleAssetCategoryRelLocalService) { this.cpRuleAssetCategoryRelLocalService = cpRuleAssetCategoryRelLocalService; }
[ "public", "void", "setCPRuleAssetCategoryRelLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "service", ".", "CPRuleAssetCategoryRelLocalService", "cpRuleAssetCategoryRelLocalService", ")", "{", "this", ".", "cpRuleAssetCategoryRelLocalService"...
Sets the cp rule asset category rel local service. @param cpRuleAssetCategoryRelLocalService the cp rule asset category rel local service
[ "Sets", "the", "cp", "rule", "asset", "category", "rel", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java#L961-L964
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java
CPTaxCategoryServiceBaseImpl.setCPRuleAssetCategoryRelService
public void setCPRuleAssetCategoryRelService( com.liferay.commerce.product.service.CPRuleAssetCategoryRelService cpRuleAssetCategoryRelService) { this.cpRuleAssetCategoryRelService = cpRuleAssetCategoryRelService; }
java
public void setCPRuleAssetCategoryRelService( com.liferay.commerce.product.service.CPRuleAssetCategoryRelService cpRuleAssetCategoryRelService) { this.cpRuleAssetCategoryRelService = cpRuleAssetCategoryRelService; }
[ "public", "void", "setCPRuleAssetCategoryRelService", "(", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "service", ".", "CPRuleAssetCategoryRelService", "cpRuleAssetCategoryRelService", ")", "{", "this", ".", "cpRuleAssetCategoryRelService", "=", "cpRuleAs...
Sets the cp rule asset category rel remote service. @param cpRuleAssetCategoryRelService the cp rule asset category rel remote service
[ "Sets", "the", "cp", "rule", "asset", "category", "rel", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java#L980-L983
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java
CPTaxCategoryServiceBaseImpl.setCPRuleUserSegmentRelLocalService
public void setCPRuleUserSegmentRelLocalService( com.liferay.commerce.product.service.CPRuleUserSegmentRelLocalService cpRuleUserSegmentRelLocalService) { this.cpRuleUserSegmentRelLocalService = cpRuleUserSegmentRelLocalService; }
java
public void setCPRuleUserSegmentRelLocalService( com.liferay.commerce.product.service.CPRuleUserSegmentRelLocalService cpRuleUserSegmentRelLocalService) { this.cpRuleUserSegmentRelLocalService = cpRuleUserSegmentRelLocalService; }
[ "public", "void", "setCPRuleUserSegmentRelLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "service", ".", "CPRuleUserSegmentRelLocalService", "cpRuleUserSegmentRelLocalService", ")", "{", "this", ".", "cpRuleUserSegmentRelLocalService", "=",...
Sets the cp rule user segment rel local service. @param cpRuleUserSegmentRelLocalService the cp rule user segment rel local service
[ "Sets", "the", "cp", "rule", "user", "segment", "rel", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java#L1018-L1021
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java
CPTaxCategoryServiceBaseImpl.setCPRuleUserSegmentRelService
public void setCPRuleUserSegmentRelService( com.liferay.commerce.product.service.CPRuleUserSegmentRelService cpRuleUserSegmentRelService) { this.cpRuleUserSegmentRelService = cpRuleUserSegmentRelService; }
java
public void setCPRuleUserSegmentRelService( com.liferay.commerce.product.service.CPRuleUserSegmentRelService cpRuleUserSegmentRelService) { this.cpRuleUserSegmentRelService = cpRuleUserSegmentRelService; }
[ "public", "void", "setCPRuleUserSegmentRelService", "(", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "service", ".", "CPRuleUserSegmentRelService", "cpRuleUserSegmentRelService", ")", "{", "this", ".", "cpRuleUserSegmentRelService", "=", "cpRuleUserSegmen...
Sets the cp rule user segment rel remote service. @param cpRuleUserSegmentRelService the cp rule user segment rel remote service
[ "Sets", "the", "cp", "rule", "user", "segment", "rel", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java#L1037-L1040
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java
CPTaxCategoryServiceBaseImpl.setCPSpecificationOptionLocalService
public void setCPSpecificationOptionLocalService( com.liferay.commerce.product.service.CPSpecificationOptionLocalService cpSpecificationOptionLocalService) { this.cpSpecificationOptionLocalService = cpSpecificationOptionLocalService; }
java
public void setCPSpecificationOptionLocalService( com.liferay.commerce.product.service.CPSpecificationOptionLocalService cpSpecificationOptionLocalService) { this.cpSpecificationOptionLocalService = cpSpecificationOptionLocalService; }
[ "public", "void", "setCPSpecificationOptionLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "service", ".", "CPSpecificationOptionLocalService", "cpSpecificationOptionLocalService", ")", "{", "this", ".", "cpSpecificationOptionLocalService", ...
Sets the cp specification option local service. @param cpSpecificationOptionLocalService the cp specification option local service
[ "Sets", "the", "cp", "specification", "option", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java#L1075-L1078
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java
CPTaxCategoryServiceBaseImpl.setCPSpecificationOptionService
public void setCPSpecificationOptionService( com.liferay.commerce.product.service.CPSpecificationOptionService cpSpecificationOptionService) { this.cpSpecificationOptionService = cpSpecificationOptionService; }
java
public void setCPSpecificationOptionService( com.liferay.commerce.product.service.CPSpecificationOptionService cpSpecificationOptionService) { this.cpSpecificationOptionService = cpSpecificationOptionService; }
[ "public", "void", "setCPSpecificationOptionService", "(", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "service", ".", "CPSpecificationOptionService", "cpSpecificationOptionService", ")", "{", "this", ".", "cpSpecificationOptionService", "=", "cpSpecificat...
Sets the cp specification option remote service. @param cpSpecificationOptionService the cp specification option remote service
[ "Sets", "the", "cp", "specification", "option", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java#L1094-L1097
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java
CPTaxCategoryServiceBaseImpl.setCPTaxCategoryLocalService
public void setCPTaxCategoryLocalService( com.liferay.commerce.product.service.CPTaxCategoryLocalService cpTaxCategoryLocalService) { this.cpTaxCategoryLocalService = cpTaxCategoryLocalService; }
java
public void setCPTaxCategoryLocalService( com.liferay.commerce.product.service.CPTaxCategoryLocalService cpTaxCategoryLocalService) { this.cpTaxCategoryLocalService = cpTaxCategoryLocalService; }
[ "public", "void", "setCPTaxCategoryLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "service", ".", "CPTaxCategoryLocalService", "cpTaxCategoryLocalService", ")", "{", "this", ".", "cpTaxCategoryLocalService", "=", "cpTaxCategoryLocalServic...
Sets the cp tax category local service. @param cpTaxCategoryLocalService the cp tax category local service
[ "Sets", "the", "cp", "tax", "category", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java#L1132-L1135
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java
CPTaxCategoryServiceBaseImpl.setClassNameService
public void setClassNameService( com.liferay.portal.kernel.service.ClassNameService classNameService) { this.classNameService = classNameService; }
java
public void setClassNameService( com.liferay.portal.kernel.service.ClassNameService classNameService) { this.classNameService = classNameService; }
[ "public", "void", "setClassNameService", "(", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "service", ".", "ClassNameService", "classNameService", ")", "{", "this", ".", "classNameService", "=", "classNameService", ";", "}" ]
Sets the class name remote service. @param classNameService the class name remote service
[ "Sets", "the", "class", "name", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java#L1227-L1230
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java
CPTaxCategoryServiceBaseImpl.setUserService
public void setUserService( com.liferay.portal.kernel.service.UserService userService) { this.userService = userService; }
java
public void setUserService( com.liferay.portal.kernel.service.UserService userService) { this.userService = userService; }
[ "public", "void", "setUserService", "(", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "service", ".", "UserService", "userService", ")", "{", "this", ".", "userService", "=", "userService", ";", "}" ]
Sets the user remote service. @param userService the user remote service
[ "Sets", "the", "user", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPTaxCategoryServiceBaseImpl.java#L1303-L1306
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleUserSegmentRelPersistenceImpl.java
CPRuleUserSegmentRelPersistenceImpl.cacheResult
@Override public void cacheResult(CPRuleUserSegmentRel cpRuleUserSegmentRel) { entityCache.putResult(CPRuleUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED, CPRuleUserSegmentRelImpl.class, cpRuleUserSegmentRel.getPrimaryKey(), cpRuleUserSegmentRel); cpRuleUserSegmentRel.resetOriginalValues(); }
java
@Override public void cacheResult(CPRuleUserSegmentRel cpRuleUserSegmentRel) { entityCache.putResult(CPRuleUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED, CPRuleUserSegmentRelImpl.class, cpRuleUserSegmentRel.getPrimaryKey(), cpRuleUserSegmentRel); cpRuleUserSegmentRel.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CPRuleUserSegmentRel", "cpRuleUserSegmentRel", ")", "{", "entityCache", ".", "putResult", "(", "CPRuleUserSegmentRelModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPRuleUserSegmentRelImpl", ".", "class", ",", "cpRule...
Caches the cp rule user segment rel in the entity cache if it is enabled. @param cpRuleUserSegmentRel the cp rule user segment rel
[ "Caches", "the", "cp", "rule", "user", "segment", "rel", "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/CPRuleUserSegmentRelPersistenceImpl.java#L1148-L1155
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleUserSegmentRelPersistenceImpl.java
CPRuleUserSegmentRelPersistenceImpl.cacheResult
@Override public void cacheResult(List<CPRuleUserSegmentRel> cpRuleUserSegmentRels) { for (CPRuleUserSegmentRel cpRuleUserSegmentRel : cpRuleUserSegmentRels) { if (entityCache.getResult( CPRuleUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED, CPRuleUserSegmentRelImpl.class, cpRuleUserSegmentRel.getPrimaryKey()) == null) { cacheResult(cpRuleUserSegmentRel); } else { cpRuleUserSegmentRel.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CPRuleUserSegmentRel> cpRuleUserSegmentRels) { for (CPRuleUserSegmentRel cpRuleUserSegmentRel : cpRuleUserSegmentRels) { if (entityCache.getResult( CPRuleUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED, CPRuleUserSegmentRelImpl.class, cpRuleUserSegmentRel.getPrimaryKey()) == null) { cacheResult(cpRuleUserSegmentRel); } else { cpRuleUserSegmentRel.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CPRuleUserSegmentRel", ">", "cpRuleUserSegmentRels", ")", "{", "for", "(", "CPRuleUserSegmentRel", "cpRuleUserSegmentRel", ":", "cpRuleUserSegmentRels", ")", "{", "if", "(", "entityCache", ".", "ge...
Caches the cp rule user segment rels in the entity cache if it is enabled. @param cpRuleUserSegmentRels the cp rule user segment rels
[ "Caches", "the", "cp", "rule", "user", "segment", "rels", "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/CPRuleUserSegmentRelPersistenceImpl.java#L1162-L1175
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleUserSegmentRelPersistenceImpl.java
CPRuleUserSegmentRelPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CPRuleUserSegmentRelImpl.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(CPRuleUserSegmentRelImpl.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", "(", "CPRuleUserSegmentRelImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache"...
Clears the cache for all cp rule user segment rels. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "cp", "rule", "user", "segment", "rels", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleUserSegmentRelPersistenceImpl.java#L1184-L1191
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleUserSegmentRelPersistenceImpl.java
CPRuleUserSegmentRelPersistenceImpl.clearCache
@Override public void clearCache(CPRuleUserSegmentRel cpRuleUserSegmentRel) { entityCache.removeResult(CPRuleUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED, CPRuleUserSegmentRelImpl.class, cpRuleUserSegmentRel.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache(CPRuleUserSegmentRel cpRuleUserSegmentRel) { entityCache.removeResult(CPRuleUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED, CPRuleUserSegmentRelImpl.class, cpRuleUserSegmentRel.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", "CPRuleUserSegmentRel", "cpRuleUserSegmentRel", ")", "{", "entityCache", ".", "removeResult", "(", "CPRuleUserSegmentRelModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPRuleUserSegmentRelImpl", ".", "class", ",", "cpRu...
Clears the cache for the cp rule user segment rel. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "cp", "rule", "user", "segment", "rel", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleUserSegmentRelPersistenceImpl.java#L1200-L1207
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleUserSegmentRelPersistenceImpl.java
CPRuleUserSegmentRelPersistenceImpl.findAll
@Override public List<CPRuleUserSegmentRel> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CPRuleUserSegmentRel> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CPRuleUserSegmentRel", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the cp rule user segment rels. @return the cp rule user segment rels
[ "Returns", "all", "the", "cp", "rule", "user", "segment", "rels", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPRuleUserSegmentRelPersistenceImpl.java#L1665-L1668
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceAddressRestrictionLocalServiceBaseImpl.java
CommerceAddressRestrictionLocalServiceBaseImpl.deleteCommerceAddressRestriction
@Indexable(type = IndexableType.DELETE) @Override public CommerceAddressRestriction deleteCommerceAddressRestriction( long commerceAddressRestrictionId) throws PortalException { return commerceAddressRestrictionPersistence.remove(commerceAddressRestrictionId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceAddressRestriction deleteCommerceAddressRestriction( long commerceAddressRestrictionId) throws PortalException { return commerceAddressRestrictionPersistence.remove(commerceAddressRestrictionId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceAddressRestriction", "deleteCommerceAddressRestriction", "(", "long", "commerceAddressRestrictionId", ")", "throws", "PortalException", "{", "return", "commerceAdd...
Deletes the commerce address restriction with the primary key from the database. Also notifies the appropriate model listeners. @param commerceAddressRestrictionId the primary key of the commerce address restriction @return the commerce address restriction that was removed @throws PortalException if a commerce address restriction with the primary key could not be found
[ "Deletes", "the", "commerce", "address", "restriction", "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/CommerceAddressRestrictionLocalServiceBaseImpl.java#L134-L139
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionOptionValueRelLocalServiceBaseImpl.java
CPDefinitionOptionValueRelLocalServiceBaseImpl.addCPDefinitionOptionValueRel
@Indexable(type = IndexableType.REINDEX) @Override public CPDefinitionOptionValueRel addCPDefinitionOptionValueRel( CPDefinitionOptionValueRel cpDefinitionOptionValueRel) { cpDefinitionOptionValueRel.setNew(true); return cpDefinitionOptionValueRelPersistence.update(cpDefinitionOptionValueRel); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CPDefinitionOptionValueRel addCPDefinitionOptionValueRel( CPDefinitionOptionValueRel cpDefinitionOptionValueRel) { cpDefinitionOptionValueRel.setNew(true); return cpDefinitionOptionValueRelPersistence.update(cpDefinitionOptionValueRel); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CPDefinitionOptionValueRel", "addCPDefinitionOptionValueRel", "(", "CPDefinitionOptionValueRel", "cpDefinitionOptionValueRel", ")", "{", "cpDefinitionOptionValueRel", ".", ...
Adds the cp definition option value rel to the database. Also notifies the appropriate model listeners. @param cpDefinitionOptionValueRel the cp definition option value rel @return the cp definition option value rel that was added
[ "Adds", "the", "cp", "definition", "option", "value", "rel", "to", "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/CPDefinitionOptionValueRelLocalServiceBaseImpl.java#L114-L121
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionOptionValueRelLocalServiceBaseImpl.java
CPDefinitionOptionValueRelLocalServiceBaseImpl.setExpandoRowLocalService
public void setExpandoRowLocalService( com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService) { this.expandoRowLocalService = expandoRowLocalService; }
java
public void setExpandoRowLocalService( com.liferay.expando.kernel.service.ExpandoRowLocalService expandoRowLocalService) { this.expandoRowLocalService = expandoRowLocalService; }
[ "public", "void", "setExpandoRowLocalService", "(", "com", ".", "liferay", ".", "expando", ".", "kernel", ".", "service", ".", "ExpandoRowLocalService", "expandoRowLocalService", ")", "{", "this", ".", "expandoRowLocalService", "=", "expandoRowLocalService", ";", "}" ...
Sets the expando row local service. @param expandoRowLocalService the expando row local service
[ "Sets", "the", "expando", "row", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionOptionValueRelLocalServiceBaseImpl.java#L1392-L1395
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPOptionCategoryWrapper.java
CPOptionCategoryWrapper.getDescription
@Override public String getDescription(String languageId, boolean useDefault) { return _cpOptionCategory.getDescription(languageId, useDefault); }
java
@Override public String getDescription(String languageId, boolean useDefault) { return _cpOptionCategory.getDescription(languageId, useDefault); }
[ "@", "Override", "public", "String", "getDescription", "(", "String", "languageId", ",", "boolean", "useDefault", ")", "{", "return", "_cpOptionCategory", ".", "getDescription", "(", "languageId", ",", "useDefault", ")", ";", "}" ]
Returns the localized description of this cp option category in the language, optionally using the default language if no localization exists for the requested language. @param languageId the ID of the language @param useDefault whether to use the default language if no localization exists for the requested language @return the localized description of this cp option category
[ "Returns", "the", "localized", "description", "of", "this", "cp", "option", "category", "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/CPOptionCategoryWrapper.java#L262-L265
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPOptionCategoryWrapper.java
CPOptionCategoryWrapper.getTitle
@Override public String getTitle(String languageId, boolean useDefault) { return _cpOptionCategory.getTitle(languageId, useDefault); }
java
@Override public String getTitle(String languageId, boolean useDefault) { return _cpOptionCategory.getTitle(languageId, useDefault); }
[ "@", "Override", "public", "String", "getTitle", "(", "String", "languageId", ",", "boolean", "useDefault", ")", "{", "return", "_cpOptionCategory", ".", "getTitle", "(", "languageId", ",", "useDefault", ")", ";", "}" ]
Returns the localized title of this cp option category 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 title of this cp option category
[ "Returns", "the", "localized", "title", "of", "this", "cp", "option", "category", "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/CPOptionCategoryWrapper.java#L408-L411
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPOptionCategoryWrapper.java
CPOptionCategoryWrapper.setTitle
@Override public void setTitle(String title, java.util.Locale locale, java.util.Locale defaultLocale) { _cpOptionCategory.setTitle(title, locale, defaultLocale); }
java
@Override public void setTitle(String title, java.util.Locale locale, java.util.Locale defaultLocale) { _cpOptionCategory.setTitle(title, locale, defaultLocale); }
[ "@", "Override", "public", "void", "setTitle", "(", "String", "title", ",", "java", ".", "util", ".", "Locale", "locale", ",", "java", ".", "util", ".", "Locale", "defaultLocale", ")", "{", "_cpOptionCategory", ".", "setTitle", "(", "title", ",", "locale",...
Sets the localized title of this cp option category in the language, and sets the default locale. @param title the localized title of this cp option category @param locale the locale of the language @param defaultLocale the default locale
[ "Sets", "the", "localized", "title", "of", "this", "cp", "option", "category", "in", "the", "language", "and", "sets", "the", "default", "locale", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPOptionCategoryWrapper.java#L722-L726
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceOrderNoteLocalServiceBaseImpl.java
CommerceOrderNoteLocalServiceBaseImpl.deleteCommerceOrderNote
@Indexable(type = IndexableType.DELETE) @Override public CommerceOrderNote deleteCommerceOrderNote(long commerceOrderNoteId) throws PortalException { return commerceOrderNotePersistence.remove(commerceOrderNoteId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceOrderNote deleteCommerceOrderNote(long commerceOrderNoteId) throws PortalException { return commerceOrderNotePersistence.remove(commerceOrderNoteId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceOrderNote", "deleteCommerceOrderNote", "(", "long", "commerceOrderNoteId", ")", "throws", "PortalException", "{", "return", "commerceOrderNotePersistence", ".", ...
Deletes the commerce order note with the primary key from the database. Also notifies the appropriate model listeners. @param commerceOrderNoteId the primary key of the commerce order note @return the commerce order note that was removed @throws PortalException if a commerce order note with the primary key could not be found
[ "Deletes", "the", "commerce", "order", "note", "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/CommerceOrderNoteLocalServiceBaseImpl.java#L133-L138
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceOrderNoteLocalServiceBaseImpl.java
CommerceOrderNoteLocalServiceBaseImpl.fetchCommerceOrderNoteByReferenceCode
@Override public CommerceOrderNote fetchCommerceOrderNoteByReferenceCode( long companyId, String externalReferenceCode) { return commerceOrderNotePersistence.fetchByC_ERC(companyId, null); }
java
@Override public CommerceOrderNote fetchCommerceOrderNoteByReferenceCode( long companyId, String externalReferenceCode) { return commerceOrderNotePersistence.fetchByC_ERC(companyId, null); }
[ "@", "Override", "public", "CommerceOrderNote", "fetchCommerceOrderNoteByReferenceCode", "(", "long", "companyId", ",", "String", "externalReferenceCode", ")", "{", "return", "commerceOrderNotePersistence", ".", "fetchByC_ERC", "(", "companyId", ",", "null", ")", ";", "...
Returns the commerce order note with the matching external reference code and company. @param companyId the primary key of the company @param externalReferenceCode the commerce order note's external reference code @return the matching commerce order note, or <code>null</code> if a matching commerce order note could not be found
[ "Returns", "the", "commerce", "order", "note", "with", "the", "matching", "external", "reference", "code", "and", "company", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceOrderNoteLocalServiceBaseImpl.java#L248-L252
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CProductPersistenceImpl.java
CProductPersistenceImpl.cacheResult
@Override public void cacheResult(CProduct cProduct) { entityCache.putResult(CProductModelImpl.ENTITY_CACHE_ENABLED, CProductImpl.class, cProduct.getPrimaryKey(), cProduct); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cProduct.getUuid(), cProduct.getGroupId() }, cProduct); cProduct.resetOriginalValues(); }
java
@Override public void cacheResult(CProduct cProduct) { entityCache.putResult(CProductModelImpl.ENTITY_CACHE_ENABLED, CProductImpl.class, cProduct.getPrimaryKey(), cProduct); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cProduct.getUuid(), cProduct.getGroupId() }, cProduct); cProduct.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CProduct", "cProduct", ")", "{", "entityCache", ".", "putResult", "(", "CProductModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CProductImpl", ".", "class", ",", "cProduct", ".", "getPrimaryKey", "(", ")", "...
Caches the c product in the entity cache if it is enabled. @param cProduct the c product
[ "Caches", "the", "c", "product", "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/CProductPersistenceImpl.java#L2000-L2009
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CProductPersistenceImpl.java
CProductPersistenceImpl.cacheResult
@Override public void cacheResult(List<CProduct> cProducts) { for (CProduct cProduct : cProducts) { if (entityCache.getResult(CProductModelImpl.ENTITY_CACHE_ENABLED, CProductImpl.class, cProduct.getPrimaryKey()) == null) { cacheResult(cProduct); } else { cProduct.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CProduct> cProducts) { for (CProduct cProduct : cProducts) { if (entityCache.getResult(CProductModelImpl.ENTITY_CACHE_ENABLED, CProductImpl.class, cProduct.getPrimaryKey()) == null) { cacheResult(cProduct); } else { cProduct.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CProduct", ">", "cProducts", ")", "{", "for", "(", "CProduct", "cProduct", ":", "cProducts", ")", "{", "if", "(", "entityCache", ".", "getResult", "(", "CProductModelImpl", ".", "ENTITY_CAC...
Caches the c products in the entity cache if it is enabled. @param cProducts the c products
[ "Caches", "the", "c", "products", "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/CProductPersistenceImpl.java#L2016-L2027
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CProductPersistenceImpl.java
CProductPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CProductImpl.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(CProductImpl.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", "(", "CProductImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache", "(", "...
Clears the cache for all c products. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "c", "products", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CProductPersistenceImpl.java#L2036-L2043
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CProductPersistenceImpl.java
CProductPersistenceImpl.clearCache
@Override public void clearCache(CProduct cProduct) { entityCache.removeResult(CProductModelImpl.ENTITY_CACHE_ENABLED, CProductImpl.class, cProduct.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CProductModelImpl)cProduct, true); }
java
@Override public void clearCache(CProduct cProduct) { entityCache.removeResult(CProductModelImpl.ENTITY_CACHE_ENABLED, CProductImpl.class, cProduct.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CProductModelImpl)cProduct, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CProduct", "cProduct", ")", "{", "entityCache", ".", "removeResult", "(", "CProductModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CProductImpl", ".", "class", ",", "cProduct", ".", "getPrimaryKey", "(", ")", ...
Clears the cache for the c product. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "c", "product", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CProductPersistenceImpl.java#L2052-L2061
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CProductPersistenceImpl.java
CProductPersistenceImpl.findAll
@Override public List<CProduct> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CProduct> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CProduct", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the c products. @return the c products
[ "Returns", "all", "the", "c", "products", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CProductPersistenceImpl.java#L2578-L2581
train
liferay/com-liferay-commerce
commerce-shipping-engine-fixed-api/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/CommerceShippingFixedOptionRelLocalServiceWrapper.java
CommerceShippingFixedOptionRelLocalServiceWrapper.getCommerceShippingFixedOptionRel
@Override public com.liferay.commerce.shipping.engine.fixed.model.CommerceShippingFixedOptionRel getCommerceShippingFixedOptionRel( long commerceShippingFixedOptionRelId) throws com.liferay.portal.kernel.exception.PortalException { return _commerceShippingFixedOptionRelLocalService.getCommerceShippingFixedOptionRel(commerceShippingFixedOptionRelId); }
java
@Override public com.liferay.commerce.shipping.engine.fixed.model.CommerceShippingFixedOptionRel getCommerceShippingFixedOptionRel( long commerceShippingFixedOptionRelId) throws com.liferay.portal.kernel.exception.PortalException { return _commerceShippingFixedOptionRelLocalService.getCommerceShippingFixedOptionRel(commerceShippingFixedOptionRelId); }
[ "@", "Override", "public", "com", ".", "liferay", ".", "commerce", ".", "shipping", ".", "engine", ".", "fixed", ".", "model", ".", "CommerceShippingFixedOptionRel", "getCommerceShippingFixedOptionRel", "(", "long", "commerceShippingFixedOptionRelId", ")", "throws", "...
Returns the commerce shipping fixed option rel with the primary key. @param commerceShippingFixedOptionRelId the primary key of the commerce shipping fixed option rel @return the commerce shipping fixed option rel @throws PortalException if a commerce shipping fixed option rel with the primary key could not be found
[ "Returns", "the", "commerce", "shipping", "fixed", "option", "rel", "with", "the", "primary", "key", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-api/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/CommerceShippingFixedOptionRelLocalServiceWrapper.java#L230-L235
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java
CommerceDiscountRelServiceBaseImpl.setCommerceDiscountLocalService
public void setCommerceDiscountLocalService( com.liferay.commerce.discount.service.CommerceDiscountLocalService commerceDiscountLocalService) { this.commerceDiscountLocalService = commerceDiscountLocalService; }
java
public void setCommerceDiscountLocalService( com.liferay.commerce.discount.service.CommerceDiscountLocalService commerceDiscountLocalService) { this.commerceDiscountLocalService = commerceDiscountLocalService; }
[ "public", "void", "setCommerceDiscountLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "discount", ".", "service", ".", "CommerceDiscountLocalService", "commerceDiscountLocalService", ")", "{", "this", ".", "commerceDiscountLocalService", "=", "commerceDis...
Sets the commerce discount local service. @param commerceDiscountLocalService the commerce discount local service
[ "Sets", "the", "commerce", "discount", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java#L74-L77
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java
CommerceDiscountRelServiceBaseImpl.setCommerceDiscountService
public void setCommerceDiscountService( com.liferay.commerce.discount.service.CommerceDiscountService commerceDiscountService) { this.commerceDiscountService = commerceDiscountService; }
java
public void setCommerceDiscountService( com.liferay.commerce.discount.service.CommerceDiscountService commerceDiscountService) { this.commerceDiscountService = commerceDiscountService; }
[ "public", "void", "setCommerceDiscountService", "(", "com", ".", "liferay", ".", "commerce", ".", "discount", ".", "service", ".", "CommerceDiscountService", "commerceDiscountService", ")", "{", "this", ".", "commerceDiscountService", "=", "commerceDiscountService", ";"...
Sets the commerce discount remote service. @param commerceDiscountService the commerce discount remote service
[ "Sets", "the", "commerce", "discount", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java#L93-L96
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java
CommerceDiscountRelServiceBaseImpl.setCommerceDiscountRelLocalService
public void setCommerceDiscountRelLocalService( com.liferay.commerce.discount.service.CommerceDiscountRelLocalService commerceDiscountRelLocalService) { this.commerceDiscountRelLocalService = commerceDiscountRelLocalService; }
java
public void setCommerceDiscountRelLocalService( com.liferay.commerce.discount.service.CommerceDiscountRelLocalService commerceDiscountRelLocalService) { this.commerceDiscountRelLocalService = commerceDiscountRelLocalService; }
[ "public", "void", "setCommerceDiscountRelLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "discount", ".", "service", ".", "CommerceDiscountRelLocalService", "commerceDiscountRelLocalService", ")", "{", "this", ".", "commerceDiscountRelLocalService", "=", ...
Sets the commerce discount rel local service. @param commerceDiscountRelLocalService the commerce discount rel local service
[ "Sets", "the", "commerce", "discount", "rel", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java#L131-L134
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java
CommerceDiscountRelServiceBaseImpl.setCommerceDiscountRuleLocalService
public void setCommerceDiscountRuleLocalService( com.liferay.commerce.discount.service.CommerceDiscountRuleLocalService commerceDiscountRuleLocalService) { this.commerceDiscountRuleLocalService = commerceDiscountRuleLocalService; }
java
public void setCommerceDiscountRuleLocalService( com.liferay.commerce.discount.service.CommerceDiscountRuleLocalService commerceDiscountRuleLocalService) { this.commerceDiscountRuleLocalService = commerceDiscountRuleLocalService; }
[ "public", "void", "setCommerceDiscountRuleLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "discount", ".", "service", ".", "CommerceDiscountRuleLocalService", "commerceDiscountRuleLocalService", ")", "{", "this", ".", "commerceDiscountRuleLocalService", "="...
Sets the commerce discount rule local service. @param commerceDiscountRuleLocalService the commerce discount rule local service
[ "Sets", "the", "commerce", "discount", "rule", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java#L188-L191
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java
CommerceDiscountRelServiceBaseImpl.setCommerceDiscountRuleService
public void setCommerceDiscountRuleService( com.liferay.commerce.discount.service.CommerceDiscountRuleService commerceDiscountRuleService) { this.commerceDiscountRuleService = commerceDiscountRuleService; }
java
public void setCommerceDiscountRuleService( com.liferay.commerce.discount.service.CommerceDiscountRuleService commerceDiscountRuleService) { this.commerceDiscountRuleService = commerceDiscountRuleService; }
[ "public", "void", "setCommerceDiscountRuleService", "(", "com", ".", "liferay", ".", "commerce", ".", "discount", ".", "service", ".", "CommerceDiscountRuleService", "commerceDiscountRuleService", ")", "{", "this", ".", "commerceDiscountRuleService", "=", "commerceDiscoun...
Sets the commerce discount rule remote service. @param commerceDiscountRuleService the commerce discount rule remote service
[ "Sets", "the", "commerce", "discount", "rule", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java#L207-L210
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java
CommerceDiscountRelServiceBaseImpl.setCommerceDiscountUsageEntryLocalService
public void setCommerceDiscountUsageEntryLocalService( com.liferay.commerce.discount.service.CommerceDiscountUsageEntryLocalService commerceDiscountUsageEntryLocalService) { this.commerceDiscountUsageEntryLocalService = commerceDiscountUsageEntryLocalService; }
java
public void setCommerceDiscountUsageEntryLocalService( com.liferay.commerce.discount.service.CommerceDiscountUsageEntryLocalService commerceDiscountUsageEntryLocalService) { this.commerceDiscountUsageEntryLocalService = commerceDiscountUsageEntryLocalService; }
[ "public", "void", "setCommerceDiscountUsageEntryLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "discount", ".", "service", ".", "CommerceDiscountUsageEntryLocalService", "commerceDiscountUsageEntryLocalService", ")", "{", "this", ".", "commerceDiscountUsageE...
Sets the commerce discount usage entry local service. @param commerceDiscountUsageEntryLocalService the commerce discount usage entry local service
[ "Sets", "the", "commerce", "discount", "usage", "entry", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java#L245-L248
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java
CommerceDiscountRelServiceBaseImpl.setCommerceDiscountUserSegmentRelLocalService
public void setCommerceDiscountUserSegmentRelLocalService( com.liferay.commerce.discount.service.CommerceDiscountUserSegmentRelLocalService commerceDiscountUserSegmentRelLocalService) { this.commerceDiscountUserSegmentRelLocalService = commerceDiscountUserSegmentRelLocalService; }
java
public void setCommerceDiscountUserSegmentRelLocalService( com.liferay.commerce.discount.service.CommerceDiscountUserSegmentRelLocalService commerceDiscountUserSegmentRelLocalService) { this.commerceDiscountUserSegmentRelLocalService = commerceDiscountUserSegmentRelLocalService; }
[ "public", "void", "setCommerceDiscountUserSegmentRelLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "discount", ".", "service", ".", "CommerceDiscountUserSegmentRelLocalService", "commerceDiscountUserSegmentRelLocalService", ")", "{", "this", ".", "commerceDi...
Sets the commerce discount user segment rel local service. @param commerceDiscountUserSegmentRelLocalService the commerce discount user segment rel local service
[ "Sets", "the", "commerce", "discount", "user", "segment", "rel", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java#L283-L286
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java
CommerceDiscountRelServiceBaseImpl.setCommerceDiscountUserSegmentRelService
public void setCommerceDiscountUserSegmentRelService( com.liferay.commerce.discount.service.CommerceDiscountUserSegmentRelService commerceDiscountUserSegmentRelService) { this.commerceDiscountUserSegmentRelService = commerceDiscountUserSegmentRelService; }
java
public void setCommerceDiscountUserSegmentRelService( com.liferay.commerce.discount.service.CommerceDiscountUserSegmentRelService commerceDiscountUserSegmentRelService) { this.commerceDiscountUserSegmentRelService = commerceDiscountUserSegmentRelService; }
[ "public", "void", "setCommerceDiscountUserSegmentRelService", "(", "com", ".", "liferay", ".", "commerce", ".", "discount", ".", "service", ".", "CommerceDiscountUserSegmentRelService", "commerceDiscountUserSegmentRelService", ")", "{", "this", ".", "commerceDiscountUserSegme...
Sets the commerce discount user segment rel remote service. @param commerceDiscountUserSegmentRelService the commerce discount user segment rel remote service
[ "Sets", "the", "commerce", "discount", "user", "segment", "rel", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRelServiceBaseImpl.java#L302-L305
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPOptionLocalServiceBaseImpl.java
CPOptionLocalServiceBaseImpl.fetchCPOptionByReferenceCode
@Override public CPOption fetchCPOptionByReferenceCode(long companyId, String externalReferenceCode) { return cpOptionPersistence.fetchByC_ERC(companyId, null); }
java
@Override public CPOption fetchCPOptionByReferenceCode(long companyId, String externalReferenceCode) { return cpOptionPersistence.fetchByC_ERC(companyId, null); }
[ "@", "Override", "public", "CPOption", "fetchCPOptionByReferenceCode", "(", "long", "companyId", ",", "String", "externalReferenceCode", ")", "{", "return", "cpOptionPersistence", ".", "fetchByC_ERC", "(", "companyId", ",", "null", ")", ";", "}" ]
Returns the cp option with the matching external reference code and company. @param companyId the primary key of the company @param externalReferenceCode the cp option's external reference code @return the matching cp option, or <code>null</code> if a matching cp option could not be found
[ "Returns", "the", "cp", "option", "with", "the", "matching", "external", "reference", "code", "and", "company", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPOptionLocalServiceBaseImpl.java#L265-L269
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPOptionLocalServiceBaseImpl.java
CPOptionLocalServiceBaseImpl.getCPOptionsByUuidAndCompanyId
@Override public List<CPOption> getCPOptionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<CPOption> orderByComparator) { return cpOptionPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CPOption> getCPOptionsByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<CPOption> orderByComparator) { return cpOptionPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CPOption", ">", "getCPOptionsByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CPOption", ">", "orderByComparator", ")", "{", "...
Returns a range of cp options matching the UUID and company. @param uuid the UUID of the cp options @param companyId the primary key of the company @param start the lower bound of the range of cp options @param end the upper bound of the range of cp options (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching cp options, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "cp", "options", "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/CPOptionLocalServiceBaseImpl.java#L409-L415
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionValuePersistenceImpl.java
CPOptionValuePersistenceImpl.cacheResult
@Override public void cacheResult(CPOptionValue cpOptionValue) { entityCache.putResult(CPOptionValueModelImpl.ENTITY_CACHE_ENABLED, CPOptionValueImpl.class, cpOptionValue.getPrimaryKey(), cpOptionValue); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cpOptionValue.getUuid(), cpOptionValue.getGroupId() }, cpOptionValue); finderCache.putResult(FINDER_PATH_FETCH_BY_C_K, new Object[] { cpOptionValue.getCPOptionId(), cpOptionValue.getKey() }, cpOptionValue); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { cpOptionValue.getCompanyId(), cpOptionValue.getExternalReferenceCode() }, cpOptionValue); cpOptionValue.resetOriginalValues(); }
java
@Override public void cacheResult(CPOptionValue cpOptionValue) { entityCache.putResult(CPOptionValueModelImpl.ENTITY_CACHE_ENABLED, CPOptionValueImpl.class, cpOptionValue.getPrimaryKey(), cpOptionValue); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cpOptionValue.getUuid(), cpOptionValue.getGroupId() }, cpOptionValue); finderCache.putResult(FINDER_PATH_FETCH_BY_C_K, new Object[] { cpOptionValue.getCPOptionId(), cpOptionValue.getKey() }, cpOptionValue); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { cpOptionValue.getCompanyId(), cpOptionValue.getExternalReferenceCode() }, cpOptionValue); cpOptionValue.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CPOptionValue", "cpOptionValue", ")", "{", "entityCache", ".", "putResult", "(", "CPOptionValueModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPOptionValueImpl", ".", "class", ",", "cpOptionValue", ".", "getPrima...
Caches the cp option value in the entity cache if it is enabled. @param cpOptionValue the cp option value
[ "Caches", "the", "cp", "option", "value", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionValuePersistenceImpl.java#L3544-L3565
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionValuePersistenceImpl.java
CPOptionValuePersistenceImpl.cacheResult
@Override public void cacheResult(List<CPOptionValue> cpOptionValues) { for (CPOptionValue cpOptionValue : cpOptionValues) { if (entityCache.getResult( CPOptionValueModelImpl.ENTITY_CACHE_ENABLED, CPOptionValueImpl.class, cpOptionValue.getPrimaryKey()) == null) { cacheResult(cpOptionValue); } else { cpOptionValue.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CPOptionValue> cpOptionValues) { for (CPOptionValue cpOptionValue : cpOptionValues) { if (entityCache.getResult( CPOptionValueModelImpl.ENTITY_CACHE_ENABLED, CPOptionValueImpl.class, cpOptionValue.getPrimaryKey()) == null) { cacheResult(cpOptionValue); } else { cpOptionValue.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CPOptionValue", ">", "cpOptionValues", ")", "{", "for", "(", "CPOptionValue", "cpOptionValue", ":", "cpOptionValues", ")", "{", "if", "(", "entityCache", ".", "getResult", "(", "CPOptionValueMo...
Caches the cp option values in the entity cache if it is enabled. @param cpOptionValues the cp option values
[ "Caches", "the", "cp", "option", "values", "in", "the", "entity", "cache", "if", "it", "is", "enabled", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionValuePersistenceImpl.java#L3572-L3584
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionValuePersistenceImpl.java
CPOptionValuePersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CPOptionValueImpl.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(CPOptionValueImpl.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", "(", "CPOptionValueImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache", "("...
Clears the cache for all cp option values. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "cp", "option", "values", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionValuePersistenceImpl.java#L3593-L3600
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionValuePersistenceImpl.java
CPOptionValuePersistenceImpl.clearCache
@Override public void clearCache(CPOptionValue cpOptionValue) { entityCache.removeResult(CPOptionValueModelImpl.ENTITY_CACHE_ENABLED, CPOptionValueImpl.class, cpOptionValue.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CPOptionValueModelImpl)cpOptionValue, true); }
java
@Override public void clearCache(CPOptionValue cpOptionValue) { entityCache.removeResult(CPOptionValueModelImpl.ENTITY_CACHE_ENABLED, CPOptionValueImpl.class, cpOptionValue.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); clearUniqueFindersCache((CPOptionValueModelImpl)cpOptionValue, true); }
[ "@", "Override", "public", "void", "clearCache", "(", "CPOptionValue", "cpOptionValue", ")", "{", "entityCache", ".", "removeResult", "(", "CPOptionValueModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPOptionValueImpl", ".", "class", ",", "cpOptionValue", ".", "getPri...
Clears the cache for the cp option value. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "cp", "option", "value", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionValuePersistenceImpl.java#L3609-L3618
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionValuePersistenceImpl.java
CPOptionValuePersistenceImpl.findAll
@Override public List<CPOptionValue> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CPOptionValue> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CPOptionValue", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the cp option values. @return the cp option values
[ "Returns", "all", "the", "cp", "option", "values", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPOptionValuePersistenceImpl.java#L4252-L4255
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPaymentPersistenceImpl.java
CommerceOrderPaymentPersistenceImpl.cacheResult
@Override public void cacheResult(CommerceOrderPayment commerceOrderPayment) { entityCache.putResult(CommerceOrderPaymentModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderPaymentImpl.class, commerceOrderPayment.getPrimaryKey(), commerceOrderPayment); commerceOrderPayment.resetOriginalValues(); }
java
@Override public void cacheResult(CommerceOrderPayment commerceOrderPayment) { entityCache.putResult(CommerceOrderPaymentModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderPaymentImpl.class, commerceOrderPayment.getPrimaryKey(), commerceOrderPayment); commerceOrderPayment.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CommerceOrderPayment", "commerceOrderPayment", ")", "{", "entityCache", ".", "putResult", "(", "CommerceOrderPaymentModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceOrderPaymentImpl", ".", "class", ",", "commer...
Caches the commerce order payment in the entity cache if it is enabled. @param commerceOrderPayment the commerce order payment
[ "Caches", "the", "commerce", "order", "payment", "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/CommerceOrderPaymentPersistenceImpl.java#L630-L637
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPaymentPersistenceImpl.java
CommerceOrderPaymentPersistenceImpl.cacheResult
@Override public void cacheResult(List<CommerceOrderPayment> commerceOrderPayments) { for (CommerceOrderPayment commerceOrderPayment : commerceOrderPayments) { if (entityCache.getResult( CommerceOrderPaymentModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderPaymentImpl.class, commerceOrderPayment.getPrimaryKey()) == null) { cacheResult(commerceOrderPayment); } else { commerceOrderPayment.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CommerceOrderPayment> commerceOrderPayments) { for (CommerceOrderPayment commerceOrderPayment : commerceOrderPayments) { if (entityCache.getResult( CommerceOrderPaymentModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderPaymentImpl.class, commerceOrderPayment.getPrimaryKey()) == null) { cacheResult(commerceOrderPayment); } else { commerceOrderPayment.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CommerceOrderPayment", ">", "commerceOrderPayments", ")", "{", "for", "(", "CommerceOrderPayment", "commerceOrderPayment", ":", "commerceOrderPayments", ")", "{", "if", "(", "entityCache", ".", "ge...
Caches the commerce order payments in the entity cache if it is enabled. @param commerceOrderPayments the commerce order payments
[ "Caches", "the", "commerce", "order", "payments", "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/CommerceOrderPaymentPersistenceImpl.java#L644-L657
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPaymentPersistenceImpl.java
CommerceOrderPaymentPersistenceImpl.clearCache
@Override public void clearCache() { entityCache.clearCache(CommerceOrderPaymentImpl.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(CommerceOrderPaymentImpl.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", "(", "CommerceOrderPaymentImpl", ".", "class", ")", ";", "finderCache", ".", "clearCache", "(", "FINDER_CLASS_NAME_ENTITY", ")", ";", "finderCache", ".", "clearCache"...
Clears the cache for all commerce order payments. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "all", "commerce", "order", "payments", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPaymentPersistenceImpl.java#L666-L673
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPaymentPersistenceImpl.java
CommerceOrderPaymentPersistenceImpl.clearCache
@Override public void clearCache(CommerceOrderPayment commerceOrderPayment) { entityCache.removeResult(CommerceOrderPaymentModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderPaymentImpl.class, commerceOrderPayment.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
java
@Override public void clearCache(CommerceOrderPayment commerceOrderPayment) { entityCache.removeResult(CommerceOrderPaymentModelImpl.ENTITY_CACHE_ENABLED, CommerceOrderPaymentImpl.class, commerceOrderPayment.getPrimaryKey()); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION); finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION); }
[ "@", "Override", "public", "void", "clearCache", "(", "CommerceOrderPayment", "commerceOrderPayment", ")", "{", "entityCache", ".", "removeResult", "(", "CommerceOrderPaymentModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CommerceOrderPaymentImpl", ".", "class", ",", "comm...
Clears the cache for the commerce order payment. <p> The {@link EntityCache} and {@link FinderCache} are both cleared by this method. </p>
[ "Clears", "the", "cache", "for", "the", "commerce", "order", "payment", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPaymentPersistenceImpl.java#L682-L689
train
liferay/com-liferay-commerce
commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPaymentPersistenceImpl.java
CommerceOrderPaymentPersistenceImpl.findAll
@Override public List<CommerceOrderPayment> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
java
@Override public List<CommerceOrderPayment> findAll() { return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null); }
[ "@", "Override", "public", "List", "<", "CommerceOrderPayment", ">", "findAll", "(", ")", "{", "return", "findAll", "(", "QueryUtil", ".", "ALL_POS", ",", "QueryUtil", ".", "ALL_POS", ",", "null", ")", ";", "}" ]
Returns all the commerce order payments. @return the commerce order payments
[ "Returns", "all", "the", "commerce", "order", "payments", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceOrderPaymentPersistenceImpl.java#L1121-L1124
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionSpecificationOptionValueWrapper.java
CPDefinitionSpecificationOptionValueWrapper.getValue
@Override public String getValue(java.util.Locale locale) { return _cpDefinitionSpecificationOptionValue.getValue(locale); }
java
@Override public String getValue(java.util.Locale locale) { return _cpDefinitionSpecificationOptionValue.getValue(locale); }
[ "@", "Override", "public", "String", "getValue", "(", "java", ".", "util", ".", "Locale", "locale", ")", "{", "return", "_cpDefinitionSpecificationOptionValue", ".", "getValue", "(", "locale", ")", ";", "}" ]
Returns the localized value of this cp definition specification option value in the language. Uses the default language if no localization exists for the requested language. @param locale the locale of the language @return the localized value of this cp definition specification option value
[ "Returns", "the", "localized", "value", "of", "this", "cp", "definition", "specification", "option", "value", "in", "the", "language", ".", "Uses", "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/CPDefinitionSpecificationOptionValueWrapper.java#L388-L391
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionSpecificationOptionValueWrapper.java
CPDefinitionSpecificationOptionValueWrapper.getValue
@Override public String getValue(String languageId, boolean useDefault) { return _cpDefinitionSpecificationOptionValue.getValue(languageId, useDefault); }
java
@Override public String getValue(String languageId, boolean useDefault) { return _cpDefinitionSpecificationOptionValue.getValue(languageId, useDefault); }
[ "@", "Override", "public", "String", "getValue", "(", "String", "languageId", ",", "boolean", "useDefault", ")", "{", "return", "_cpDefinitionSpecificationOptionValue", ".", "getValue", "(", "languageId", ",", "useDefault", ")", ";", "}" ]
Returns the localized value of this cp definition specification 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 value of this cp definition specification option value
[ "Returns", "the", "localized", "value", "of", "this", "cp", "definition", "specification", "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/CPDefinitionSpecificationOptionValueWrapper.java#L423-L427
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionSpecificationOptionValueWrapper.java
CPDefinitionSpecificationOptionValueWrapper.setValue
@Override public void setValue(String value, java.util.Locale locale) { _cpDefinitionSpecificationOptionValue.setValue(value, locale); }
java
@Override public void setValue(String value, java.util.Locale locale) { _cpDefinitionSpecificationOptionValue.setValue(value, locale); }
[ "@", "Override", "public", "void", "setValue", "(", "String", "value", ",", "java", ".", "util", ".", "Locale", "locale", ")", "{", "_cpDefinitionSpecificationOptionValue", ".", "setValue", "(", "value", ",", "locale", ")", ";", "}" ]
Sets the localized value of this cp definition specification option value in the language. @param value the localized value of this cp definition specification option value @param locale the locale of the language
[ "Sets", "the", "localized", "value", "of", "this", "cp", "definition", "specification", "option", "value", "in", "the", "language", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionSpecificationOptionValueWrapper.java#L685-L688
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionSpecificationOptionValueWrapper.java
CPDefinitionSpecificationOptionValueWrapper.setValueMap
@Override public void setValueMap(Map<java.util.Locale, String> valueMap) { _cpDefinitionSpecificationOptionValue.setValueMap(valueMap); }
java
@Override public void setValueMap(Map<java.util.Locale, String> valueMap) { _cpDefinitionSpecificationOptionValue.setValueMap(valueMap); }
[ "@", "Override", "public", "void", "setValueMap", "(", "Map", "<", "java", ".", "util", ".", "Locale", ",", "String", ">", "valueMap", ")", "{", "_cpDefinitionSpecificationOptionValue", ".", "setValueMap", "(", "valueMap", ")", ";", "}" ]
Sets the localized values of this cp definition specification option value from the map of locales and localized values. @param valueMap the locales and localized values of this cp definition specification option value
[ "Sets", "the", "localized", "values", "of", "this", "cp", "definition", "specification", "option", "value", "from", "the", "map", "of", "locales", "and", "localized", "values", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionSpecificationOptionValueWrapper.java#L714-L717
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionSpecificationOptionValueWrapper.java
CPDefinitionSpecificationOptionValueWrapper.setValueMap
@Override public void setValueMap(Map<java.util.Locale, String> valueMap, java.util.Locale defaultLocale) { _cpDefinitionSpecificationOptionValue.setValueMap(valueMap, defaultLocale); }
java
@Override public void setValueMap(Map<java.util.Locale, String> valueMap, java.util.Locale defaultLocale) { _cpDefinitionSpecificationOptionValue.setValueMap(valueMap, defaultLocale); }
[ "@", "Override", "public", "void", "setValueMap", "(", "Map", "<", "java", ".", "util", ".", "Locale", ",", "String", ">", "valueMap", ",", "java", ".", "util", ".", "Locale", "defaultLocale", ")", "{", "_cpDefinitionSpecificationOptionValue", ".", "setValueMa...
Sets the localized values of this cp definition specification option value from the map of locales and localized values, and sets the default locale. @param valueMap the locales and localized values of this cp definition specification option value @param defaultLocale the default locale
[ "Sets", "the", "localized", "values", "of", "this", "cp", "definition", "specification", "option", "value", "from", "the", "map", "of", "locales", "and", "localized", "values", "and", "sets", "the", "default", "locale", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionSpecificationOptionValueWrapper.java#L725-L730
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDisplayLayoutLocalServiceBaseImpl.java
CPDisplayLayoutLocalServiceBaseImpl.deleteCPDisplayLayout
@Indexable(type = IndexableType.DELETE) @Override public CPDisplayLayout deleteCPDisplayLayout(long CPDisplayLayoutId) throws PortalException { return cpDisplayLayoutPersistence.remove(CPDisplayLayoutId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CPDisplayLayout deleteCPDisplayLayout(long CPDisplayLayoutId) throws PortalException { return cpDisplayLayoutPersistence.remove(CPDisplayLayoutId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CPDisplayLayout", "deleteCPDisplayLayout", "(", "long", "CPDisplayLayoutId", ")", "throws", "PortalException", "{", "return", "cpDisplayLayoutPersistence", ".", "remov...
Deletes the cp display layout with the primary key from the database. Also notifies the appropriate model listeners. @param CPDisplayLayoutId the primary key of the cp display layout @return the cp display layout that was removed @throws PortalException if a cp display layout with the primary key could not be found
[ "Deletes", "the", "cp", "display", "layout", "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/CPDisplayLayoutLocalServiceBaseImpl.java#L141-L146
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDisplayLayoutLocalServiceBaseImpl.java
CPDisplayLayoutLocalServiceBaseImpl.deleteCPDisplayLayout
@Indexable(type = IndexableType.DELETE) @Override public CPDisplayLayout deleteCPDisplayLayout( CPDisplayLayout cpDisplayLayout) { return cpDisplayLayoutPersistence.remove(cpDisplayLayout); }
java
@Indexable(type = IndexableType.DELETE) @Override public CPDisplayLayout deleteCPDisplayLayout( CPDisplayLayout cpDisplayLayout) { return cpDisplayLayoutPersistence.remove(cpDisplayLayout); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CPDisplayLayout", "deleteCPDisplayLayout", "(", "CPDisplayLayout", "cpDisplayLayout", ")", "{", "return", "cpDisplayLayoutPersistence", ".", "remove", "(", "cpDisplayL...
Deletes the cp display layout from the database. Also notifies the appropriate model listeners. @param cpDisplayLayout the cp display layout @return the cp display layout that was removed
[ "Deletes", "the", "cp", "display", "layout", "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/CPDisplayLayoutLocalServiceBaseImpl.java#L154-L159
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDisplayLayoutLocalServiceBaseImpl.java
CPDisplayLayoutLocalServiceBaseImpl.getCPDisplayLayoutsByUuidAndCompanyId
@Override public List<CPDisplayLayout> getCPDisplayLayoutsByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CPDisplayLayout> orderByComparator) { return cpDisplayLayoutPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CPDisplayLayout> getCPDisplayLayoutsByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CPDisplayLayout> orderByComparator) { return cpDisplayLayoutPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CPDisplayLayout", ">", "getCPDisplayLayoutsByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CPDisplayLayout", ">", "orderByComparato...
Returns a range of cp display layouts matching the UUID and company. @param uuid the UUID of the cp display layouts @param companyId the primary key of the company @param start the lower bound of the range of cp display layouts @param end the upper bound of the range of cp display layouts (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching cp display layouts, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "cp", "display", "layouts", "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/CPDisplayLayoutLocalServiceBaseImpl.java#L417-L423
train
liferay/com-liferay-commerce
commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRuleServiceBaseImpl.java
CommerceDiscountRuleServiceBaseImpl.setCommerceDiscountRelService
public void setCommerceDiscountRelService( com.liferay.commerce.discount.service.CommerceDiscountRelService commerceDiscountRelService) { this.commerceDiscountRelService = commerceDiscountRelService; }
java
public void setCommerceDiscountRelService( com.liferay.commerce.discount.service.CommerceDiscountRelService commerceDiscountRelService) { this.commerceDiscountRelService = commerceDiscountRelService; }
[ "public", "void", "setCommerceDiscountRelService", "(", "com", ".", "liferay", ".", "commerce", ".", "discount", ".", "service", ".", "CommerceDiscountRelService", "commerceDiscountRelService", ")", "{", "this", ".", "commerceDiscountRelService", "=", "commerceDiscountRel...
Sets the commerce discount rel remote service. @param commerceDiscountRelService the commerce discount rel remote service
[ "Sets", "the", "commerce", "discount", "rel", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRuleServiceBaseImpl.java#L151-L154
train
liferay/com-liferay-commerce
commerce-tax-api/src/main/java/com/liferay/commerce/tax/service/CommerceTaxMethodLocalServiceWrapper.java
CommerceTaxMethodLocalServiceWrapper.getCommerceTaxMethod
@Override public com.liferay.commerce.tax.model.CommerceTaxMethod getCommerceTaxMethod( long commerceTaxMethodId) throws com.liferay.portal.kernel.exception.PortalException { return _commerceTaxMethodLocalService.getCommerceTaxMethod(commerceTaxMethodId); }
java
@Override public com.liferay.commerce.tax.model.CommerceTaxMethod getCommerceTaxMethod( long commerceTaxMethodId) throws com.liferay.portal.kernel.exception.PortalException { return _commerceTaxMethodLocalService.getCommerceTaxMethod(commerceTaxMethodId); }
[ "@", "Override", "public", "com", ".", "liferay", ".", "commerce", ".", "tax", ".", "model", ".", "CommerceTaxMethod", "getCommerceTaxMethod", "(", "long", "commerceTaxMethodId", ")", "throws", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "excepti...
Returns the commerce tax method with the primary key. @param commerceTaxMethodId the primary key of the commerce tax method @return the commerce tax method @throws PortalException if a commerce tax method with the primary key could not be found
[ "Returns", "the", "commerce", "tax", "method", "with", "the", "primary", "key", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-api/src/main/java/com/liferay/commerce/tax/service/CommerceTaxMethodLocalServiceWrapper.java#L225-L230
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPInstanceLocalServiceBaseImpl.java
CPInstanceLocalServiceBaseImpl.deleteCPInstance
@Indexable(type = IndexableType.DELETE) @Override public CPInstance deleteCPInstance(long CPInstanceId) throws PortalException { return cpInstancePersistence.remove(CPInstanceId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CPInstance deleteCPInstance(long CPInstanceId) throws PortalException { return cpInstancePersistence.remove(CPInstanceId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CPInstance", "deleteCPInstance", "(", "long", "CPInstanceId", ")", "throws", "PortalException", "{", "return", "cpInstancePersistence", ".", "remove", "(", "CPInst...
Deletes the cp instance with the primary key from the database. Also notifies the appropriate model listeners. @param CPInstanceId the primary key of the cp instance @return the cp instance that was removed @throws PortalException if a cp instance with the primary key could not be found
[ "Deletes", "the", "cp", "instance", "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/CPInstanceLocalServiceBaseImpl.java#L151-L156
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPInstanceLocalServiceBaseImpl.java
CPInstanceLocalServiceBaseImpl.getCPInstancesByUuidAndCompanyId
@Override public List<CPInstance> getCPInstancesByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<CPInstance> orderByComparator) { return cpInstancePersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CPInstance> getCPInstancesByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<CPInstance> orderByComparator) { return cpInstancePersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CPInstance", ">", "getCPInstancesByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CPInstance", ">", "orderByComparator", ")", "{...
Returns a range of cp instances matching the UUID and company. @param uuid the UUID of the cp instances @param companyId the primary key of the company @param start the lower bound of the range of cp instances @param end the upper bound of the range of cp instances (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching cp instances, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "cp", "instances", "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/CPInstanceLocalServiceBaseImpl.java#L472-L478
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPInstanceLocalServiceBaseImpl.java
CPInstanceLocalServiceBaseImpl.setWorkflowInstanceLinkLocalService
public void setWorkflowInstanceLinkLocalService( com.liferay.portal.kernel.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) { this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService; }
java
public void setWorkflowInstanceLinkLocalService( com.liferay.portal.kernel.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) { this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService; }
[ "public", "void", "setWorkflowInstanceLinkLocalService", "(", "com", ".", "liferay", ".", "portal", ".", "kernel", ".", "service", ".", "WorkflowInstanceLinkLocalService", "workflowInstanceLinkLocalService", ")", "{", "this", ".", "workflowInstanceLinkLocalService", "=", ...
Sets the workflow instance link local service. @param workflowInstanceLinkLocalService the workflow instance link local service
[ "Sets", "the", "workflow", "instance", "link", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPInstanceLocalServiceBaseImpl.java#L1452-L1455
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPMeasurementUnitServiceBaseImpl.java
CPMeasurementUnitServiceBaseImpl.setCPTaxCategoryService
public void setCPTaxCategoryService( com.liferay.commerce.product.service.CPTaxCategoryService cpTaxCategoryService) { this.cpTaxCategoryService = cpTaxCategoryService; }
java
public void setCPTaxCategoryService( com.liferay.commerce.product.service.CPTaxCategoryService cpTaxCategoryService) { this.cpTaxCategoryService = cpTaxCategoryService; }
[ "public", "void", "setCPTaxCategoryService", "(", "com", ".", "liferay", ".", "commerce", ".", "product", ".", "service", ".", "CPTaxCategoryService", "cpTaxCategoryService", ")", "{", "this", ".", "cpTaxCategoryService", "=", "cpTaxCategoryService", ";", "}" ]
Sets the cp tax category remote service. @param cpTaxCategoryService the cp tax category remote service
[ "Sets", "the", "cp", "tax", "category", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPMeasurementUnitServiceBaseImpl.java#L1151-L1154
train
liferay/com-liferay-commerce
commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentCriterionServiceBaseImpl.java
CommerceUserSegmentCriterionServiceBaseImpl.setCommerceUserSegmentCriterionLocalService
public void setCommerceUserSegmentCriterionLocalService( com.liferay.commerce.user.segment.service.CommerceUserSegmentCriterionLocalService commerceUserSegmentCriterionLocalService) { this.commerceUserSegmentCriterionLocalService = commerceUserSegmentCriterionLocalService; }
java
public void setCommerceUserSegmentCriterionLocalService( com.liferay.commerce.user.segment.service.CommerceUserSegmentCriterionLocalService commerceUserSegmentCriterionLocalService) { this.commerceUserSegmentCriterionLocalService = commerceUserSegmentCriterionLocalService; }
[ "public", "void", "setCommerceUserSegmentCriterionLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "user", ".", "segment", ".", "service", ".", "CommerceUserSegmentCriterionLocalService", "commerceUserSegmentCriterionLocalService", ")", "{", "this", ".", "...
Sets the commerce user segment criterion local service. @param commerceUserSegmentCriterionLocalService the commerce user segment criterion local service
[ "Sets", "the", "commerce", "user", "segment", "criterion", "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/CommerceUserSegmentCriterionServiceBaseImpl.java#L74-L77
train
liferay/com-liferay-commerce
commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentCriterionServiceBaseImpl.java
CommerceUserSegmentCriterionServiceBaseImpl.setCommerceUserSegmentEntryLocalService
public void setCommerceUserSegmentEntryLocalService( com.liferay.commerce.user.segment.service.CommerceUserSegmentEntryLocalService commerceUserSegmentEntryLocalService) { this.commerceUserSegmentEntryLocalService = commerceUserSegmentEntryLocalService; }
java
public void setCommerceUserSegmentEntryLocalService( com.liferay.commerce.user.segment.service.CommerceUserSegmentEntryLocalService commerceUserSegmentEntryLocalService) { this.commerceUserSegmentEntryLocalService = commerceUserSegmentEntryLocalService; }
[ "public", "void", "setCommerceUserSegmentEntryLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "user", ".", "segment", ".", "service", ".", "CommerceUserSegmentEntryLocalService", "commerceUserSegmentEntryLocalService", ")", "{", "this", ".", "commerceUser...
Sets the commerce user segment entry local service. @param commerceUserSegmentEntryLocalService the commerce user segment entry local service
[ "Sets", "the", "commerce", "user", "segment", "entry", "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/CommerceUserSegmentCriterionServiceBaseImpl.java#L131-L134
train
liferay/com-liferay-commerce
commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/base/CommerceUserSegmentCriterionServiceBaseImpl.java
CommerceUserSegmentCriterionServiceBaseImpl.setCommerceUserSegmentEntryService
public void setCommerceUserSegmentEntryService( com.liferay.commerce.user.segment.service.CommerceUserSegmentEntryService commerceUserSegmentEntryService) { this.commerceUserSegmentEntryService = commerceUserSegmentEntryService; }
java
public void setCommerceUserSegmentEntryService( com.liferay.commerce.user.segment.service.CommerceUserSegmentEntryService commerceUserSegmentEntryService) { this.commerceUserSegmentEntryService = commerceUserSegmentEntryService; }
[ "public", "void", "setCommerceUserSegmentEntryService", "(", "com", ".", "liferay", ".", "commerce", ".", "user", ".", "segment", ".", "service", ".", "CommerceUserSegmentEntryService", "commerceUserSegmentEntryService", ")", "{", "this", ".", "commerceUserSegmentEntrySer...
Sets the commerce user segment entry remote service. @param commerceUserSegmentEntryService the commerce user segment entry remote service
[ "Sets", "the", "commerce", "user", "segment", "entry", "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/CommerceUserSegmentCriterionServiceBaseImpl.java#L150-L153
train
liferay/com-liferay-commerce
commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationAttachmentLocalServiceBaseImpl.java
CommerceNotificationAttachmentLocalServiceBaseImpl.deleteCommerceNotificationAttachment
@Indexable(type = IndexableType.DELETE) @Override public CommerceNotificationAttachment deleteCommerceNotificationAttachment( CommerceNotificationAttachment commerceNotificationAttachment) { return commerceNotificationAttachmentPersistence.remove(commerceNotificationAttachment); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceNotificationAttachment deleteCommerceNotificationAttachment( CommerceNotificationAttachment commerceNotificationAttachment) { return commerceNotificationAttachmentPersistence.remove(commerceNotificationAttachment); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceNotificationAttachment", "deleteCommerceNotificationAttachment", "(", "CommerceNotificationAttachment", "commerceNotificationAttachment", ")", "{", "return", "commerce...
Deletes the commerce notification attachment from the database. Also notifies the appropriate model listeners. @param commerceNotificationAttachment the commerce notification attachment @return the commerce notification attachment that was removed
[ "Deletes", "the", "commerce", "notification", "attachment", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationAttachmentLocalServiceBaseImpl.java#L136-L141
train
liferay/com-liferay-commerce
commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationAttachmentLocalServiceBaseImpl.java
CommerceNotificationAttachmentLocalServiceBaseImpl.setCommerceNotificationTemplateUserSegmentRelLocalService
public void setCommerceNotificationTemplateUserSegmentRelLocalService( com.liferay.commerce.notification.service.CommerceNotificationTemplateUserSegmentRelLocalService commerceNotificationTemplateUserSegmentRelLocalService) { this.commerceNotificationTemplateUserSegmentRelLocalService = commerceNotificationTemplateUserSegmentRelLocalService; }
java
public void setCommerceNotificationTemplateUserSegmentRelLocalService( com.liferay.commerce.notification.service.CommerceNotificationTemplateUserSegmentRelLocalService commerceNotificationTemplateUserSegmentRelLocalService) { this.commerceNotificationTemplateUserSegmentRelLocalService = commerceNotificationTemplateUserSegmentRelLocalService; }
[ "public", "void", "setCommerceNotificationTemplateUserSegmentRelLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "notification", ".", "service", ".", "CommerceNotificationTemplateUserSegmentRelLocalService", "commerceNotificationTemplateUserSegmentRelLocalService", ")...
Sets the commerce notification template user segment rel local service. @param commerceNotificationTemplateUserSegmentRelLocalService the commerce notification template user segment rel local service
[ "Sets", "the", "commerce", "notification", "template", "user", "segment", "rel", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationAttachmentLocalServiceBaseImpl.java#L580-L583
train
liferay/com-liferay-commerce
commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationAttachmentLocalServiceBaseImpl.java
CommerceNotificationAttachmentLocalServiceBaseImpl.setDLAppLocalService
public void setDLAppLocalService( com.liferay.document.library.kernel.service.DLAppLocalService dlAppLocalService) { this.dlAppLocalService = dlAppLocalService; }
java
public void setDLAppLocalService( com.liferay.document.library.kernel.service.DLAppLocalService dlAppLocalService) { this.dlAppLocalService = dlAppLocalService; }
[ "public", "void", "setDLAppLocalService", "(", "com", ".", "liferay", ".", "document", ".", "library", ".", "kernel", ".", "service", ".", "DLAppLocalService", "dlAppLocalService", ")", "{", "this", ".", "dlAppLocalService", "=", "dlAppLocalService", ";", "}" ]
Sets the dl app local service. @param dlAppLocalService the dl app local service
[ "Sets", "the", "dl", "app", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/base/CommerceNotificationAttachmentLocalServiceBaseImpl.java#L731-L734
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java
CommercePriceListAccountRelServiceBaseImpl.setCommercePriceEntryLocalService
public void setCommercePriceEntryLocalService( com.liferay.commerce.price.list.service.CommercePriceEntryLocalService commercePriceEntryLocalService) { this.commercePriceEntryLocalService = commercePriceEntryLocalService; }
java
public void setCommercePriceEntryLocalService( com.liferay.commerce.price.list.service.CommercePriceEntryLocalService commercePriceEntryLocalService) { this.commercePriceEntryLocalService = commercePriceEntryLocalService; }
[ "public", "void", "setCommercePriceEntryLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "price", ".", "list", ".", "service", ".", "CommercePriceEntryLocalService", "commercePriceEntryLocalService", ")", "{", "this", ".", "commercePriceEntryLocalService",...
Sets the commerce price entry local service. @param commercePriceEntryLocalService the commerce price entry local service
[ "Sets", "the", "commerce", "price", "entry", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java#L78-L81
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java
CommercePriceListAccountRelServiceBaseImpl.setCommercePriceEntryService
public void setCommercePriceEntryService( com.liferay.commerce.price.list.service.CommercePriceEntryService commercePriceEntryService) { this.commercePriceEntryService = commercePriceEntryService; }
java
public void setCommercePriceEntryService( com.liferay.commerce.price.list.service.CommercePriceEntryService commercePriceEntryService) { this.commercePriceEntryService = commercePriceEntryService; }
[ "public", "void", "setCommercePriceEntryService", "(", "com", ".", "liferay", ".", "commerce", ".", "price", ".", "list", ".", "service", ".", "CommercePriceEntryService", "commercePriceEntryService", ")", "{", "this", ".", "commercePriceEntryService", "=", "commerceP...
Sets the commerce price entry remote service. @param commercePriceEntryService the commerce price entry remote service
[ "Sets", "the", "commerce", "price", "entry", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java#L97-L100
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java
CommercePriceListAccountRelServiceBaseImpl.setCommercePriceListLocalService
public void setCommercePriceListLocalService( com.liferay.commerce.price.list.service.CommercePriceListLocalService commercePriceListLocalService) { this.commercePriceListLocalService = commercePriceListLocalService; }
java
public void setCommercePriceListLocalService( com.liferay.commerce.price.list.service.CommercePriceListLocalService commercePriceListLocalService) { this.commercePriceListLocalService = commercePriceListLocalService; }
[ "public", "void", "setCommercePriceListLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "price", ".", "list", ".", "service", ".", "CommercePriceListLocalService", "commercePriceListLocalService", ")", "{", "this", ".", "commercePriceListLocalService", "...
Sets the commerce price list local service. @param commercePriceListLocalService the commerce price list local service
[ "Sets", "the", "commerce", "price", "list", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java#L135-L138
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java
CommercePriceListAccountRelServiceBaseImpl.setCommercePriceListService
public void setCommercePriceListService( com.liferay.commerce.price.list.service.CommercePriceListService commercePriceListService) { this.commercePriceListService = commercePriceListService; }
java
public void setCommercePriceListService( com.liferay.commerce.price.list.service.CommercePriceListService commercePriceListService) { this.commercePriceListService = commercePriceListService; }
[ "public", "void", "setCommercePriceListService", "(", "com", ".", "liferay", ".", "commerce", ".", "price", ".", "list", ".", "service", ".", "CommercePriceListService", "commercePriceListService", ")", "{", "this", ".", "commercePriceListService", "=", "commercePrice...
Sets the commerce price list remote service. @param commercePriceListService the commerce price list remote service
[ "Sets", "the", "commerce", "price", "list", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java#L154-L157
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java
CommercePriceListAccountRelServiceBaseImpl.setCommercePriceListAccountRelLocalService
public void setCommercePriceListAccountRelLocalService( com.liferay.commerce.price.list.service.CommercePriceListAccountRelLocalService commercePriceListAccountRelLocalService) { this.commercePriceListAccountRelLocalService = commercePriceListAccountRelLocalService; }
java
public void setCommercePriceListAccountRelLocalService( com.liferay.commerce.price.list.service.CommercePriceListAccountRelLocalService commercePriceListAccountRelLocalService) { this.commercePriceListAccountRelLocalService = commercePriceListAccountRelLocalService; }
[ "public", "void", "setCommercePriceListAccountRelLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "price", ".", "list", ".", "service", ".", "CommercePriceListAccountRelLocalService", "commercePriceListAccountRelLocalService", ")", "{", "this", ".", "comme...
Sets the commerce price list account rel local service. @param commercePriceListAccountRelLocalService the commerce price list account rel local service
[ "Sets", "the", "commerce", "price", "list", "account", "rel", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java#L211-L214
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java
CommercePriceListAccountRelServiceBaseImpl.setCommercePriceListUserSegmentEntryRelLocalService
public void setCommercePriceListUserSegmentEntryRelLocalService( com.liferay.commerce.price.list.service.CommercePriceListUserSegmentEntryRelLocalService commercePriceListUserSegmentEntryRelLocalService) { this.commercePriceListUserSegmentEntryRelLocalService = commercePriceListUserSegmentEntryRelLocalService; }
java
public void setCommercePriceListUserSegmentEntryRelLocalService( com.liferay.commerce.price.list.service.CommercePriceListUserSegmentEntryRelLocalService commercePriceListUserSegmentEntryRelLocalService) { this.commercePriceListUserSegmentEntryRelLocalService = commercePriceListUserSegmentEntryRelLocalService; }
[ "public", "void", "setCommercePriceListUserSegmentEntryRelLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "price", ".", "list", ".", "service", ".", "CommercePriceListUserSegmentEntryRelLocalService", "commercePriceListUserSegmentEntryRelLocalService", ")", "{"...
Sets the commerce price list user segment entry rel local service. @param commercePriceListUserSegmentEntryRelLocalService the commerce price list user segment entry rel local service
[ "Sets", "the", "commerce", "price", "list", "user", "segment", "entry", "rel", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java#L268-L271
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java
CommercePriceListAccountRelServiceBaseImpl.setCommercePriceListUserSegmentEntryRelService
public void setCommercePriceListUserSegmentEntryRelService( com.liferay.commerce.price.list.service.CommercePriceListUserSegmentEntryRelService commercePriceListUserSegmentEntryRelService) { this.commercePriceListUserSegmentEntryRelService = commercePriceListUserSegmentEntryRelService; }
java
public void setCommercePriceListUserSegmentEntryRelService( com.liferay.commerce.price.list.service.CommercePriceListUserSegmentEntryRelService commercePriceListUserSegmentEntryRelService) { this.commercePriceListUserSegmentEntryRelService = commercePriceListUserSegmentEntryRelService; }
[ "public", "void", "setCommercePriceListUserSegmentEntryRelService", "(", "com", ".", "liferay", ".", "commerce", ".", "price", ".", "list", ".", "service", ".", "CommercePriceListUserSegmentEntryRelService", "commercePriceListUserSegmentEntryRelService", ")", "{", "this", "...
Sets the commerce price list user segment entry rel remote service. @param commercePriceListUserSegmentEntryRelService the commerce price list user segment entry rel remote service
[ "Sets", "the", "commerce", "price", "list", "user", "segment", "entry", "rel", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java#L287-L290
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java
CommercePriceListAccountRelServiceBaseImpl.setCommerceTierPriceEntryLocalService
public void setCommerceTierPriceEntryLocalService( com.liferay.commerce.price.list.service.CommerceTierPriceEntryLocalService commerceTierPriceEntryLocalService) { this.commerceTierPriceEntryLocalService = commerceTierPriceEntryLocalService; }
java
public void setCommerceTierPriceEntryLocalService( com.liferay.commerce.price.list.service.CommerceTierPriceEntryLocalService commerceTierPriceEntryLocalService) { this.commerceTierPriceEntryLocalService = commerceTierPriceEntryLocalService; }
[ "public", "void", "setCommerceTierPriceEntryLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "price", ".", "list", ".", "service", ".", "CommerceTierPriceEntryLocalService", "commerceTierPriceEntryLocalService", ")", "{", "this", ".", "commerceTierPriceEnt...
Sets the commerce tier price entry local service. @param commerceTierPriceEntryLocalService the commerce tier price entry local service
[ "Sets", "the", "commerce", "tier", "price", "entry", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java#L325-L328
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java
CommercePriceListAccountRelServiceBaseImpl.setCommerceTierPriceEntryService
public void setCommerceTierPriceEntryService( com.liferay.commerce.price.list.service.CommerceTierPriceEntryService commerceTierPriceEntryService) { this.commerceTierPriceEntryService = commerceTierPriceEntryService; }
java
public void setCommerceTierPriceEntryService( com.liferay.commerce.price.list.service.CommerceTierPriceEntryService commerceTierPriceEntryService) { this.commerceTierPriceEntryService = commerceTierPriceEntryService; }
[ "public", "void", "setCommerceTierPriceEntryService", "(", "com", ".", "liferay", ".", "commerce", ".", "price", ".", "list", ".", "service", ".", "CommerceTierPriceEntryService", "commerceTierPriceEntryService", ")", "{", "this", ".", "commerceTierPriceEntryService", "...
Sets the commerce tier price entry remote service. @param commerceTierPriceEntryService the commerce tier price entry remote service
[ "Sets", "the", "commerce", "tier", "price", "entry", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListAccountRelServiceBaseImpl.java#L344-L347
train
liferay/com-liferay-commerce
commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/base/CommerceVirtualOrderItemLocalServiceBaseImpl.java
CommerceVirtualOrderItemLocalServiceBaseImpl.deleteCommerceVirtualOrderItem
@Indexable(type = IndexableType.DELETE) @Override public CommerceVirtualOrderItem deleteCommerceVirtualOrderItem( long commerceVirtualOrderItemId) throws PortalException { return commerceVirtualOrderItemPersistence.remove(commerceVirtualOrderItemId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceVirtualOrderItem deleteCommerceVirtualOrderItem( long commerceVirtualOrderItemId) throws PortalException { return commerceVirtualOrderItemPersistence.remove(commerceVirtualOrderItemId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceVirtualOrderItem", "deleteCommerceVirtualOrderItem", "(", "long", "commerceVirtualOrderItemId", ")", "throws", "PortalException", "{", "return", "commerceVirtualOr...
Deletes the commerce virtual order item with the primary key from the database. Also notifies the appropriate model listeners. @param commerceVirtualOrderItemId the primary key of the commerce virtual order item @return the commerce virtual order item that was removed @throws PortalException if a commerce virtual order item with the primary key could not be found
[ "Deletes", "the", "commerce", "virtual", "order", "item", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/base/CommerceVirtualOrderItemLocalServiceBaseImpl.java#L120-L125
train
liferay/com-liferay-commerce
commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/base/CommerceVirtualOrderItemLocalServiceBaseImpl.java
CommerceVirtualOrderItemLocalServiceBaseImpl.getCommerceVirtualOrderItemsByUuidAndCompanyId
@Override public List<CommerceVirtualOrderItem> getCommerceVirtualOrderItemsByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommerceVirtualOrderItem> orderByComparator) { return commerceVirtualOrderItemPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CommerceVirtualOrderItem> getCommerceVirtualOrderItemsByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommerceVirtualOrderItem> orderByComparator) { return commerceVirtualOrderItemPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CommerceVirtualOrderItem", ">", "getCommerceVirtualOrderItemsByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "CommerceVirtualOrderItem",...
Returns a range of commerce virtual order items matching the UUID and company. @param uuid the UUID of the commerce virtual order items @param companyId the primary key of the company @param start the lower bound of the range of commerce virtual order items @param end the upper bound of the range of commerce virtual order items (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching commerce virtual order items, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "commerce", "virtual", "order", "items", "matching", "the", "UUID", "and", "company", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/base/CommerceVirtualOrderItemLocalServiceBaseImpl.java#L384-L390
train
liferay/com-liferay-commerce
commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/base/CommerceVirtualOrderItemLocalServiceBaseImpl.java
CommerceVirtualOrderItemLocalServiceBaseImpl.updateCommerceVirtualOrderItem
@Indexable(type = IndexableType.REINDEX) @Override public CommerceVirtualOrderItem updateCommerceVirtualOrderItem( CommerceVirtualOrderItem commerceVirtualOrderItem) { return commerceVirtualOrderItemPersistence.update(commerceVirtualOrderItem); }
java
@Indexable(type = IndexableType.REINDEX) @Override public CommerceVirtualOrderItem updateCommerceVirtualOrderItem( CommerceVirtualOrderItem commerceVirtualOrderItem) { return commerceVirtualOrderItemPersistence.update(commerceVirtualOrderItem); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "REINDEX", ")", "@", "Override", "public", "CommerceVirtualOrderItem", "updateCommerceVirtualOrderItem", "(", "CommerceVirtualOrderItem", "commerceVirtualOrderItem", ")", "{", "return", "commerceVirtualOrderItemPersist...
Updates the commerce virtual order item in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. @param commerceVirtualOrderItem the commerce virtual order item @return the commerce virtual order item that was updated
[ "Updates", "the", "commerce", "virtual", "order", "item", "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-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/base/CommerceVirtualOrderItemLocalServiceBaseImpl.java#L439-L444
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java
CPDefinitionServiceBaseImpl.setAssetCategoryLocalService
public void setAssetCategoryLocalService( com.liferay.asset.kernel.service.AssetCategoryLocalService assetCategoryLocalService) { this.assetCategoryLocalService = assetCategoryLocalService; }
java
public void setAssetCategoryLocalService( com.liferay.asset.kernel.service.AssetCategoryLocalService assetCategoryLocalService) { this.assetCategoryLocalService = assetCategoryLocalService; }
[ "public", "void", "setAssetCategoryLocalService", "(", "com", ".", "liferay", ".", "asset", ".", "kernel", ".", "service", ".", "AssetCategoryLocalService", "assetCategoryLocalService", ")", "{", "this", ".", "assetCategoryLocalService", "=", "assetCategoryLocalService", ...
Sets the asset category local service. @param assetCategoryLocalService the asset category local service
[ "Sets", "the", "asset", "category", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java#L1386-L1389
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java
CPDefinitionServiceBaseImpl.setAssetCategoryService
public void setAssetCategoryService( com.liferay.asset.kernel.service.AssetCategoryService assetCategoryService) { this.assetCategoryService = assetCategoryService; }
java
public void setAssetCategoryService( com.liferay.asset.kernel.service.AssetCategoryService assetCategoryService) { this.assetCategoryService = assetCategoryService; }
[ "public", "void", "setAssetCategoryService", "(", "com", ".", "liferay", ".", "asset", ".", "kernel", ".", "service", ".", "AssetCategoryService", "assetCategoryService", ")", "{", "this", ".", "assetCategoryService", "=", "assetCategoryService", ";", "}" ]
Sets the asset category remote service. @param assetCategoryService the asset category remote service
[ "Sets", "the", "asset", "category", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java#L1405-L1408
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java
CPDefinitionServiceBaseImpl.setAssetEntryLocalService
public void setAssetEntryLocalService( com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService) { this.assetEntryLocalService = assetEntryLocalService; }
java
public void setAssetEntryLocalService( com.liferay.asset.kernel.service.AssetEntryLocalService assetEntryLocalService) { this.assetEntryLocalService = assetEntryLocalService; }
[ "public", "void", "setAssetEntryLocalService", "(", "com", ".", "liferay", ".", "asset", ".", "kernel", ".", "service", ".", "AssetEntryLocalService", "assetEntryLocalService", ")", "{", "this", ".", "assetEntryLocalService", "=", "assetEntryLocalService", ";", "}" ]
Sets the asset entry local service. @param assetEntryLocalService the asset entry local service
[ "Sets", "the", "asset", "entry", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java#L1443-L1446
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java
CPDefinitionServiceBaseImpl.setAssetEntryService
public void setAssetEntryService( com.liferay.asset.kernel.service.AssetEntryService assetEntryService) { this.assetEntryService = assetEntryService; }
java
public void setAssetEntryService( com.liferay.asset.kernel.service.AssetEntryService assetEntryService) { this.assetEntryService = assetEntryService; }
[ "public", "void", "setAssetEntryService", "(", "com", ".", "liferay", ".", "asset", ".", "kernel", ".", "service", ".", "AssetEntryService", "assetEntryService", ")", "{", "this", ".", "assetEntryService", "=", "assetEntryService", ";", "}" ]
Sets the asset entry remote service. @param assetEntryService the asset entry remote service
[ "Sets", "the", "asset", "entry", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java#L1462-L1465
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java
CPDefinitionServiceBaseImpl.setAssetLinkLocalService
public void setAssetLinkLocalService( com.liferay.asset.kernel.service.AssetLinkLocalService assetLinkLocalService) { this.assetLinkLocalService = assetLinkLocalService; }
java
public void setAssetLinkLocalService( com.liferay.asset.kernel.service.AssetLinkLocalService assetLinkLocalService) { this.assetLinkLocalService = assetLinkLocalService; }
[ "public", "void", "setAssetLinkLocalService", "(", "com", ".", "liferay", ".", "asset", ".", "kernel", ".", "service", ".", "AssetLinkLocalService", "assetLinkLocalService", ")", "{", "this", ".", "assetLinkLocalService", "=", "assetLinkLocalService", ";", "}" ]
Sets the asset link local service. @param assetLinkLocalService the asset link local service
[ "Sets", "the", "asset", "link", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java#L1500-L1503
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java
CPDefinitionServiceBaseImpl.setTrashEntryLocalService
public void setTrashEntryLocalService( com.liferay.trash.kernel.service.TrashEntryLocalService trashEntryLocalService) { this.trashEntryLocalService = trashEntryLocalService; }
java
public void setTrashEntryLocalService( com.liferay.trash.kernel.service.TrashEntryLocalService trashEntryLocalService) { this.trashEntryLocalService = trashEntryLocalService; }
[ "public", "void", "setTrashEntryLocalService", "(", "com", ".", "liferay", ".", "trash", ".", "kernel", ".", "service", ".", "TrashEntryLocalService", "trashEntryLocalService", ")", "{", "this", ".", "trashEntryLocalService", "=", "trashEntryLocalService", ";", "}" ]
Sets the trash entry local service. @param trashEntryLocalService the trash entry local service
[ "Sets", "the", "trash", "entry", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java#L1576-L1579
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java
CPDefinitionServiceBaseImpl.setTrashEntryService
public void setTrashEntryService( com.liferay.trash.kernel.service.TrashEntryService trashEntryService) { this.trashEntryService = trashEntryService; }
java
public void setTrashEntryService( com.liferay.trash.kernel.service.TrashEntryService trashEntryService) { this.trashEntryService = trashEntryService; }
[ "public", "void", "setTrashEntryService", "(", "com", ".", "liferay", ".", "trash", ".", "kernel", ".", "service", ".", "TrashEntryService", "trashEntryService", ")", "{", "this", ".", "trashEntryService", "=", "trashEntryService", ";", "}" ]
Sets the trash entry remote service. @param trashEntryService the trash entry remote service
[ "Sets", "the", "trash", "entry", "remote", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionServiceBaseImpl.java#L1595-L1598
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/base/CommerceWishListLocalServiceBaseImpl.java
CommerceWishListLocalServiceBaseImpl.deleteCommerceWishList
@Indexable(type = IndexableType.DELETE) @Override public CommerceWishList deleteCommerceWishList(long commerceWishListId) throws PortalException { return commerceWishListPersistence.remove(commerceWishListId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceWishList deleteCommerceWishList(long commerceWishListId) throws PortalException { return commerceWishListPersistence.remove(commerceWishListId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceWishList", "deleteCommerceWishList", "(", "long", "commerceWishListId", ")", "throws", "PortalException", "{", "return", "commerceWishListPersistence", ".", "r...
Deletes the commerce wish list with the primary key from the database. Also notifies the appropriate model listeners. @param commerceWishListId the primary key of the commerce wish list @return the commerce wish list that was removed @throws PortalException if a commerce wish list with the primary key could not be found
[ "Deletes", "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/base/CommerceWishListLocalServiceBaseImpl.java#L119-L124
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/base/CommerceWishListLocalServiceBaseImpl.java
CommerceWishListLocalServiceBaseImpl.deleteCommerceWishList
@Indexable(type = IndexableType.DELETE) @Override public CommerceWishList deleteCommerceWishList( CommerceWishList commerceWishList) { return commerceWishListPersistence.remove(commerceWishList); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommerceWishList deleteCommerceWishList( CommerceWishList commerceWishList) { return commerceWishListPersistence.remove(commerceWishList); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommerceWishList", "deleteCommerceWishList", "(", "CommerceWishList", "commerceWishList", ")", "{", "return", "commerceWishListPersistence", ".", "remove", "(", "comme...
Deletes the commerce wish list from the database. Also notifies the appropriate model listeners. @param commerceWishList the commerce wish list @return the commerce wish list that was removed
[ "Deletes", "the", "commerce", "wish", "list", "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/base/CommerceWishListLocalServiceBaseImpl.java#L132-L137
train
liferay/com-liferay-commerce
commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/base/CommerceWishListLocalServiceBaseImpl.java
CommerceWishListLocalServiceBaseImpl.setCommerceWishListItemLocalService
public void setCommerceWishListItemLocalService( com.liferay.commerce.wish.list.service.CommerceWishListItemLocalService commerceWishListItemLocalService) { this.commerceWishListItemLocalService = commerceWishListItemLocalService; }
java
public void setCommerceWishListItemLocalService( com.liferay.commerce.wish.list.service.CommerceWishListItemLocalService commerceWishListItemLocalService) { this.commerceWishListItemLocalService = commerceWishListItemLocalService; }
[ "public", "void", "setCommerceWishListItemLocalService", "(", "com", ".", "liferay", ".", "commerce", ".", "wish", ".", "list", ".", "service", ".", "CommerceWishListItemLocalService", "commerceWishListItemLocalService", ")", "{", "this", ".", "commerceWishListItemLocalSe...
Sets the commerce wish list item local service. @param commerceWishListItemLocalService the commerce wish list item local service
[ "Sets", "the", "commerce", "wish", "list", "item", "local", "service", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-wish-list-service/src/main/java/com/liferay/commerce/wish/list/service/base/CommerceWishListLocalServiceBaseImpl.java#L491-L494
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListUserSegmentEntryRelLocalServiceBaseImpl.java
CommercePriceListUserSegmentEntryRelLocalServiceBaseImpl.deleteCommercePriceListUserSegmentEntryRel
@Indexable(type = IndexableType.DELETE) @Override public CommercePriceListUserSegmentEntryRel deleteCommercePriceListUserSegmentEntryRel( long commercePriceListUserSegmentEntryRelId) throws PortalException { return commercePriceListUserSegmentEntryRelPersistence.remove(commercePriceListUserSegmentEntryRelId); }
java
@Indexable(type = IndexableType.DELETE) @Override public CommercePriceListUserSegmentEntryRel deleteCommercePriceListUserSegmentEntryRel( long commercePriceListUserSegmentEntryRelId) throws PortalException { return commercePriceListUserSegmentEntryRelPersistence.remove(commercePriceListUserSegmentEntryRelId); }
[ "@", "Indexable", "(", "type", "=", "IndexableType", ".", "DELETE", ")", "@", "Override", "public", "CommercePriceListUserSegmentEntryRel", "deleteCommercePriceListUserSegmentEntryRel", "(", "long", "commercePriceListUserSegmentEntryRelId", ")", "throws", "PortalException", "...
Deletes the commerce price list user segment entry rel with the primary key from the database. Also notifies the appropriate model listeners. @param commercePriceListUserSegmentEntryRelId the primary key of the commerce price list user segment entry rel @return the commerce price list user segment entry rel that was removed @throws PortalException if a commerce price list user segment entry rel with the primary key could not be found
[ "Deletes", "the", "commerce", "price", "list", "user", "segment", "entry", "rel", "with", "the", "primary", "key", "from", "the", "database", ".", "Also", "notifies", "the", "appropriate", "model", "listeners", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListUserSegmentEntryRelLocalServiceBaseImpl.java#L127-L132
train
liferay/com-liferay-commerce
commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListUserSegmentEntryRelLocalServiceBaseImpl.java
CommercePriceListUserSegmentEntryRelLocalServiceBaseImpl.getCommercePriceListUserSegmentEntryRelsByUuidAndCompanyId
@Override public List<CommercePriceListUserSegmentEntryRel> getCommercePriceListUserSegmentEntryRelsByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommercePriceListUserSegmentEntryRel> orderByComparator) { return commercePriceListUserSegmentEntryRelPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
java
@Override public List<CommercePriceListUserSegmentEntryRel> getCommercePriceListUserSegmentEntryRelsByUuidAndCompanyId( String uuid, long companyId, int start, int end, OrderByComparator<CommercePriceListUserSegmentEntryRel> orderByComparator) { return commercePriceListUserSegmentEntryRelPersistence.findByUuid_C(uuid, companyId, start, end, orderByComparator); }
[ "@", "Override", "public", "List", "<", "CommercePriceListUserSegmentEntryRel", ">", "getCommercePriceListUserSegmentEntryRelsByUuidAndCompanyId", "(", "String", "uuid", ",", "long", "companyId", ",", "int", "start", ",", "int", "end", ",", "OrderByComparator", "<", "Co...
Returns a range of commerce price list user segment entry rels matching the UUID and company. @param uuid the UUID of the commerce price list user segment entry rels @param companyId the primary key of the company @param start the lower bound of the range of commerce price list user segment entry rels @param end the upper bound of the range of commerce price list user segment entry rels (not inclusive) @param orderByComparator the comparator to order the results by (optionally <code>null</code>) @return the range of matching commerce price list user segment entry rels, or an empty list if no matches were found
[ "Returns", "a", "range", "of", "commerce", "price", "list", "user", "segment", "entry", "rels", "matching", "the", "UUID", "and", "company", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-service/src/main/java/com/liferay/commerce/price/list/service/base/CommercePriceListUserSegmentEntryRelLocalServiceBaseImpl.java#L397-L403
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPSpecificationOptionWrapper.java
CPSpecificationOptionWrapper.getDescription
@Override public String getDescription(String languageId, boolean useDefault) { return _cpSpecificationOption.getDescription(languageId, useDefault); }
java
@Override public String getDescription(String languageId, boolean useDefault) { return _cpSpecificationOption.getDescription(languageId, useDefault); }
[ "@", "Override", "public", "String", "getDescription", "(", "String", "languageId", ",", "boolean", "useDefault", ")", "{", "return", "_cpSpecificationOption", ".", "getDescription", "(", "languageId", ",", "useDefault", ")", ";", "}" ]
Returns the localized description of this cp specification option in the language, optionally using the default language if no localization exists for the requested language. @param languageId the ID of the language @param useDefault whether to use the default language if no localization exists for the requested language @return the localized description of this cp specification option
[ "Returns", "the", "localized", "description", "of", "this", "cp", "specification", "option", "in", "the", "language", "optionally", "using", "the", "default", "language", "if", "no", "localization", "exists", "for", "the", "requested", "language", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPSpecificationOptionWrapper.java#L287-L290
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPSpecificationOptionWrapper.java
CPSpecificationOptionWrapper.getTitle
@Override public String getTitle(String languageId, boolean useDefault) { return _cpSpecificationOption.getTitle(languageId, useDefault); }
java
@Override public String getTitle(String languageId, boolean useDefault) { return _cpSpecificationOption.getTitle(languageId, useDefault); }
[ "@", "Override", "public", "String", "getTitle", "(", "String", "languageId", ",", "boolean", "useDefault", ")", "{", "return", "_cpSpecificationOption", ".", "getTitle", "(", "languageId", ",", "useDefault", ")", ";", "}" ]
Returns the localized title of this cp specification option in the language, optionally using the default language if no localization exists for the requested language. @param languageId the ID of the language @param useDefault whether to use the default language if no localization exists for the requested language @return the localized title of this cp specification option
[ "Returns", "the", "localized", "title", "of", "this", "cp", "specification", "option", "in", "the", "language", "optionally", "using", "the", "default", "language", "if", "no", "localization", "exists", "for", "the", "requested", "language", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPSpecificationOptionWrapper.java#L433-L436
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPSpecificationOptionWrapper.java
CPSpecificationOptionWrapper.setDescription
@Override public void setDescription(String description, java.util.Locale locale) { _cpSpecificationOption.setDescription(description, locale); }
java
@Override public void setDescription(String description, java.util.Locale locale) { _cpSpecificationOption.setDescription(description, locale); }
[ "@", "Override", "public", "void", "setDescription", "(", "String", "description", ",", "java", ".", "util", ".", "Locale", "locale", ")", "{", "_cpSpecificationOption", ".", "setDescription", "(", "description", ",", "locale", ")", ";", "}" ]
Sets the localized description of this cp specification option in the language. @param description the localized description of this cp specification option @param locale the locale of the language
[ "Sets", "the", "localized", "description", "of", "this", "cp", "specification", "option", "in", "the", "language", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPSpecificationOptionWrapper.java#L607-L610
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPSpecificationOptionWrapper.java
CPSpecificationOptionWrapper.setDescriptionMap
@Override public void setDescriptionMap(Map<java.util.Locale, String> descriptionMap) { _cpSpecificationOption.setDescriptionMap(descriptionMap); }
java
@Override public void setDescriptionMap(Map<java.util.Locale, String> descriptionMap) { _cpSpecificationOption.setDescriptionMap(descriptionMap); }
[ "@", "Override", "public", "void", "setDescriptionMap", "(", "Map", "<", "java", ".", "util", ".", "Locale", ",", "String", ">", "descriptionMap", ")", "{", "_cpSpecificationOption", ".", "setDescriptionMap", "(", "descriptionMap", ")", ";", "}" ]
Sets the localized descriptions of this cp specification option from the map of locales and localized descriptions. @param descriptionMap the locales and localized descriptions of this cp specification option
[ "Sets", "the", "localized", "descriptions", "of", "this", "cp", "specification", "option", "from", "the", "map", "of", "locales", "and", "localized", "descriptions", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPSpecificationOptionWrapper.java#L635-L638
train
liferay/com-liferay-commerce
commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPSpecificationOptionWrapper.java
CPSpecificationOptionWrapper.setTitleMap
@Override public void setTitleMap(Map<java.util.Locale, String> titleMap, java.util.Locale defaultLocale) { _cpSpecificationOption.setTitleMap(titleMap, defaultLocale); }
java
@Override public void setTitleMap(Map<java.util.Locale, String> titleMap, java.util.Locale defaultLocale) { _cpSpecificationOption.setTitleMap(titleMap, defaultLocale); }
[ "@", "Override", "public", "void", "setTitleMap", "(", "Map", "<", "java", ".", "util", ".", "Locale", ",", "String", ">", "titleMap", ",", "java", ".", "util", ".", "Locale", "defaultLocale", ")", "{", "_cpSpecificationOption", ".", "setTitleMap", "(", "t...
Sets the localized titles of this cp specification option from the map of locales and localized titles, and sets the default locale. @param titleMap the locales and localized titles of this cp specification option @param defaultLocale the default locale
[ "Sets", "the", "localized", "titles", "of", "this", "cp", "specification", "option", "from", "the", "map", "of", "locales", "and", "localized", "titles", "and", "sets", "the", "default", "locale", "." ]
9e54362d7f59531fc684016ba49ee7cdc3a2f22b
https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPSpecificationOptionWrapper.java#L794-L798
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPAttachmentFileEntryPersistenceImpl.java
CPAttachmentFileEntryPersistenceImpl.cacheResult
@Override public void cacheResult(CPAttachmentFileEntry cpAttachmentFileEntry) { entityCache.putResult(CPAttachmentFileEntryModelImpl.ENTITY_CACHE_ENABLED, CPAttachmentFileEntryImpl.class, cpAttachmentFileEntry.getPrimaryKey(), cpAttachmentFileEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cpAttachmentFileEntry.getUuid(), cpAttachmentFileEntry.getGroupId() }, cpAttachmentFileEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_C_C_F, new Object[] { cpAttachmentFileEntry.getClassNameId(), cpAttachmentFileEntry.getClassPK(), cpAttachmentFileEntry.getFileEntryId() }, cpAttachmentFileEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { cpAttachmentFileEntry.getCompanyId(), cpAttachmentFileEntry.getExternalReferenceCode() }, cpAttachmentFileEntry); cpAttachmentFileEntry.resetOriginalValues(); }
java
@Override public void cacheResult(CPAttachmentFileEntry cpAttachmentFileEntry) { entityCache.putResult(CPAttachmentFileEntryModelImpl.ENTITY_CACHE_ENABLED, CPAttachmentFileEntryImpl.class, cpAttachmentFileEntry.getPrimaryKey(), cpAttachmentFileEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G, new Object[] { cpAttachmentFileEntry.getUuid(), cpAttachmentFileEntry.getGroupId() }, cpAttachmentFileEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_C_C_F, new Object[] { cpAttachmentFileEntry.getClassNameId(), cpAttachmentFileEntry.getClassPK(), cpAttachmentFileEntry.getFileEntryId() }, cpAttachmentFileEntry); finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC, new Object[] { cpAttachmentFileEntry.getCompanyId(), cpAttachmentFileEntry.getExternalReferenceCode() }, cpAttachmentFileEntry); cpAttachmentFileEntry.resetOriginalValues(); }
[ "@", "Override", "public", "void", "cacheResult", "(", "CPAttachmentFileEntry", "cpAttachmentFileEntry", ")", "{", "entityCache", ".", "putResult", "(", "CPAttachmentFileEntryModelImpl", ".", "ENTITY_CACHE_ENABLED", ",", "CPAttachmentFileEntryImpl", ".", "class", ",", "cp...
Caches the cp attachment file entry in the entity cache if it is enabled. @param cpAttachmentFileEntry the cp attachment file entry
[ "Caches", "the", "cp", "attachment", "file", "entry", "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/CPAttachmentFileEntryPersistenceImpl.java#L5047-L5073
train
liferay/com-liferay-commerce
commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPAttachmentFileEntryPersistenceImpl.java
CPAttachmentFileEntryPersistenceImpl.cacheResult
@Override public void cacheResult(List<CPAttachmentFileEntry> cpAttachmentFileEntries) { for (CPAttachmentFileEntry cpAttachmentFileEntry : cpAttachmentFileEntries) { if (entityCache.getResult( CPAttachmentFileEntryModelImpl.ENTITY_CACHE_ENABLED, CPAttachmentFileEntryImpl.class, cpAttachmentFileEntry.getPrimaryKey()) == null) { cacheResult(cpAttachmentFileEntry); } else { cpAttachmentFileEntry.resetOriginalValues(); } } }
java
@Override public void cacheResult(List<CPAttachmentFileEntry> cpAttachmentFileEntries) { for (CPAttachmentFileEntry cpAttachmentFileEntry : cpAttachmentFileEntries) { if (entityCache.getResult( CPAttachmentFileEntryModelImpl.ENTITY_CACHE_ENABLED, CPAttachmentFileEntryImpl.class, cpAttachmentFileEntry.getPrimaryKey()) == null) { cacheResult(cpAttachmentFileEntry); } else { cpAttachmentFileEntry.resetOriginalValues(); } } }
[ "@", "Override", "public", "void", "cacheResult", "(", "List", "<", "CPAttachmentFileEntry", ">", "cpAttachmentFileEntries", ")", "{", "for", "(", "CPAttachmentFileEntry", "cpAttachmentFileEntry", ":", "cpAttachmentFileEntries", ")", "{", "if", "(", "entityCache", "."...
Caches the cp attachment file entries in the entity cache if it is enabled. @param cpAttachmentFileEntries the cp attachment file entries
[ "Caches", "the", "cp", "attachment", "file", "entries", "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/CPAttachmentFileEntryPersistenceImpl.java#L5080-L5093
train