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-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionRelServiceBaseImpl.java | CommerceShippingFixedOptionRelServiceBaseImpl.getCommerceShippingFixedOptionService | public com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionService getCommerceShippingFixedOptionService() {
return commerceShippingFixedOptionService;
} | java | public com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionService getCommerceShippingFixedOptionService() {
return commerceShippingFixedOptionService;
} | [
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"shipping",
".",
"engine",
".",
"fixed",
".",
"service",
".",
"CommerceShippingFixedOptionService",
"getCommerceShippingFixedOptionService",
"(",
")",
"{",
"return",
"commerceShippingFixedOptionService",
";",
"}"
] | Returns the commerce shipping fixed option remote service.
@return the commerce shipping fixed option remote service | [
"Returns",
"the",
"commerce",
"shipping",
"fixed",
"option",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionRelServiceBaseImpl.java#L83-L85 | train |
liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionRelServiceBaseImpl.java | CommerceShippingFixedOptionRelServiceBaseImpl.setCommerceShippingFixedOptionService | public void setCommerceShippingFixedOptionService(
com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionService commerceShippingFixedOptionService) {
this.commerceShippingFixedOptionService = commerceShippingFixedOptionService;
} | java | public void setCommerceShippingFixedOptionService(
com.liferay.commerce.shipping.engine.fixed.service.CommerceShippingFixedOptionService commerceShippingFixedOptionService) {
this.commerceShippingFixedOptionService = commerceShippingFixedOptionService;
} | [
"public",
"void",
"setCommerceShippingFixedOptionService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"shipping",
".",
"engine",
".",
"fixed",
".",
"service",
".",
"CommerceShippingFixedOptionService",
"commerceShippingFixedOptionService",
")",
"{",
"this",
".",
... | Sets the commerce shipping fixed option remote service.
@param commerceShippingFixedOptionService the commerce shipping fixed option remote service | [
"Sets",
"the",
"commerce",
"shipping",
"fixed",
"option",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/base/CommerceShippingFixedOptionRelServiceBaseImpl.java#L92-L95 | train |
liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionPersistenceImpl.java | CommerceShippingFixedOptionPersistenceImpl.cacheResult | @Override
public void cacheResult(
CommerceShippingFixedOption commerceShippingFixedOption) {
entityCache.putResult(CommerceShippingFixedOptionModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingFixedOptionImpl.class,
commerceShippingFixedOption.getPrimaryKey(),
commerceShippingFixedOption);
commerceShippi... | java | @Override
public void cacheResult(
CommerceShippingFixedOption commerceShippingFixedOption) {
entityCache.putResult(CommerceShippingFixedOptionModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingFixedOptionImpl.class,
commerceShippingFixedOption.getPrimaryKey(),
commerceShippingFixedOption);
commerceShippi... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceShippingFixedOption",
"commerceShippingFixedOption",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceShippingFixedOptionModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceShippingFixedOptionImpl",
".",... | Caches the commerce shipping fixed option in the entity cache if it is enabled.
@param commerceShippingFixedOption the commerce shipping fixed option | [
"Caches",
"the",
"commerce",
"shipping",
"fixed",
"option",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionPersistenceImpl.java#L639-L648 | train |
liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionPersistenceImpl.java | CommerceShippingFixedOptionPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceShippingFixedOption> commerceShippingFixedOptions) {
for (CommerceShippingFixedOption commerceShippingFixedOption : commerceShippingFixedOptions) {
if (entityCache.getResult(
CommerceShippingFixedOptionModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingFi... | java | @Override
public void cacheResult(
List<CommerceShippingFixedOption> commerceShippingFixedOptions) {
for (CommerceShippingFixedOption commerceShippingFixedOption : commerceShippingFixedOptions) {
if (entityCache.getResult(
CommerceShippingFixedOptionModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingFi... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceShippingFixedOption",
">",
"commerceShippingFixedOptions",
")",
"{",
"for",
"(",
"CommerceShippingFixedOption",
"commerceShippingFixedOption",
":",
"commerceShippingFixedOptions",
")",
"{",
"if",
... | Caches the commerce shipping fixed options in the entity cache if it is enabled.
@param commerceShippingFixedOptions the commerce shipping fixed options | [
"Caches",
"the",
"commerce",
"shipping",
"fixed",
"options",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionPersistenceImpl.java#L655-L669 | train |
liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionPersistenceImpl.java | CommerceShippingFixedOptionPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceShippingFixedOptionImpl.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(CommerceShippingFixedOptionImpl.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",
"(",
"CommerceShippingFixedOptionImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clea... | Clears the cache for all commerce shipping fixed options.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"shipping",
"fixed",
"options",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionPersistenceImpl.java#L678-L685 | train |
liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionPersistenceImpl.java | CommerceShippingFixedOptionPersistenceImpl.clearCache | @Override
public void clearCache(
CommerceShippingFixedOption commerceShippingFixedOption) {
entityCache.removeResult(CommerceShippingFixedOptionModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingFixedOptionImpl.class,
commerceShippingFixedOption.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIS... | java | @Override
public void clearCache(
CommerceShippingFixedOption commerceShippingFixedOption) {
entityCache.removeResult(CommerceShippingFixedOptionModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingFixedOptionImpl.class,
commerceShippingFixedOption.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIS... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceShippingFixedOption",
"commerceShippingFixedOption",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceShippingFixedOptionModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceShippingFixedOptionImpl",
".... | Clears the cache for the commerce shipping fixed option.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"shipping",
"fixed",
"option",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionPersistenceImpl.java#L694-L703 | train |
liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionPersistenceImpl.java | CommerceShippingFixedOptionPersistenceImpl.remove | @Override
public CommerceShippingFixedOption remove(Serializable primaryKey)
throws NoSuchShippingFixedOptionException {
Session session = null;
try {
session = openSession();
CommerceShippingFixedOption commerceShippingFixedOption = (CommerceShippingFixedOption)session.get(CommerceShippingFixedOptionImp... | java | @Override
public CommerceShippingFixedOption remove(Serializable primaryKey)
throws NoSuchShippingFixedOptionException {
Session session = null;
try {
session = openSession();
CommerceShippingFixedOption commerceShippingFixedOption = (CommerceShippingFixedOption)session.get(CommerceShippingFixedOptionImp... | [
"@",
"Override",
"public",
"CommerceShippingFixedOption",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchShippingFixedOptionException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"Commer... | Removes the commerce shipping fixed option with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the commerce shipping fixed option
@return the commerce shipping fixed option that was removed
@throws NoSuchShippingFixedOptionException if a commerce ... | [
"Removes",
"the",
"commerce",
"shipping",
"fixed",
"option",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionPersistenceImpl.java#L758-L789 | train |
liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionPersistenceImpl.java | CommerceShippingFixedOptionPersistenceImpl.findAll | @Override
public List<CommerceShippingFixedOption> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceShippingFixedOption> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceShippingFixedOption",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce shipping fixed options.
@return the commerce shipping fixed options | [
"Returns",
"all",
"the",
"commerce",
"shipping",
"fixed",
"options",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionPersistenceImpl.java#L1146-L1149 | train |
liferay/com-liferay-commerce | commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/base/CPDefinitionGroupedEntryLocalServiceBaseImpl.java | CPDefinitionGroupedEntryLocalServiceBaseImpl.deleteCPDefinitionGroupedEntry | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinitionGroupedEntry deleteCPDefinitionGroupedEntry(
CPDefinitionGroupedEntry cpDefinitionGroupedEntry) {
return cpDefinitionGroupedEntryPersistence.remove(cpDefinitionGroupedEntry);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinitionGroupedEntry deleteCPDefinitionGroupedEntry(
CPDefinitionGroupedEntry cpDefinitionGroupedEntry) {
return cpDefinitionGroupedEntryPersistence.remove(cpDefinitionGroupedEntry);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPDefinitionGroupedEntry",
"deleteCPDefinitionGroupedEntry",
"(",
"CPDefinitionGroupedEntry",
"cpDefinitionGroupedEntry",
")",
"{",
"return",
"cpDefinitionGroupedEntryPersiste... | Deletes the cp definition grouped entry from the database. Also notifies the appropriate model listeners.
@param cpDefinitionGroupedEntry the cp definition grouped entry
@return the cp definition grouped entry that was removed | [
"Deletes",
"the",
"cp",
"definition",
"grouped",
"entry",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/base/CPDefinitionGroupedEntryLocalServiceBaseImpl.java#L132-L137 | train |
liferay/com-liferay-commerce | commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/base/CPDefinitionGroupedEntryLocalServiceBaseImpl.java | CPDefinitionGroupedEntryLocalServiceBaseImpl.updateCPDefinitionGroupedEntry | @Indexable(type = IndexableType.REINDEX)
@Override
public CPDefinitionGroupedEntry updateCPDefinitionGroupedEntry(
CPDefinitionGroupedEntry cpDefinitionGroupedEntry) {
return cpDefinitionGroupedEntryPersistence.update(cpDefinitionGroupedEntry);
} | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CPDefinitionGroupedEntry updateCPDefinitionGroupedEntry(
CPDefinitionGroupedEntry cpDefinitionGroupedEntry) {
return cpDefinitionGroupedEntryPersistence.update(cpDefinitionGroupedEntry);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CPDefinitionGroupedEntry",
"updateCPDefinitionGroupedEntry",
"(",
"CPDefinitionGroupedEntry",
"cpDefinitionGroupedEntry",
")",
"{",
"return",
"cpDefinitionGroupedEntryPersist... | Updates the cp definition grouped entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
@param cpDefinitionGroupedEntry the cp definition grouped entry
@return the cp definition grouped entry that was updated | [
"Updates",
"the",
"cp",
"definition",
"grouped",
"entry",
"in",
"the",
"database",
"or",
"adds",
"it",
"if",
"it",
"does",
"not",
"yet",
"exist",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-type-grouped-service/src/main/java/com/liferay/commerce/product/type/grouped/service/base/CPDefinitionGroupedEntryLocalServiceBaseImpl.java#L438-L443 | train |
liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationTemplateUserSegmentRelPersistenceImpl.java | CommerceNotificationTemplateUserSegmentRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
CommerceNotificationTemplateUserSegmentRel commerceNotificationTemplateUserSegmentRel) {
entityCache.putResult(CommerceNotificationTemplateUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceNotificationTemplateUserSegmentRelImpl.class,
commerceNotificationTemplateUserSeg... | java | @Override
public void cacheResult(
CommerceNotificationTemplateUserSegmentRel commerceNotificationTemplateUserSegmentRel) {
entityCache.putResult(CommerceNotificationTemplateUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceNotificationTemplateUserSegmentRelImpl.class,
commerceNotificationTemplateUserSeg... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceNotificationTemplateUserSegmentRel",
"commerceNotificationTemplateUserSegmentRel",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceNotificationTemplateUserSegmentRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
","... | Caches the commerce notification template user segment rel in the entity cache if it is enabled.
@param commerceNotificationTemplateUserSegmentRel the commerce notification template user segment rel | [
"Caches",
"the",
"commerce",
"notification",
"template",
"user",
"segment",
"rel",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationTemplateUserSegmentRelPersistenceImpl.java#L1441-L1456 | train |
liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationTemplateUserSegmentRelPersistenceImpl.java | CommerceNotificationTemplateUserSegmentRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceNotificationTemplateUserSegmentRel> commerceNotificationTemplateUserSegmentRels) {
for (CommerceNotificationTemplateUserSegmentRel commerceNotificationTemplateUserSegmentRel : commerceNotificationTemplateUserSegmentRels) {
if (entityCache.getResult(
Commerce... | java | @Override
public void cacheResult(
List<CommerceNotificationTemplateUserSegmentRel> commerceNotificationTemplateUserSegmentRels) {
for (CommerceNotificationTemplateUserSegmentRel commerceNotificationTemplateUserSegmentRel : commerceNotificationTemplateUserSegmentRels) {
if (entityCache.getResult(
Commerce... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceNotificationTemplateUserSegmentRel",
">",
"commerceNotificationTemplateUserSegmentRels",
")",
"{",
"for",
"(",
"CommerceNotificationTemplateUserSegmentRel",
"commerceNotificationTemplateUserSegmentRel",
":... | Caches the commerce notification template user segment rels in the entity cache if it is enabled.
@param commerceNotificationTemplateUserSegmentRels the commerce notification template user segment rels | [
"Caches",
"the",
"commerce",
"notification",
"template",
"user",
"segment",
"rels",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationTemplateUserSegmentRelPersistenceImpl.java#L1463-L1477 | train |
liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationTemplateUserSegmentRelPersistenceImpl.java | CommerceNotificationTemplateUserSegmentRelPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceNotificationTemplateUserSegmentRelImpl.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(CommerceNotificationTemplateUserSegmentRelImpl.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",
"(",
"CommerceNotificationTemplateUserSegmentRelImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",... | Clears the cache for all commerce notification template user segment rels.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"notification",
"template",
"user",
"segment",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationTemplateUserSegmentRelPersistenceImpl.java#L1486-L1493 | train |
liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationTemplateUserSegmentRelPersistenceImpl.java | CommerceNotificationTemplateUserSegmentRelPersistenceImpl.clearCache | @Override
public void clearCache(
CommerceNotificationTemplateUserSegmentRel commerceNotificationTemplateUserSegmentRel) {
entityCache.removeResult(CommerceNotificationTemplateUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceNotificationTemplateUserSegmentRelImpl.class,
commerceNotificationTemplateUserS... | java | @Override
public void clearCache(
CommerceNotificationTemplateUserSegmentRel commerceNotificationTemplateUserSegmentRel) {
entityCache.removeResult(CommerceNotificationTemplateUserSegmentRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceNotificationTemplateUserSegmentRelImpl.class,
commerceNotificationTemplateUserS... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceNotificationTemplateUserSegmentRel",
"commerceNotificationTemplateUserSegmentRel",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceNotificationTemplateUserSegmentRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
"... | Clears the cache for the commerce notification template user segment rel.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"notification",
"template",
"user",
"segment",
"rel",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationTemplateUserSegmentRelPersistenceImpl.java#L1502-L1514 | train |
liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationTemplateUserSegmentRelPersistenceImpl.java | CommerceNotificationTemplateUserSegmentRelPersistenceImpl.findAll | @Override
public List<CommerceNotificationTemplateUserSegmentRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceNotificationTemplateUserSegmentRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceNotificationTemplateUserSegmentRel",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce notification template user segment rels.
@return the commerce notification template user segment rels | [
"Returns",
"all",
"the",
"commerce",
"notification",
"template",
"user",
"segment",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationTemplateUserSegmentRelPersistenceImpl.java#L2044-L2047 | train |
liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateServiceBaseImpl.java | CommerceTaxFixedRateServiceBaseImpl.getCommerceTaxFixedRateAddressRelService | public com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateAddressRelService getCommerceTaxFixedRateAddressRelService() {
return commerceTaxFixedRateAddressRelService;
} | java | public com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateAddressRelService getCommerceTaxFixedRateAddressRelService() {
return commerceTaxFixedRateAddressRelService;
} | [
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"tax",
".",
"engine",
".",
"fixed",
".",
"service",
".",
"CommerceTaxFixedRateAddressRelService",
"getCommerceTaxFixedRateAddressRelService",
"(",
")",
"{",
"return",
"commerceTaxFixedRateAddressRelService",
";",
"}... | Returns the commerce tax fixed rate address rel remote service.
@return the commerce tax fixed rate address rel remote service | [
"Returns",
"the",
"commerce",
"tax",
"fixed",
"rate",
"address",
"rel",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateServiceBaseImpl.java#L140-L142 | train |
liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateServiceBaseImpl.java | CommerceTaxFixedRateServiceBaseImpl.setCommerceTaxFixedRateAddressRelService | public void setCommerceTaxFixedRateAddressRelService(
com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateAddressRelService commerceTaxFixedRateAddressRelService) {
this.commerceTaxFixedRateAddressRelService = commerceTaxFixedRateAddressRelService;
} | java | public void setCommerceTaxFixedRateAddressRelService(
com.liferay.commerce.tax.engine.fixed.service.CommerceTaxFixedRateAddressRelService commerceTaxFixedRateAddressRelService) {
this.commerceTaxFixedRateAddressRelService = commerceTaxFixedRateAddressRelService;
} | [
"public",
"void",
"setCommerceTaxFixedRateAddressRelService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"tax",
".",
"engine",
".",
"fixed",
".",
"service",
".",
"CommerceTaxFixedRateAddressRelService",
"commerceTaxFixedRateAddressRelService",
")",
"{",
"this",
"... | Sets the commerce tax fixed rate address rel remote service.
@param commerceTaxFixedRateAddressRelService the commerce tax fixed rate address rel remote service | [
"Sets",
"the",
"commerce",
"tax",
"fixed",
"rate",
"address",
"rel",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/base/CommerceTaxFixedRateServiceBaseImpl.java#L149-L152 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehouseItemPersistenceImpl.java | CommerceWarehouseItemPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceWarehouseItem commerceWarehouseItem) {
entityCache.putResult(CommerceWarehouseItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceWarehouseItemImpl.class,
commerceWarehouseItem.getPrimaryKey(), commerceWarehouseItem);
finderCache.putResult(FINDER_PATH_FETCH_BY_CWI_CPIU,
... | java | @Override
public void cacheResult(CommerceWarehouseItem commerceWarehouseItem) {
entityCache.putResult(CommerceWarehouseItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceWarehouseItemImpl.class,
commerceWarehouseItem.getPrimaryKey(), commerceWarehouseItem);
finderCache.putResult(FINDER_PATH_FETCH_BY_CWI_CPIU,
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceWarehouseItem",
"commerceWarehouseItem",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceWarehouseItemModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceWarehouseItemImpl",
".",
"class",
",",
"co... | Caches the commerce warehouse item in the entity cache if it is enabled.
@param commerceWarehouseItem the commerce warehouse item | [
"Caches",
"the",
"commerce",
"warehouse",
"item",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehouseItemPersistenceImpl.java#L1486-L1499 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehouseItemPersistenceImpl.java | CommerceWarehouseItemPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceWarehouseItem> commerceWarehouseItems) {
for (CommerceWarehouseItem commerceWarehouseItem : commerceWarehouseItems) {
if (entityCache.getResult(
CommerceWarehouseItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceWarehouseItemImpl.class,
commerceWarehouseI... | java | @Override
public void cacheResult(List<CommerceWarehouseItem> commerceWarehouseItems) {
for (CommerceWarehouseItem commerceWarehouseItem : commerceWarehouseItems) {
if (entityCache.getResult(
CommerceWarehouseItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceWarehouseItemImpl.class,
commerceWarehouseI... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceWarehouseItem",
">",
"commerceWarehouseItems",
")",
"{",
"for",
"(",
"CommerceWarehouseItem",
"commerceWarehouseItem",
":",
"commerceWarehouseItems",
")",
"{",
"if",
"(",
"entityCache",
".",
... | Caches the commerce warehouse items in the entity cache if it is enabled.
@param commerceWarehouseItems the commerce warehouse items | [
"Caches",
"the",
"commerce",
"warehouse",
"items",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehouseItemPersistenceImpl.java#L1506-L1519 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehouseItemPersistenceImpl.java | CommerceWarehouseItemPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceWarehouseItemImpl.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(CommerceWarehouseItemImpl.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",
"(",
"CommerceWarehouseItemImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache... | Clears the cache for all commerce warehouse items.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"warehouse",
"items",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehouseItemPersistenceImpl.java#L1528-L1535 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehouseItemPersistenceImpl.java | CommerceWarehouseItemPersistenceImpl.clearCache | @Override
public void clearCache(CommerceWarehouseItem commerceWarehouseItem) {
entityCache.removeResult(CommerceWarehouseItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceWarehouseItemImpl.class,
commerceWarehouseItem.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache... | java | @Override
public void clearCache(CommerceWarehouseItem commerceWarehouseItem) {
entityCache.removeResult(CommerceWarehouseItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceWarehouseItemImpl.class,
commerceWarehouseItem.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceWarehouseItem",
"commerceWarehouseItem",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceWarehouseItemModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceWarehouseItemImpl",
".",
"class",
",",
"... | Clears the cache for the commerce warehouse item.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"warehouse",
"item",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehouseItemPersistenceImpl.java#L1544-L1555 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehouseItemPersistenceImpl.java | CommerceWarehouseItemPersistenceImpl.findAll | @Override
public List<CommerceWarehouseItem> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceWarehouseItem> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceWarehouseItem",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce warehouse items.
@return the commerce warehouse items | [
"Returns",
"all",
"the",
"commerce",
"warehouse",
"items",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceWarehouseItemPersistenceImpl.java#L2062-L2065 | train |
liferay/com-liferay-commerce | commerce-api/src/main/java/com/liferay/commerce/model/CommerceOrderItemWrapper.java | CommerceOrderItemWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceOrderItem.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceOrderItem.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commerceOrderItem",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this commerce order item 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... | [
"Returns",
"the",
"localized",
"name",
"of",
"this",
"commerce",
"order",
"item",
"in",
"the",
"language",
"optionally",
"using",
"the",
"default",
"language",
"if",
"no",
"localization",
"exists",
"for",
"the",
"requested",
"language",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-api/src/main/java/com/liferay/commerce/model/CommerceOrderItemWrapper.java#L515-L518 | train |
liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionRelPersistenceImpl.java | CommerceShippingFixedOptionRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) {
entityCache.putResult(CommerceShippingFixedOptionRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingFixedOptionRelImpl.class,
commerceShippingFixedOptionRel.getPrimaryKey(),
commerceShippingFixedOptionRel);... | java | @Override
public void cacheResult(
CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) {
entityCache.putResult(CommerceShippingFixedOptionRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingFixedOptionRelImpl.class,
commerceShippingFixedOptionRel.getPrimaryKey(),
commerceShippingFixedOptionRel);... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceShippingFixedOptionRel",
"commerceShippingFixedOptionRel",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceShippingFixedOptionRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceShippingFixedOptionRelI... | Caches the commerce shipping fixed option rel in the entity cache if it is enabled.
@param commerceShippingFixedOptionRel the commerce shipping fixed option rel | [
"Caches",
"the",
"commerce",
"shipping",
"fixed",
"option",
"rel",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionRelPersistenceImpl.java#L1197-L1206 | train |
liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionRelPersistenceImpl.java | CommerceShippingFixedOptionRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceShippingFixedOptionRel> commerceShippingFixedOptionRels) {
for (CommerceShippingFixedOptionRel commerceShippingFixedOptionRel : commerceShippingFixedOptionRels) {
if (entityCache.getResult(
CommerceShippingFixedOptionRelModelImpl.ENTITY_CACHE_ENABLED,
... | java | @Override
public void cacheResult(
List<CommerceShippingFixedOptionRel> commerceShippingFixedOptionRels) {
for (CommerceShippingFixedOptionRel commerceShippingFixedOptionRel : commerceShippingFixedOptionRels) {
if (entityCache.getResult(
CommerceShippingFixedOptionRelModelImpl.ENTITY_CACHE_ENABLED,
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceShippingFixedOptionRel",
">",
"commerceShippingFixedOptionRels",
")",
"{",
"for",
"(",
"CommerceShippingFixedOptionRel",
"commerceShippingFixedOptionRel",
":",
"commerceShippingFixedOptionRels",
")",
... | Caches the commerce shipping fixed option rels in the entity cache if it is enabled.
@param commerceShippingFixedOptionRels the commerce shipping fixed option rels | [
"Caches",
"the",
"commerce",
"shipping",
"fixed",
"option",
"rels",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionRelPersistenceImpl.java#L1213-L1227 | train |
liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionRelPersistenceImpl.java | CommerceShippingFixedOptionRelPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceShippingFixedOptionRelImpl.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(CommerceShippingFixedOptionRelImpl.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",
"(",
"CommerceShippingFixedOptionRelImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"c... | Clears the cache for all commerce shipping fixed option rels.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"shipping",
"fixed",
"option",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionRelPersistenceImpl.java#L1236-L1243 | train |
liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionRelPersistenceImpl.java | CommerceShippingFixedOptionRelPersistenceImpl.clearCache | @Override
public void clearCache(
CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) {
entityCache.removeResult(CommerceShippingFixedOptionRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingFixedOptionRelImpl.class,
commerceShippingFixedOptionRel.getPrimaryKey());
finderCache.clearCache(FINDER... | java | @Override
public void clearCache(
CommerceShippingFixedOptionRel commerceShippingFixedOptionRel) {
entityCache.removeResult(CommerceShippingFixedOptionRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceShippingFixedOptionRelImpl.class,
commerceShippingFixedOptionRel.getPrimaryKey());
finderCache.clearCache(FINDER... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceShippingFixedOptionRel",
"commerceShippingFixedOptionRel",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceShippingFixedOptionRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceShippingFixedOptionRe... | Clears the cache for the commerce shipping fixed option rel.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"shipping",
"fixed",
"option",
"rel",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionRelPersistenceImpl.java#L1252-L1261 | train |
liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionRelPersistenceImpl.java | CommerceShippingFixedOptionRelPersistenceImpl.remove | @Override
public CommerceShippingFixedOptionRel remove(Serializable primaryKey)
throws NoSuchShippingFixedOptionRelException {
Session session = null;
try {
session = openSession();
CommerceShippingFixedOptionRel commerceShippingFixedOptionRel = (CommerceShippingFixedOptionRel)session.get(CommerceShippin... | java | @Override
public CommerceShippingFixedOptionRel remove(Serializable primaryKey)
throws NoSuchShippingFixedOptionRelException {
Session session = null;
try {
session = openSession();
CommerceShippingFixedOptionRel commerceShippingFixedOptionRel = (CommerceShippingFixedOptionRel)session.get(CommerceShippin... | [
"@",
"Override",
"public",
"CommerceShippingFixedOptionRel",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchShippingFixedOptionRelException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"... | Removes the commerce shipping fixed option rel with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the commerce shipping fixed option rel
@return the commerce shipping fixed option rel that was removed
@throws NoSuchShippingFixedOptionRelException... | [
"Removes",
"the",
"commerce",
"shipping",
"fixed",
"option",
"rel",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionRelPersistenceImpl.java#L1316-L1347 | train |
liferay/com-liferay-commerce | commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionRelPersistenceImpl.java | CommerceShippingFixedOptionRelPersistenceImpl.findAll | @Override
public List<CommerceShippingFixedOptionRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceShippingFixedOptionRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceShippingFixedOptionRel",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce shipping fixed option rels.
@return the commerce shipping fixed option rels | [
"Returns",
"all",
"the",
"commerce",
"shipping",
"fixed",
"option",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-shipping-engine-fixed-service/src/main/java/com/liferay/commerce/shipping/engine/fixed/service/persistence/impl/CommerceShippingFixedOptionRelPersistenceImpl.java#L1736-L1739 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CPDAvailabilityEstimateLocalServiceBaseImpl.java | CPDAvailabilityEstimateLocalServiceBaseImpl.getCPDAvailabilityEstimatesByUuidAndCompanyId | @Override
public List<CPDAvailabilityEstimate> getCPDAvailabilityEstimatesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CPDAvailabilityEstimate> orderByComparator) {
return cpdAvailabilityEstimatePersistence.findByUuid_C(uuid, companyId,
start, end, orderByComparator);... | java | @Override
public List<CPDAvailabilityEstimate> getCPDAvailabilityEstimatesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CPDAvailabilityEstimate> orderByComparator) {
return cpdAvailabilityEstimatePersistence.findByUuid_C(uuid, companyId,
start, end, orderByComparator);... | [
"@",
"Override",
"public",
"List",
"<",
"CPDAvailabilityEstimate",
">",
"getCPDAvailabilityEstimatesByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CPDAvailabilityEstimate",
... | Returns a range of cpd availability estimates matching the UUID and company.
@param uuid the UUID of the cpd availability estimates
@param companyId the primary key of the company
@param start the lower bound of the range of cpd availability estimates
@param end the upper bound of the range of cpd availability estimat... | [
"Returns",
"a",
"range",
"of",
"cpd",
"availability",
"estimates",
"matching",
"the",
"UUID",
"and",
"company",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/base/CPDAvailabilityEstimateLocalServiceBaseImpl.java#L407-L413 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceRegionLocalServiceBaseImpl.java | CommerceRegionLocalServiceBaseImpl.getCommerceRegionsByUuidAndCompanyId | @Override
public List<CommerceRegion> getCommerceRegionsByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CommerceRegion> orderByComparator) {
return commerceRegionPersistence.findByUuid_C(uuid, companyId, start,
end, orderByComparator);
} | java | @Override
public List<CommerceRegion> getCommerceRegionsByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CommerceRegion> orderByComparator) {
return commerceRegionPersistence.findByUuid_C(uuid, companyId, start,
end, orderByComparator);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceRegion",
">",
"getCommerceRegionsByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CommerceRegion",
">",
"orderByComparator",... | Returns a range of commerce regions matching the UUID and company.
@param uuid the UUID of the commerce regions
@param companyId the primary key of the company
@param start the lower bound of the range of commerce regions
@param end the upper bound of the range of commerce regions (not inclusive)
@param orderByCompara... | [
"Returns",
"a",
"range",
"of",
"commerce",
"regions",
"matching",
"the",
"UUID",
"and",
"company",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceRegionLocalServiceBaseImpl.java#L401-L407 | train |
liferay/com-liferay-commerce | commerce-api/src/main/java/com/liferay/commerce/service/CommerceOrderNoteLocalServiceWrapper.java | CommerceOrderNoteLocalServiceWrapper.getCommerceOrderNote | @Override
public com.liferay.commerce.model.CommerceOrderNote getCommerceOrderNote(
long commerceOrderNoteId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceOrderNoteLocalService.getCommerceOrderNote(commerceOrderNoteId);
} | java | @Override
public com.liferay.commerce.model.CommerceOrderNote getCommerceOrderNote(
long commerceOrderNoteId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceOrderNoteLocalService.getCommerceOrderNote(commerceOrderNoteId);
} | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"model",
".",
"CommerceOrderNote",
"getCommerceOrderNote",
"(",
"long",
"commerceOrderNoteId",
")",
"throws",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
".",
"exception",
".",
"P... | Returns the commerce order note with the primary key.
@param commerceOrderNoteId the primary key of the commerce order note
@return the commerce order note
@throws PortalException if a commerce order note with the primary key could not be found | [
"Returns",
"the",
"commerce",
"order",
"note",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-api/src/main/java/com/liferay/commerce/service/CommerceOrderNoteLocalServiceWrapper.java#L246-L251 | train |
liferay/com-liferay-commerce | commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/persistence/impl/CommerceUserSegmentCriterionPersistenceImpl.java | CommerceUserSegmentCriterionPersistenceImpl.cacheResult | @Override
public void cacheResult(
CommerceUserSegmentCriterion commerceUserSegmentCriterion) {
entityCache.putResult(CommerceUserSegmentCriterionModelImpl.ENTITY_CACHE_ENABLED,
CommerceUserSegmentCriterionImpl.class,
commerceUserSegmentCriterion.getPrimaryKey(),
commerceUserSegmentCriterion);
commerce... | java | @Override
public void cacheResult(
CommerceUserSegmentCriterion commerceUserSegmentCriterion) {
entityCache.putResult(CommerceUserSegmentCriterionModelImpl.ENTITY_CACHE_ENABLED,
CommerceUserSegmentCriterionImpl.class,
commerceUserSegmentCriterion.getPrimaryKey(),
commerceUserSegmentCriterion);
commerce... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceUserSegmentCriterion",
"commerceUserSegmentCriterion",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceUserSegmentCriterionModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceUserSegmentCriterionImpl",
... | Caches the commerce user segment criterion in the entity cache if it is enabled.
@param commerceUserSegmentCriterion the commerce user segment criterion | [
"Caches",
"the",
"commerce",
"user",
"segment",
"criterion",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/persistence/impl/CommerceUserSegmentCriterionPersistenceImpl.java#L661-L670 | train |
liferay/com-liferay-commerce | commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/persistence/impl/CommerceUserSegmentCriterionPersistenceImpl.java | CommerceUserSegmentCriterionPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceUserSegmentCriterion> commerceUserSegmentCriterions) {
for (CommerceUserSegmentCriterion commerceUserSegmentCriterion : commerceUserSegmentCriterions) {
if (entityCache.getResult(
CommerceUserSegmentCriterionModelImpl.ENTITY_CACHE_ENABLED,
CommerceUser... | java | @Override
public void cacheResult(
List<CommerceUserSegmentCriterion> commerceUserSegmentCriterions) {
for (CommerceUserSegmentCriterion commerceUserSegmentCriterion : commerceUserSegmentCriterions) {
if (entityCache.getResult(
CommerceUserSegmentCriterionModelImpl.ENTITY_CACHE_ENABLED,
CommerceUser... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceUserSegmentCriterion",
">",
"commerceUserSegmentCriterions",
")",
"{",
"for",
"(",
"CommerceUserSegmentCriterion",
"commerceUserSegmentCriterion",
":",
"commerceUserSegmentCriterions",
")",
"{",
"i... | Caches the commerce user segment criterions in the entity cache if it is enabled.
@param commerceUserSegmentCriterions the commerce user segment criterions | [
"Caches",
"the",
"commerce",
"user",
"segment",
"criterions",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/persistence/impl/CommerceUserSegmentCriterionPersistenceImpl.java#L677-L691 | train |
liferay/com-liferay-commerce | commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/persistence/impl/CommerceUserSegmentCriterionPersistenceImpl.java | CommerceUserSegmentCriterionPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceUserSegmentCriterionImpl.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(CommerceUserSegmentCriterionImpl.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",
"(",
"CommerceUserSegmentCriterionImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"cle... | Clears the cache for all commerce user segment criterions.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"user",
"segment",
"criterions",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/persistence/impl/CommerceUserSegmentCriterionPersistenceImpl.java#L700-L707 | train |
liferay/com-liferay-commerce | commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/persistence/impl/CommerceUserSegmentCriterionPersistenceImpl.java | CommerceUserSegmentCriterionPersistenceImpl.remove | @Override
public CommerceUserSegmentCriterion remove(Serializable primaryKey)
throws NoSuchUserSegmentCriterionException {
Session session = null;
try {
session = openSession();
CommerceUserSegmentCriterion commerceUserSegmentCriterion = (CommerceUserSegmentCriterion)session.get(CommerceUserSegmentCriter... | java | @Override
public CommerceUserSegmentCriterion remove(Serializable primaryKey)
throws NoSuchUserSegmentCriterionException {
Session session = null;
try {
session = openSession();
CommerceUserSegmentCriterion commerceUserSegmentCriterion = (CommerceUserSegmentCriterion)session.get(CommerceUserSegmentCriter... | [
"@",
"Override",
"public",
"CommerceUserSegmentCriterion",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchUserSegmentCriterionException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"Comm... | Removes the commerce user segment criterion with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the commerce user segment criterion
@return the commerce user segment criterion that was removed
@throws NoSuchUserSegmentCriterionException if a comme... | [
"Removes",
"the",
"commerce",
"user",
"segment",
"criterion",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/persistence/impl/CommerceUserSegmentCriterionPersistenceImpl.java#L780-L811 | train |
liferay/com-liferay-commerce | commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/persistence/impl/CommerceUserSegmentCriterionPersistenceImpl.java | CommerceUserSegmentCriterionPersistenceImpl.findAll | @Override
public List<CommerceUserSegmentCriterion> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceUserSegmentCriterion> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceUserSegmentCriterion",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce user segment criterions.
@return the commerce user segment criterions | [
"Returns",
"all",
"the",
"commerce",
"user",
"segment",
"criterions",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-user-segment-service/src/main/java/com/liferay/commerce/user/segment/service/persistence/impl/CommerceUserSegmentCriterionPersistenceImpl.java#L1169-L1172 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLinkPersistenceImpl.java | CPDefinitionLinkPersistenceImpl.cacheResult | @Override
public void cacheResult(CPDefinitionLink cpDefinitionLink) {
entityCache.putResult(CPDefinitionLinkModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLinkImpl.class, cpDefinitionLink.getPrimaryKey(),
cpDefinitionLink);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] {
cpDefinitionL... | java | @Override
public void cacheResult(CPDefinitionLink cpDefinitionLink) {
entityCache.putResult(CPDefinitionLinkModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLinkImpl.class, cpDefinitionLink.getPrimaryKey(),
cpDefinitionLink);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] {
cpDefinitionL... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPDefinitionLink",
"cpDefinitionLink",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPDefinitionLinkModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionLinkImpl",
".",
"class",
",",
"cpDefinitionLink",
"... | Caches the cp definition link in the entity cache if it is enabled.
@param cpDefinitionLink the cp definition link | [
"Caches",
"the",
"cp",
"definition",
"link",
"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/CPDefinitionLinkPersistenceImpl.java#L3999-L4017 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLinkPersistenceImpl.java | CPDefinitionLinkPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CPDefinitionLink> cpDefinitionLinks) {
for (CPDefinitionLink cpDefinitionLink : cpDefinitionLinks) {
if (entityCache.getResult(
CPDefinitionLinkModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLinkImpl.class,
cpDefinitionLink.getPrimaryKey()) == null) {
cach... | java | @Override
public void cacheResult(List<CPDefinitionLink> cpDefinitionLinks) {
for (CPDefinitionLink cpDefinitionLink : cpDefinitionLinks) {
if (entityCache.getResult(
CPDefinitionLinkModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLinkImpl.class,
cpDefinitionLink.getPrimaryKey()) == null) {
cach... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPDefinitionLink",
">",
"cpDefinitionLinks",
")",
"{",
"for",
"(",
"CPDefinitionLink",
"cpDefinitionLink",
":",
"cpDefinitionLinks",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"(",
"... | Caches the cp definition links in the entity cache if it is enabled.
@param cpDefinitionLinks the cp definition links | [
"Caches",
"the",
"cp",
"definition",
"links",
"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/CPDefinitionLinkPersistenceImpl.java#L4024-L4037 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLinkPersistenceImpl.java | CPDefinitionLinkPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPDefinitionLinkImpl.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(CPDefinitionLinkImpl.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",
"(",
"CPDefinitionLinkImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
... | Clears the cache for all cp definition links.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"definition",
"links",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLinkPersistenceImpl.java#L4046-L4053 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLinkPersistenceImpl.java | CPDefinitionLinkPersistenceImpl.clearCache | @Override
public void clearCache(CPDefinitionLink cpDefinitionLink) {
entityCache.removeResult(CPDefinitionLinkModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLinkImpl.class, cpDefinitionLink.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAM... | java | @Override
public void clearCache(CPDefinitionLink cpDefinitionLink) {
entityCache.removeResult(CPDefinitionLinkModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLinkImpl.class, cpDefinitionLink.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAM... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPDefinitionLink",
"cpDefinitionLink",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPDefinitionLinkModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionLinkImpl",
".",
"class",
",",
"cpDefinitionLink",
... | Clears the cache for the cp definition link.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"definition",
"link",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLinkPersistenceImpl.java#L4062-L4072 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLinkPersistenceImpl.java | CPDefinitionLinkPersistenceImpl.remove | @Override
public CPDefinitionLink remove(Serializable primaryKey)
throws NoSuchCPDefinitionLinkException {
Session session = null;
try {
session = openSession();
CPDefinitionLink cpDefinitionLink = (CPDefinitionLink)session.get(CPDefinitionLinkImpl.class,
primaryKey);
if (cpDefinitionLink == nul... | java | @Override
public CPDefinitionLink remove(Serializable primaryKey)
throws NoSuchCPDefinitionLinkException {
Session session = null;
try {
session = openSession();
CPDefinitionLink cpDefinitionLink = (CPDefinitionLink)session.get(CPDefinitionLinkImpl.class,
primaryKey);
if (cpDefinitionLink == nul... | [
"@",
"Override",
"public",
"CPDefinitionLink",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchCPDefinitionLinkException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"CPDefinitionLink",
... | Removes the cp definition link with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the cp definition link
@return the cp definition link that was removed
@throws NoSuchCPDefinitionLinkException if a cp definition link with the primary key could no... | [
"Removes",
"the",
"cp",
"definition",
"link",
"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/persistence/impl/CPDefinitionLinkPersistenceImpl.java#L4202-L4233 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLinkPersistenceImpl.java | CPDefinitionLinkPersistenceImpl.findAll | @Override
public List<CPDefinitionLink> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPDefinitionLink> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPDefinitionLink",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp definition links.
@return the cp definition links | [
"Returns",
"all",
"the",
"cp",
"definition",
"links",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLinkPersistenceImpl.java#L4721-L4724 | train |
liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationQueueEntryPersistenceImpl.java | CommerceNotificationQueueEntryPersistenceImpl.cacheResult | @Override
public void cacheResult(
CommerceNotificationQueueEntry commerceNotificationQueueEntry) {
entityCache.putResult(CommerceNotificationQueueEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceNotificationQueueEntryImpl.class,
commerceNotificationQueueEntry.getPrimaryKey(),
commerceNotificationQueueEntry);... | java | @Override
public void cacheResult(
CommerceNotificationQueueEntry commerceNotificationQueueEntry) {
entityCache.putResult(CommerceNotificationQueueEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceNotificationQueueEntryImpl.class,
commerceNotificationQueueEntry.getPrimaryKey(),
commerceNotificationQueueEntry);... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceNotificationQueueEntry",
"commerceNotificationQueueEntry",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceNotificationQueueEntryModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceNotificationQueueEntryI... | Caches the commerce notification queue entry in the entity cache if it is enabled.
@param commerceNotificationQueueEntry the commerce notification queue entry | [
"Caches",
"the",
"commerce",
"notification",
"queue",
"entry",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationQueueEntryPersistenceImpl.java#L2234-L2243 | train |
liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationQueueEntryPersistenceImpl.java | CommerceNotificationQueueEntryPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceNotificationQueueEntry> commerceNotificationQueueEntries) {
for (CommerceNotificationQueueEntry commerceNotificationQueueEntry : commerceNotificationQueueEntries) {
if (entityCache.getResult(
CommerceNotificationQueueEntryModelImpl.ENTITY_CACHE_ENABLED,
... | java | @Override
public void cacheResult(
List<CommerceNotificationQueueEntry> commerceNotificationQueueEntries) {
for (CommerceNotificationQueueEntry commerceNotificationQueueEntry : commerceNotificationQueueEntries) {
if (entityCache.getResult(
CommerceNotificationQueueEntryModelImpl.ENTITY_CACHE_ENABLED,
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceNotificationQueueEntry",
">",
"commerceNotificationQueueEntries",
")",
"{",
"for",
"(",
"CommerceNotificationQueueEntry",
"commerceNotificationQueueEntry",
":",
"commerceNotificationQueueEntries",
")",... | Caches the commerce notification queue entries in the entity cache if it is enabled.
@param commerceNotificationQueueEntries the commerce notification queue entries | [
"Caches",
"the",
"commerce",
"notification",
"queue",
"entries",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationQueueEntryPersistenceImpl.java#L2250-L2264 | train |
liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationQueueEntryPersistenceImpl.java | CommerceNotificationQueueEntryPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceNotificationQueueEntryImpl.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(CommerceNotificationQueueEntryImpl.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",
"(",
"CommerceNotificationQueueEntryImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"c... | Clears the cache for all commerce notification queue entries.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"notification",
"queue",
"entries",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationQueueEntryPersistenceImpl.java#L2273-L2280 | train |
liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationQueueEntryPersistenceImpl.java | CommerceNotificationQueueEntryPersistenceImpl.clearCache | @Override
public void clearCache(
CommerceNotificationQueueEntry commerceNotificationQueueEntry) {
entityCache.removeResult(CommerceNotificationQueueEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceNotificationQueueEntryImpl.class,
commerceNotificationQueueEntry.getPrimaryKey());
finderCache.clearCache(FINDER... | java | @Override
public void clearCache(
CommerceNotificationQueueEntry commerceNotificationQueueEntry) {
entityCache.removeResult(CommerceNotificationQueueEntryModelImpl.ENTITY_CACHE_ENABLED,
CommerceNotificationQueueEntryImpl.class,
commerceNotificationQueueEntry.getPrimaryKey());
finderCache.clearCache(FINDER... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceNotificationQueueEntry",
"commerceNotificationQueueEntry",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceNotificationQueueEntryModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceNotificationQueueEntr... | Clears the cache for the commerce notification queue entry.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"notification",
"queue",
"entry",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationQueueEntryPersistenceImpl.java#L2289-L2298 | train |
liferay/com-liferay-commerce | commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationQueueEntryPersistenceImpl.java | CommerceNotificationQueueEntryPersistenceImpl.findAll | @Override
public List<CommerceNotificationQueueEntry> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceNotificationQueueEntry> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceNotificationQueueEntry",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce notification queue entries.
@return the commerce notification queue entries | [
"Returns",
"all",
"the",
"commerce",
"notification",
"queue",
"entries",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-notification-service/src/main/java/com/liferay/commerce/notification/service/persistence/impl/CommerceNotificationQueueEntryPersistenceImpl.java#L2795-L2798 | train |
liferay/com-liferay-commerce | commerce-price-list-api/src/main/java/com/liferay/commerce/price/list/service/CommercePriceListUserSegmentEntryRelLocalServiceWrapper.java | CommercePriceListUserSegmentEntryRelLocalServiceWrapper.getCommercePriceListUserSegmentEntryRel | @Override
public com.liferay.commerce.price.list.model.CommercePriceListUserSegmentEntryRel getCommercePriceListUserSegmentEntryRel(
long commercePriceListUserSegmentEntryRelId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commercePriceListUserSegmentEntryRelLocalService.getCommercePriceL... | java | @Override
public com.liferay.commerce.price.list.model.CommercePriceListUserSegmentEntryRel getCommercePriceListUserSegmentEntryRel(
long commercePriceListUserSegmentEntryRelId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commercePriceListUserSegmentEntryRelLocalService.getCommercePriceL... | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"price",
".",
"list",
".",
"model",
".",
"CommercePriceListUserSegmentEntryRel",
"getCommercePriceListUserSegmentEntryRel",
"(",
"long",
"commercePriceListUserSegmentEntryRelId",
")",
"throws",
"com",... | Returns the commerce price list user segment entry rel with the primary key.
@param commercePriceListUserSegmentEntryRelId the primary key of the commerce price list user segment entry rel
@return the commerce price list user segment entry rel
@throws PortalException if a commerce price list user segment entry rel wit... | [
"Returns",
"the",
"commerce",
"price",
"list",
"user",
"segment",
"entry",
"rel",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-price-list-api/src/main/java/com/liferay/commerce/price/list/service/CommercePriceListUserSegmentEntryRelLocalServiceWrapper.java#L239-L244 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.cacheResult | @Override
public void cacheResult(CPDefinitionLocalization cpDefinitionLocalization) {
entityCache.putResult(CPDefinitionLocalizationModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLocalizationImpl.class,
cpDefinitionLocalization.getPrimaryKey(), cpDefinitionLocalization);
finderCache.putResult(FINDER_PATH_FETC... | java | @Override
public void cacheResult(CPDefinitionLocalization cpDefinitionLocalization) {
entityCache.putResult(CPDefinitionLocalizationModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLocalizationImpl.class,
cpDefinitionLocalization.getPrimaryKey(), cpDefinitionLocalization);
finderCache.putResult(FINDER_PATH_FETC... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPDefinitionLocalization",
"cpDefinitionLocalization",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPDefinitionLocalizationModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionLocalizationImpl",
".",
"class",
... | Caches the cp definition localization in the entity cache if it is enabled.
@param cpDefinitionLocalization the cp definition localization | [
"Caches",
"the",
"cp",
"definition",
"localization",
"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/CPDefinitionLocalizationPersistenceImpl.java#L889-L902 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CPDefinitionLocalization> cpDefinitionLocalizations) {
for (CPDefinitionLocalization cpDefinitionLocalization : cpDefinitionLocalizations) {
if (entityCache.getResult(
CPDefinitionLocalizationModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLocalizationImpl.class,
... | java | @Override
public void cacheResult(
List<CPDefinitionLocalization> cpDefinitionLocalizations) {
for (CPDefinitionLocalization cpDefinitionLocalization : cpDefinitionLocalizations) {
if (entityCache.getResult(
CPDefinitionLocalizationModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLocalizationImpl.class,
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPDefinitionLocalization",
">",
"cpDefinitionLocalizations",
")",
"{",
"for",
"(",
"CPDefinitionLocalization",
"cpDefinitionLocalization",
":",
"cpDefinitionLocalizations",
")",
"{",
"if",
"(",
"entity... | Caches the cp definition localizations in the entity cache if it is enabled.
@param cpDefinitionLocalizations the cp definition localizations | [
"Caches",
"the",
"cp",
"definition",
"localizations",
"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/CPDefinitionLocalizationPersistenceImpl.java#L909-L923 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPDefinitionLocalizationImpl.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(CPDefinitionLocalizationImpl.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",
"(",
"CPDefinitionLocalizationImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCa... | Clears the cache for all cp definition localizations.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"definition",
"localizations",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java#L932-L939 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.clearCache | @Override
public void clearCache(CPDefinitionLocalization cpDefinitionLocalization) {
entityCache.removeResult(CPDefinitionLocalizationModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLocalizationImpl.class,
cpDefinitionLocalization.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION)... | java | @Override
public void clearCache(CPDefinitionLocalization cpDefinitionLocalization) {
entityCache.removeResult(CPDefinitionLocalizationModelImpl.ENTITY_CACHE_ENABLED,
CPDefinitionLocalizationImpl.class,
cpDefinitionLocalization.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION)... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPDefinitionLocalization",
"cpDefinitionLocalization",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPDefinitionLocalizationModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPDefinitionLocalizationImpl",
".",
"class"... | Clears the cache for the cp definition localization.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"definition",
"localization",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java#L948-L959 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.create | @Override
public CPDefinitionLocalization create(long cpDefinitionLocalizationId) {
CPDefinitionLocalization cpDefinitionLocalization = new CPDefinitionLocalizationImpl();
cpDefinitionLocalization.setNew(true);
cpDefinitionLocalization.setPrimaryKey(cpDefinitionLocalizationId);
cpDefinitionLocalization.setCo... | java | @Override
public CPDefinitionLocalization create(long cpDefinitionLocalizationId) {
CPDefinitionLocalization cpDefinitionLocalization = new CPDefinitionLocalizationImpl();
cpDefinitionLocalization.setNew(true);
cpDefinitionLocalization.setPrimaryKey(cpDefinitionLocalizationId);
cpDefinitionLocalization.setCo... | [
"@",
"Override",
"public",
"CPDefinitionLocalization",
"create",
"(",
"long",
"cpDefinitionLocalizationId",
")",
"{",
"CPDefinitionLocalization",
"cpDefinitionLocalization",
"=",
"new",
"CPDefinitionLocalizationImpl",
"(",
")",
";",
"cpDefinitionLocalization",
".",
"setNew",
... | Creates a new cp definition localization with the primary key. Does not add the cp definition localization to the database.
@param cpDefinitionLocalizationId the primary key for the new cp definition localization
@return the new cp definition localization | [
"Creates",
"a",
"new",
"cp",
"definition",
"localization",
"with",
"the",
"primary",
"key",
".",
"Does",
"not",
"add",
"the",
"cp",
"definition",
"localization",
"to",
"the",
"database",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java#L1025-L1035 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.findAll | @Override
public List<CPDefinitionLocalization> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPDefinitionLocalization> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPDefinitionLocalization",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp definition localizations.
@return the cp definition localizations | [
"Returns",
"all",
"the",
"cp",
"definition",
"localizations",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java#L1420-L1423 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.findAll | @Override
public List<CPDefinitionLocalization> findAll(int start, int end) {
return findAll(start, end, null);
} | java | @Override
public List<CPDefinitionLocalization> findAll(int start, int end) {
return findAll(start, end, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPDefinitionLocalization",
">",
"findAll",
"(",
"int",
"start",
",",
"int",
"end",
")",
"{",
"return",
"findAll",
"(",
"start",
",",
"end",
",",
"null",
")",
";",
"}"
] | Returns a range of all the cp definition localizations.
<p>
Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both... | [
"Returns",
"a",
"range",
"of",
"all",
"the",
"cp",
"definition",
"localizations",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java#L1436-L1439 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java | CPDefinitionLocalizationPersistenceImpl.countAll | @Override
public int countAll() {
Long count = (Long)finderCache.getResult(FINDER_PATH_COUNT_ALL,
FINDER_ARGS_EMPTY, this);
if (count == null) {
Session session = null;
try {
session = openSession();
Query q = session.createQuery(_SQL_COUNT_CPDEFINITIONLOCALIZATION);
count = (Long)q.uniqu... | java | @Override
public int countAll() {
Long count = (Long)finderCache.getResult(FINDER_PATH_COUNT_ALL,
FINDER_ARGS_EMPTY, this);
if (count == null) {
Session session = null;
try {
session = openSession();
Query q = session.createQuery(_SQL_COUNT_CPDEFINITIONLOCALIZATION);
count = (Long)q.uniqu... | [
"@",
"Override",
"public",
"int",
"countAll",
"(",
")",
"{",
"Long",
"count",
"=",
"(",
"Long",
")",
"finderCache",
".",
"getResult",
"(",
"FINDER_PATH_COUNT_ALL",
",",
"FINDER_ARGS_EMPTY",
",",
"this",
")",
";",
"if",
"(",
"count",
"==",
"null",
")",
"{... | Returns the number of cp definition localizations.
@return the number of cp definition localizations | [
"Returns",
"the",
"number",
"of",
"cp",
"definition",
"localizations",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPDefinitionLocalizationPersistenceImpl.java#L1574-L1604 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java | CommerceShipmentItemPersistenceImpl.cacheResult | @Override
public void cacheResult(CommerceShipmentItem commerceShipmentItem) {
entityCache.putResult(CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceShipmentItemImpl.class,
commerceShipmentItem.getPrimaryKey(), commerceShipmentItem);
commerceShipmentItem.resetOriginalValues();
} | java | @Override
public void cacheResult(CommerceShipmentItem commerceShipmentItem) {
entityCache.putResult(CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceShipmentItemImpl.class,
commerceShipmentItem.getPrimaryKey(), commerceShipmentItem);
commerceShipmentItem.resetOriginalValues();
} | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceShipmentItem",
"commerceShipmentItem",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceShipmentItemModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceShipmentItemImpl",
".",
"class",
",",
"commer... | Caches the commerce shipment item in the entity cache if it is enabled.
@param commerceShipmentItem the commerce shipment item | [
"Caches",
"the",
"commerce",
"shipment",
"item",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java#L1139-L1146 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java | CommerceShipmentItemPersistenceImpl.cacheResult | @Override
public void cacheResult(List<CommerceShipmentItem> commerceShipmentItems) {
for (CommerceShipmentItem commerceShipmentItem : commerceShipmentItems) {
if (entityCache.getResult(
CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceShipmentItemImpl.class,
commerceShipmentItem.getP... | java | @Override
public void cacheResult(List<CommerceShipmentItem> commerceShipmentItems) {
for (CommerceShipmentItem commerceShipmentItem : commerceShipmentItems) {
if (entityCache.getResult(
CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceShipmentItemImpl.class,
commerceShipmentItem.getP... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceShipmentItem",
">",
"commerceShipmentItems",
")",
"{",
"for",
"(",
"CommerceShipmentItem",
"commerceShipmentItem",
":",
"commerceShipmentItems",
")",
"{",
"if",
"(",
"entityCache",
".",
"ge... | Caches the commerce shipment items in the entity cache if it is enabled.
@param commerceShipmentItems the commerce shipment items | [
"Caches",
"the",
"commerce",
"shipment",
"items",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java#L1153-L1166 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java | CommerceShipmentItemPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceShipmentItemImpl.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(CommerceShipmentItemImpl.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",
"(",
"CommerceShipmentItemImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache"... | Clears the cache for all commerce shipment items.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"shipment",
"items",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java#L1175-L1182 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java | CommerceShipmentItemPersistenceImpl.clearCache | @Override
public void clearCache(CommerceShipmentItem commerceShipmentItem) {
entityCache.removeResult(CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceShipmentItemImpl.class, commerceShipmentItem.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCa... | java | @Override
public void clearCache(CommerceShipmentItem commerceShipmentItem) {
entityCache.removeResult(CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
CommerceShipmentItemImpl.class, commerceShipmentItem.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCa... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceShipmentItem",
"commerceShipmentItem",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceShipmentItemModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceShipmentItemImpl",
".",
"class",
",",
"comm... | Clears the cache for the commerce shipment item.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"shipment",
"item",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java#L1191-L1198 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java | CommerceShipmentItemPersistenceImpl.findAll | @Override
public List<CommerceShipmentItem> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceShipmentItem> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceShipmentItem",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce shipment items.
@return the commerce shipment items | [
"Returns",
"all",
"the",
"commerce",
"shipment",
"items",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/persistence/impl/CommerceShipmentItemPersistenceImpl.java#L1655-L1658 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceCountryLocalServiceBaseImpl.java | CommerceCountryLocalServiceBaseImpl.deleteCommerceCountry | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceCountry deleteCommerceCountry(long commerceCountryId)
throws PortalException {
return commerceCountryPersistence.remove(commerceCountryId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceCountry deleteCommerceCountry(long commerceCountryId)
throws PortalException {
return commerceCountryPersistence.remove(commerceCountryId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceCountry",
"deleteCommerceCountry",
"(",
"long",
"commerceCountryId",
")",
"throws",
"PortalException",
"{",
"return",
"commerceCountryPersistence",
".",
"remov... | Deletes the commerce country with the primary key from the database. Also notifies the appropriate model listeners.
@param commerceCountryId the primary key of the commerce country
@return the commerce country that was removed
@throws PortalException if a commerce country with the primary key could not be found | [
"Deletes",
"the",
"commerce",
"country",
"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/CommerceCountryLocalServiceBaseImpl.java#L139-L144 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceCountryLocalServiceBaseImpl.java | CommerceCountryLocalServiceBaseImpl.getCommerceCountriesByUuidAndCompanyId | @Override
public List<CommerceCountry> getCommerceCountriesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CommerceCountry> orderByComparator) {
return commerceCountryPersistence.findByUuid_C(uuid, companyId, start,
end, orderByComparator);
} | java | @Override
public List<CommerceCountry> getCommerceCountriesByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CommerceCountry> orderByComparator) {
return commerceCountryPersistence.findByUuid_C(uuid, companyId, start,
end, orderByComparator);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceCountry",
">",
"getCommerceCountriesByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CommerceCountry",
">",
"orderByComparat... | Returns a range of commerce countries matching the UUID and company.
@param uuid the UUID of the commerce countries
@param companyId the primary key of the company
@param start the lower bound of the range of commerce countries
@param end the upper bound of the range of commerce countries (not inclusive)
@param orderB... | [
"Returns",
"a",
"range",
"of",
"commerce",
"countries",
"matching",
"the",
"UUID",
"and",
"company",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceCountryLocalServiceBaseImpl.java#L401-L407 | train |
liferay/com-liferay-commerce | commerce-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java | CommerceTaxMethodWrapper.getDescription | @Override
public String getDescription(String languageId, boolean useDefault) {
return _commerceTaxMethod.getDescription(languageId, useDefault);
} | java | @Override
public String getDescription(String languageId, boolean useDefault) {
return _commerceTaxMethod.getDescription(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getDescription",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commerceTaxMethod",
".",
"getDescription",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized description of this commerce tax method 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
... | [
"Returns",
"the",
"localized",
"description",
"of",
"this",
"commerce",
"tax",
"method",
"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-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java#L263-L266 | train |
liferay/com-liferay-commerce | commerce-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java | CommerceTaxMethodWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceTaxMethod.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _commerceTaxMethod.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commerceTaxMethod",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this commerce tax method 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... | [
"Returns",
"the",
"localized",
"name",
"of",
"this",
"commerce",
"tax",
"method",
"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-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java#L374-L377 | train |
liferay/com-liferay-commerce | commerce-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java | CommerceTaxMethodWrapper.setNameMap | @Override
public void setNameMap(Map<java.util.Locale, String> nameMap) {
_commerceTaxMethod.setNameMap(nameMap);
} | java | @Override
public void setNameMap(Map<java.util.Locale, String> nameMap) {
_commerceTaxMethod.setNameMap(nameMap);
} | [
"@",
"Override",
"public",
"void",
"setNameMap",
"(",
"Map",
"<",
"java",
".",
"util",
".",
"Locale",
",",
"String",
">",
"nameMap",
")",
"{",
"_commerceTaxMethod",
".",
"setNameMap",
"(",
"nameMap",
")",
";",
"}"
] | Sets the localized names of this commerce tax method from the map of locales and localized names.
@param nameMap the locales and localized names of this commerce tax method | [
"Sets",
"the",
"localized",
"names",
"of",
"this",
"commerce",
"tax",
"method",
"from",
"the",
"map",
"of",
"locales",
"and",
"localized",
"names",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java#L709-L712 | train |
liferay/com-liferay-commerce | commerce-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java | CommerceTaxMethodWrapper.setNameMap | @Override
public void setNameMap(Map<java.util.Locale, String> nameMap,
java.util.Locale defaultLocale) {
_commerceTaxMethod.setNameMap(nameMap, defaultLocale);
} | java | @Override
public void setNameMap(Map<java.util.Locale, String> nameMap,
java.util.Locale defaultLocale) {
_commerceTaxMethod.setNameMap(nameMap, defaultLocale);
} | [
"@",
"Override",
"public",
"void",
"setNameMap",
"(",
"Map",
"<",
"java",
".",
"util",
".",
"Locale",
",",
"String",
">",
"nameMap",
",",
"java",
".",
"util",
".",
"Locale",
"defaultLocale",
")",
"{",
"_commerceTaxMethod",
".",
"setNameMap",
"(",
"nameMap"... | Sets the localized names of this commerce tax method from the map of locales and localized names, and sets the default locale.
@param nameMap the locales and localized names of this commerce tax method
@param defaultLocale the default locale | [
"Sets",
"the",
"localized",
"names",
"of",
"this",
"commerce",
"tax",
"method",
"from",
"the",
"map",
"of",
"locales",
"and",
"localized",
"names",
"and",
"sets",
"the",
"default",
"locale",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-api/src/main/java/com/liferay/commerce/tax/model/CommerceTaxMethodWrapper.java#L720-L724 | train |
liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountOrganizationRelServiceBaseImpl.java | CommerceAccountOrganizationRelServiceBaseImpl.setCommerceAccountUserRelService | public void setCommerceAccountUserRelService(
com.liferay.commerce.account.service.CommerceAccountUserRelService commerceAccountUserRelService) {
this.commerceAccountUserRelService = commerceAccountUserRelService;
} | java | public void setCommerceAccountUserRelService(
com.liferay.commerce.account.service.CommerceAccountUserRelService commerceAccountUserRelService) {
this.commerceAccountUserRelService = commerceAccountUserRelService;
} | [
"public",
"void",
"setCommerceAccountUserRelService",
"(",
"com",
".",
"liferay",
".",
"commerce",
".",
"account",
".",
"service",
".",
"CommerceAccountUserRelService",
"commerceAccountUserRelService",
")",
"{",
"this",
".",
"commerceAccountUserRelService",
"=",
"commerce... | Sets the commerce account user rel remote service.
@param commerceAccountUserRelService the commerce account user rel remote service | [
"Sets",
"the",
"commerce",
"account",
"user",
"rel",
"remote",
"service",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/base/CommerceAccountOrganizationRelServiceBaseImpl.java#L226-L229 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java | CPInstancePersistenceImpl.cacheResult | @Override
public void cacheResult(CPInstance cpInstance) {
entityCache.putResult(CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
CPInstanceImpl.class, cpInstance.getPrimaryKey(), cpInstance);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] { cpInstance.getUuid(), cpInstance.getGroupId() },
cpIn... | java | @Override
public void cacheResult(CPInstance cpInstance) {
entityCache.putResult(CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
CPInstanceImpl.class, cpInstance.getPrimaryKey(), cpInstance);
finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
new Object[] { cpInstance.getUuid(), cpInstance.getGroupId() },
cpIn... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CPInstance",
"cpInstance",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CPInstanceModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPInstanceImpl",
".",
"class",
",",
"cpInstance",
".",
"getPrimaryKey",
"(",
... | Caches the cp instance in the entity cache if it is enabled.
@param cpInstance the cp instance | [
"Caches",
"the",
"cp",
"instance",
"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/CPInstancePersistenceImpl.java#L7094-L7118 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java | CPInstancePersistenceImpl.cacheResult | @Override
public void cacheResult(List<CPInstance> cpInstances) {
for (CPInstance cpInstance : cpInstances) {
if (entityCache.getResult(
CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
CPInstanceImpl.class, cpInstance.getPrimaryKey()) == null) {
cacheResult(cpInstance);
}
else {
cpInstance.res... | java | @Override
public void cacheResult(List<CPInstance> cpInstances) {
for (CPInstance cpInstance : cpInstances) {
if (entityCache.getResult(
CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
CPInstanceImpl.class, cpInstance.getPrimaryKey()) == null) {
cacheResult(cpInstance);
}
else {
cpInstance.res... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CPInstance",
">",
"cpInstances",
")",
"{",
"for",
"(",
"CPInstance",
"cpInstance",
":",
"cpInstances",
")",
"{",
"if",
"(",
"entityCache",
".",
"getResult",
"(",
"CPInstanceModelImpl",
".",
... | Caches the cp instances in the entity cache if it is enabled.
@param cpInstances the cp instances | [
"Caches",
"the",
"cp",
"instances",
"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/CPInstancePersistenceImpl.java#L7125-L7137 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java | CPInstancePersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CPInstanceImpl.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(CPInstanceImpl.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",
"(",
"CPInstanceImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"clearCache",
"(",
... | Clears the cache for all cp instances.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"cp",
"instances",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java#L7146-L7153 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java | CPInstancePersistenceImpl.clearCache | @Override
public void clearCache(CPInstance cpInstance) {
entityCache.removeResult(CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
CPInstanceImpl.class, cpInstance.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
... | java | @Override
public void clearCache(CPInstance cpInstance) {
entityCache.removeResult(CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
CPInstanceImpl.class, cpInstance.getPrimaryKey());
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CPInstance",
"cpInstance",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CPInstanceModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CPInstanceImpl",
".",
"class",
",",
"cpInstance",
".",
"getPrimaryKey",
"("... | Clears the cache for the cp instance.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"cp",
"instance",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java#L7162-L7171 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java | CPInstancePersistenceImpl.findAll | @Override
public List<CPInstance> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CPInstance> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPInstance",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the cp instances.
@return the cp instances | [
"Returns",
"all",
"the",
"cp",
"instances",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/persistence/impl/CPInstancePersistenceImpl.java#L7895-L7898 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPMeasurementUnitLocalServiceBaseImpl.java | CPMeasurementUnitLocalServiceBaseImpl.deleteCPMeasurementUnit | @Indexable(type = IndexableType.DELETE)
@Override
public CPMeasurementUnit deleteCPMeasurementUnit(long CPMeasurementUnitId)
throws PortalException {
return cpMeasurementUnitPersistence.remove(CPMeasurementUnitId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPMeasurementUnit deleteCPMeasurementUnit(long CPMeasurementUnitId)
throws PortalException {
return cpMeasurementUnitPersistence.remove(CPMeasurementUnitId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPMeasurementUnit",
"deleteCPMeasurementUnit",
"(",
"long",
"CPMeasurementUnitId",
")",
"throws",
"PortalException",
"{",
"return",
"cpMeasurementUnitPersistence",
".",
... | Deletes the cp measurement unit with the primary key from the database. Also notifies the appropriate model listeners.
@param CPMeasurementUnitId the primary key of the cp measurement unit
@return the cp measurement unit that was removed
@throws PortalException if a cp measurement unit with the primary key could not b... | [
"Deletes",
"the",
"cp",
"measurement",
"unit",
"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/CPMeasurementUnitLocalServiceBaseImpl.java#L140-L145 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPMeasurementUnitLocalServiceBaseImpl.java | CPMeasurementUnitLocalServiceBaseImpl.deleteCPMeasurementUnit | @Indexable(type = IndexableType.DELETE)
@Override
public CPMeasurementUnit deleteCPMeasurementUnit(
CPMeasurementUnit cpMeasurementUnit) {
return cpMeasurementUnitPersistence.remove(cpMeasurementUnit);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPMeasurementUnit deleteCPMeasurementUnit(
CPMeasurementUnit cpMeasurementUnit) {
return cpMeasurementUnitPersistence.remove(cpMeasurementUnit);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPMeasurementUnit",
"deleteCPMeasurementUnit",
"(",
"CPMeasurementUnit",
"cpMeasurementUnit",
")",
"{",
"return",
"cpMeasurementUnitPersistence",
".",
"remove",
"(",
"... | Deletes the cp measurement unit from the database. Also notifies the appropriate model listeners.
@param cpMeasurementUnit the cp measurement unit
@return the cp measurement unit that was removed | [
"Deletes",
"the",
"cp",
"measurement",
"unit",
"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/CPMeasurementUnitLocalServiceBaseImpl.java#L153-L158 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPMeasurementUnitLocalServiceBaseImpl.java | CPMeasurementUnitLocalServiceBaseImpl.getCPMeasurementUnitsByUuidAndCompanyId | @Override
public List<CPMeasurementUnit> getCPMeasurementUnitsByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CPMeasurementUnit> orderByComparator) {
return cpMeasurementUnitPersistence.findByUuid_C(uuid, companyId,
start, end, orderByComparator);
} | java | @Override
public List<CPMeasurementUnit> getCPMeasurementUnitsByUuidAndCompanyId(
String uuid, long companyId, int start, int end,
OrderByComparator<CPMeasurementUnit> orderByComparator) {
return cpMeasurementUnitPersistence.findByUuid_C(uuid, companyId,
start, end, orderByComparator);
} | [
"@",
"Override",
"public",
"List",
"<",
"CPMeasurementUnit",
">",
"getCPMeasurementUnitsByUuidAndCompanyId",
"(",
"String",
"uuid",
",",
"long",
"companyId",
",",
"int",
"start",
",",
"int",
"end",
",",
"OrderByComparator",
"<",
"CPMeasurementUnit",
">",
"orderByCom... | Returns a range of cp measurement units matching the UUID and company.
@param uuid the UUID of the cp measurement units
@param companyId the primary key of the company
@param start the lower bound of the range of cp measurement units
@param end the upper bound of the range of cp measurement units (not inclusive)
@para... | [
"Returns",
"a",
"range",
"of",
"cp",
"measurement",
"units",
"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/CPMeasurementUnitLocalServiceBaseImpl.java#L401-L407 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPMeasurementUnitLocalServiceBaseImpl.java | CPMeasurementUnitLocalServiceBaseImpl.updateCPMeasurementUnit | @Indexable(type = IndexableType.REINDEX)
@Override
public CPMeasurementUnit updateCPMeasurementUnit(
CPMeasurementUnit cpMeasurementUnit) {
return cpMeasurementUnitPersistence.update(cpMeasurementUnit);
} | java | @Indexable(type = IndexableType.REINDEX)
@Override
public CPMeasurementUnit updateCPMeasurementUnit(
CPMeasurementUnit cpMeasurementUnit) {
return cpMeasurementUnitPersistence.update(cpMeasurementUnit);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"REINDEX",
")",
"@",
"Override",
"public",
"CPMeasurementUnit",
"updateCPMeasurementUnit",
"(",
"CPMeasurementUnit",
"cpMeasurementUnit",
")",
"{",
"return",
"cpMeasurementUnitPersistence",
".",
"update",
"(",
... | Updates the cp measurement unit in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
@param cpMeasurementUnit the cp measurement unit
@return the cp measurement unit that was updated | [
"Updates",
"the",
"cp",
"measurement",
"unit",
"in",
"the",
"database",
"or",
"adds",
"it",
"if",
"it",
"does",
"not",
"yet",
"exist",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPMeasurementUnitLocalServiceBaseImpl.java#L455-L460 | train |
liferay/com-liferay-commerce | commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPTaxCategoryWrapper.java | CPTaxCategoryWrapper.getDescription | @Override
public String getDescription(String languageId, boolean useDefault) {
return _cpTaxCategory.getDescription(languageId, useDefault);
} | java | @Override
public String getDescription(String languageId, boolean useDefault) {
return _cpTaxCategory.getDescription(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getDescription",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_cpTaxCategory",
".",
"getDescription",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized description of this cp tax 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
@ret... | [
"Returns",
"the",
"localized",
"description",
"of",
"this",
"cp",
"tax",
"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/CPTaxCategoryWrapper.java#L232-L235 | train |
liferay/com-liferay-commerce | commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPTaxCategoryWrapper.java | CPTaxCategoryWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _cpTaxCategory.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _cpTaxCategory.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_cpTaxCategory",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this cp tax 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... | [
"Returns",
"the",
"localized",
"name",
"of",
"this",
"cp",
"tax",
"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/CPTaxCategoryWrapper.java#L333-L336 | train |
liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java | CommerceTaxFixedRateAddressRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) {
entityCache.putResult(CommerceTaxFixedRateAddressRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceTaxFixedRateAddressRelImpl.class,
commerceTaxFixedRateAddressRel.getPrimaryKey(),
commerceTaxFixedRateAddressRel);... | java | @Override
public void cacheResult(
CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel) {
entityCache.putResult(CommerceTaxFixedRateAddressRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceTaxFixedRateAddressRelImpl.class,
commerceTaxFixedRateAddressRel.getPrimaryKey(),
commerceTaxFixedRateAddressRel);... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceTaxFixedRateAddressRel",
"commerceTaxFixedRateAddressRel",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceTaxFixedRateAddressRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceTaxFixedRateAddressRelI... | Caches the commerce tax fixed rate address rel in the entity cache if it is enabled.
@param commerceTaxFixedRateAddressRel the commerce tax fixed rate address rel | [
"Caches",
"the",
"commerce",
"tax",
"fixed",
"rate",
"address",
"rel",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java#L1183-L1192 | train |
liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java | CommerceTaxFixedRateAddressRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceTaxFixedRateAddressRel> commerceTaxFixedRateAddressRels) {
for (CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel : commerceTaxFixedRateAddressRels) {
if (entityCache.getResult(
CommerceTaxFixedRateAddressRelModelImpl.ENTITY_CACHE_ENABLED,
... | java | @Override
public void cacheResult(
List<CommerceTaxFixedRateAddressRel> commerceTaxFixedRateAddressRels) {
for (CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel : commerceTaxFixedRateAddressRels) {
if (entityCache.getResult(
CommerceTaxFixedRateAddressRelModelImpl.ENTITY_CACHE_ENABLED,
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceTaxFixedRateAddressRel",
">",
"commerceTaxFixedRateAddressRels",
")",
"{",
"for",
"(",
"CommerceTaxFixedRateAddressRel",
"commerceTaxFixedRateAddressRel",
":",
"commerceTaxFixedRateAddressRels",
")",
... | Caches the commerce tax fixed rate address rels in the entity cache if it is enabled.
@param commerceTaxFixedRateAddressRels the commerce tax fixed rate address rels | [
"Caches",
"the",
"commerce",
"tax",
"fixed",
"rate",
"address",
"rels",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java#L1199-L1213 | train |
liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java | CommerceTaxFixedRateAddressRelPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceTaxFixedRateAddressRelImpl.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(CommerceTaxFixedRateAddressRelImpl.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",
"(",
"CommerceTaxFixedRateAddressRelImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"c... | Clears the cache for all commerce tax fixed rate address rels.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"tax",
"fixed",
"rate",
"address",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java#L1222-L1229 | train |
liferay/com-liferay-commerce | commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java | CommerceTaxFixedRateAddressRelPersistenceImpl.findAll | @Override
public List<CommerceTaxFixedRateAddressRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceTaxFixedRateAddressRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceTaxFixedRateAddressRel",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce tax fixed rate address rels.
@return the commerce tax fixed rate address rels | [
"Returns",
"all",
"the",
"commerce",
"tax",
"fixed",
"rate",
"address",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-tax-engine-fixed-service/src/main/java/com/liferay/commerce/tax/engine/fixed/service/persistence/impl/CommerceTaxFixedRateAddressRelPersistenceImpl.java#L1721-L1724 | train |
liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java | CommerceAccountOrganizationRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
CommerceAccountOrganizationRel commerceAccountOrganizationRel) {
entityCache.putResult(CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountOrganizationRelImpl.class,
commerceAccountOrganizationRel.getPrimaryKey(),
commerceAccountOrganizationRel);... | java | @Override
public void cacheResult(
CommerceAccountOrganizationRel commerceAccountOrganizationRel) {
entityCache.putResult(CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountOrganizationRelImpl.class,
commerceAccountOrganizationRel.getPrimaryKey(),
commerceAccountOrganizationRel);... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"CommerceAccountOrganizationRel",
"commerceAccountOrganizationRel",
")",
"{",
"entityCache",
".",
"putResult",
"(",
"CommerceAccountOrganizationRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceAccountOrganizationRelI... | Caches the commerce account organization rel in the entity cache if it is enabled.
@param commerceAccountOrganizationRel the commerce account organization rel | [
"Caches",
"the",
"commerce",
"account",
"organization",
"rel",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java#L1162-L1171 | train |
liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java | CommerceAccountOrganizationRelPersistenceImpl.cacheResult | @Override
public void cacheResult(
List<CommerceAccountOrganizationRel> commerceAccountOrganizationRels) {
for (CommerceAccountOrganizationRel commerceAccountOrganizationRel : commerceAccountOrganizationRels) {
if (entityCache.getResult(
CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
... | java | @Override
public void cacheResult(
List<CommerceAccountOrganizationRel> commerceAccountOrganizationRels) {
for (CommerceAccountOrganizationRel commerceAccountOrganizationRel : commerceAccountOrganizationRels) {
if (entityCache.getResult(
CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
... | [
"@",
"Override",
"public",
"void",
"cacheResult",
"(",
"List",
"<",
"CommerceAccountOrganizationRel",
">",
"commerceAccountOrganizationRels",
")",
"{",
"for",
"(",
"CommerceAccountOrganizationRel",
"commerceAccountOrganizationRel",
":",
"commerceAccountOrganizationRels",
")",
... | Caches the commerce account organization rels in the entity cache if it is enabled.
@param commerceAccountOrganizationRels the commerce account organization rels | [
"Caches",
"the",
"commerce",
"account",
"organization",
"rels",
"in",
"the",
"entity",
"cache",
"if",
"it",
"is",
"enabled",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java#L1178-L1192 | train |
liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java | CommerceAccountOrganizationRelPersistenceImpl.clearCache | @Override
public void clearCache() {
entityCache.clearCache(CommerceAccountOrganizationRelImpl.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(CommerceAccountOrganizationRelImpl.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",
"(",
"CommerceAccountOrganizationRelImpl",
".",
"class",
")",
";",
"finderCache",
".",
"clearCache",
"(",
"FINDER_CLASS_NAME_ENTITY",
")",
";",
"finderCache",
".",
"c... | Clears the cache for all commerce account organization rels.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"all",
"commerce",
"account",
"organization",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java#L1201-L1208 | train |
liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java | CommerceAccountOrganizationRelPersistenceImpl.clearCache | @Override
public void clearCache(
CommerceAccountOrganizationRel commerceAccountOrganizationRel) {
entityCache.removeResult(CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountOrganizationRelImpl.class,
commerceAccountOrganizationRel.getPrimaryKey());
finderCache.clearCache(FINDER... | java | @Override
public void clearCache(
CommerceAccountOrganizationRel commerceAccountOrganizationRel) {
entityCache.removeResult(CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
CommerceAccountOrganizationRelImpl.class,
commerceAccountOrganizationRel.getPrimaryKey());
finderCache.clearCache(FINDER... | [
"@",
"Override",
"public",
"void",
"clearCache",
"(",
"CommerceAccountOrganizationRel",
"commerceAccountOrganizationRel",
")",
"{",
"entityCache",
".",
"removeResult",
"(",
"CommerceAccountOrganizationRelModelImpl",
".",
"ENTITY_CACHE_ENABLED",
",",
"CommerceAccountOrganizationRe... | Clears the cache for the commerce account organization rel.
<p>
The {@link EntityCache} and {@link FinderCache} are both cleared by this method.
</p> | [
"Clears",
"the",
"cache",
"for",
"the",
"commerce",
"account",
"organization",
"rel",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java#L1217-L1226 | train |
liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java | CommerceAccountOrganizationRelPersistenceImpl.remove | @Override
public CommerceAccountOrganizationRel remove(Serializable primaryKey)
throws NoSuchAccountOrganizationRelException {
Session session = null;
try {
session = openSession();
CommerceAccountOrganizationRel commerceAccountOrganizationRel = (CommerceAccountOrganizationRel)session.get(CommerceAccount... | java | @Override
public CommerceAccountOrganizationRel remove(Serializable primaryKey)
throws NoSuchAccountOrganizationRelException {
Session session = null;
try {
session = openSession();
CommerceAccountOrganizationRel commerceAccountOrganizationRel = (CommerceAccountOrganizationRel)session.get(CommerceAccount... | [
"@",
"Override",
"public",
"CommerceAccountOrganizationRel",
"remove",
"(",
"Serializable",
"primaryKey",
")",
"throws",
"NoSuchAccountOrganizationRelException",
"{",
"Session",
"session",
"=",
"null",
";",
"try",
"{",
"session",
"=",
"openSession",
"(",
")",
";",
"... | Removes the commerce account organization rel with the primary key from the database. Also notifies the appropriate model listeners.
@param primaryKey the primary key of the commerce account organization rel
@return the commerce account organization rel that was removed
@throws NoSuchAccountOrganizationRelException if... | [
"Removes",
"the",
"commerce",
"account",
"organization",
"rel",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java#L1281-L1312 | train |
liferay/com-liferay-commerce | commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java | CommerceAccountOrganizationRelPersistenceImpl.findAll | @Override
public List<CommerceAccountOrganizationRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | java | @Override
public List<CommerceAccountOrganizationRel> findAll() {
return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
} | [
"@",
"Override",
"public",
"List",
"<",
"CommerceAccountOrganizationRel",
">",
"findAll",
"(",
")",
"{",
"return",
"findAll",
"(",
"QueryUtil",
".",
"ALL_POS",
",",
"QueryUtil",
".",
"ALL_POS",
",",
"null",
")",
";",
"}"
] | Returns all the commerce account organization rels.
@return the commerce account organization rels | [
"Returns",
"all",
"the",
"commerce",
"account",
"organization",
"rels",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-account-service/src/main/java/com/liferay/commerce/account/service/persistence/impl/CommerceAccountOrganizationRelPersistenceImpl.java#L1623-L1626 | train |
liferay/com-liferay-commerce | commerce-product-api/src/main/java/com/liferay/commerce/product/model/CPDefinitionOptionValueRelWrapper.java | CPDefinitionOptionValueRelWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _cpDefinitionOptionValueRel.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _cpDefinitionOptionValueRel.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_cpDefinitionOptionValueRel",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this cp definition option value rel 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 langu... | [
"Returns",
"the",
"localized",
"name",
"of",
"this",
"cp",
"definition",
"option",
"value",
"rel",
"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/CPDefinitionOptionValueRelWrapper.java#L311-L314 | train |
liferay/com-liferay-commerce | commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceShippingMethodLocalServiceBaseImpl.java | CommerceShippingMethodLocalServiceBaseImpl.deleteCommerceShippingMethod | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceShippingMethod deleteCommerceShippingMethod(
long commerceShippingMethodId) throws PortalException {
return commerceShippingMethodPersistence.remove(commerceShippingMethodId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceShippingMethod deleteCommerceShippingMethod(
long commerceShippingMethodId) throws PortalException {
return commerceShippingMethodPersistence.remove(commerceShippingMethodId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceShippingMethod",
"deleteCommerceShippingMethod",
"(",
"long",
"commerceShippingMethodId",
")",
"throws",
"PortalException",
"{",
"return",
"commerceShippingMethodP... | Deletes the commerce shipping method with the primary key from the database. Also notifies the appropriate model listeners.
@param commerceShippingMethodId the primary key of the commerce shipping method
@return the commerce shipping method that was removed
@throws PortalException if a commerce shipping method with th... | [
"Deletes",
"the",
"commerce",
"shipping",
"method",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-service/src/main/java/com/liferay/commerce/service/base/CommerceShippingMethodLocalServiceBaseImpl.java#L135-L140 | train |
liferay/com-liferay-commerce | commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRuleLocalServiceBaseImpl.java | CommerceDiscountRuleLocalServiceBaseImpl.deleteCommerceDiscountRule | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceDiscountRule deleteCommerceDiscountRule(
long commerceDiscountRuleId) throws PortalException {
return commerceDiscountRulePersistence.remove(commerceDiscountRuleId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CommerceDiscountRule deleteCommerceDiscountRule(
long commerceDiscountRuleId) throws PortalException {
return commerceDiscountRulePersistence.remove(commerceDiscountRuleId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CommerceDiscountRule",
"deleteCommerceDiscountRule",
"(",
"long",
"commerceDiscountRuleId",
")",
"throws",
"PortalException",
"{",
"return",
"commerceDiscountRulePersisten... | Deletes the commerce discount rule with the primary key from the database. Also notifies the appropriate model listeners.
@param commerceDiscountRuleId the primary key of the commerce discount rule
@return the commerce discount rule that was removed
@throws PortalException if a commerce discount rule with the primary ... | [
"Deletes",
"the",
"commerce",
"discount",
"rule",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-discount-service/src/main/java/com/liferay/commerce/discount/service/base/CommerceDiscountRuleLocalServiceBaseImpl.java#L116-L121 | train |
liferay/com-liferay-commerce | commerce-payment-api/src/main/java/com/liferay/commerce/payment/model/CommercePaymentMethodGroupRelWrapper.java | CommercePaymentMethodGroupRelWrapper.getDescription | @Override
public String getDescription(java.util.Locale locale) {
return _commercePaymentMethodGroupRel.getDescription(locale);
} | java | @Override
public String getDescription(java.util.Locale locale) {
return _commercePaymentMethodGroupRel.getDescription(locale);
} | [
"@",
"Override",
"public",
"String",
"getDescription",
"(",
"java",
".",
"util",
".",
"Locale",
"locale",
")",
"{",
"return",
"_commercePaymentMethodGroupRel",
".",
"getDescription",
"(",
"locale",
")",
";",
"}"
] | Returns the localized description of this commerce payment method group rel 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 description of this commerce payment method group rel | [
"Returns",
"the",
"localized",
"description",
"of",
"this",
"commerce",
"payment",
"method",
"group",
"rel",
"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-payment-api/src/main/java/com/liferay/commerce/payment/model/CommercePaymentMethodGroupRelWrapper.java#L240-L243 | train |
liferay/com-liferay-commerce | commerce-payment-api/src/main/java/com/liferay/commerce/payment/model/CommercePaymentMethodGroupRelWrapper.java | CommercePaymentMethodGroupRelWrapper.getDescription | @Override
public String getDescription(String languageId, boolean useDefault) {
return _commercePaymentMethodGroupRel.getDescription(languageId,
useDefault);
} | java | @Override
public String getDescription(String languageId, boolean useDefault) {
return _commercePaymentMethodGroupRel.getDescription(languageId,
useDefault);
} | [
"@",
"Override",
"public",
"String",
"getDescription",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commercePaymentMethodGroupRel",
".",
"getDescription",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized description of this commerce payment method group rel 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 reque... | [
"Returns",
"the",
"localized",
"description",
"of",
"this",
"commerce",
"payment",
"method",
"group",
"rel",
"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-payment-api/src/main/java/com/liferay/commerce/payment/model/CommercePaymentMethodGroupRelWrapper.java#L275-L279 | train |
liferay/com-liferay-commerce | commerce-payment-api/src/main/java/com/liferay/commerce/payment/model/CommercePaymentMethodGroupRelWrapper.java | CommercePaymentMethodGroupRelWrapper.getName | @Override
public String getName(String languageId, boolean useDefault) {
return _commercePaymentMethodGroupRel.getName(languageId, useDefault);
} | java | @Override
public String getName(String languageId, boolean useDefault) {
return _commercePaymentMethodGroupRel.getName(languageId, useDefault);
} | [
"@",
"Override",
"public",
"String",
"getName",
"(",
"String",
"languageId",
",",
"boolean",
"useDefault",
")",
"{",
"return",
"_commercePaymentMethodGroupRel",
".",
"getName",
"(",
"languageId",
",",
"useDefault",
")",
";",
"}"
] | Returns the localized name of this commerce payment method group rel 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 la... | [
"Returns",
"the",
"localized",
"name",
"of",
"this",
"commerce",
"payment",
"method",
"group",
"rel",
"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-payment-api/src/main/java/com/liferay/commerce/payment/model/CommercePaymentMethodGroupRelWrapper.java#L403-L406 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPAttachmentFileEntryServiceBaseImpl.java | CPAttachmentFileEntryServiceBaseImpl.setDLFileEntryService | public void setDLFileEntryService(
com.liferay.document.library.kernel.service.DLFileEntryService dlFileEntryService) {
this.dlFileEntryService = dlFileEntryService;
} | java | public void setDLFileEntryService(
com.liferay.document.library.kernel.service.DLFileEntryService dlFileEntryService) {
this.dlFileEntryService = dlFileEntryService;
} | [
"public",
"void",
"setDLFileEntryService",
"(",
"com",
".",
"liferay",
".",
"document",
".",
"library",
".",
"kernel",
".",
"service",
".",
"DLFileEntryService",
"dlFileEntryService",
")",
"{",
"this",
".",
"dlFileEntryService",
"=",
"dlFileEntryService",
";",
"}"... | Sets the document library file entry remote service.
@param dlFileEntryService the document library file entry remote service | [
"Sets",
"the",
"document",
"library",
"file",
"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/CPAttachmentFileEntryServiceBaseImpl.java#L1402-L1405 | train |
liferay/com-liferay-commerce | commerce-api/src/main/java/com/liferay/commerce/service/CommerceAvailabilityEstimateLocalServiceWrapper.java | CommerceAvailabilityEstimateLocalServiceWrapper.getCommerceAvailabilityEstimate | @Override
public com.liferay.commerce.model.CommerceAvailabilityEstimate getCommerceAvailabilityEstimate(
long commerceAvailabilityEstimateId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAvailabilityEstimateLocalService.getCommerceAvailabilityEstimate(commerceAvailabilityEstimate... | java | @Override
public com.liferay.commerce.model.CommerceAvailabilityEstimate getCommerceAvailabilityEstimate(
long commerceAvailabilityEstimateId)
throws com.liferay.portal.kernel.exception.PortalException {
return _commerceAvailabilityEstimateLocalService.getCommerceAvailabilityEstimate(commerceAvailabilityEstimate... | [
"@",
"Override",
"public",
"com",
".",
"liferay",
".",
"commerce",
".",
"model",
".",
"CommerceAvailabilityEstimate",
"getCommerceAvailabilityEstimate",
"(",
"long",
"commerceAvailabilityEstimateId",
")",
"throws",
"com",
".",
"liferay",
".",
"portal",
".",
"kernel",
... | Returns the commerce availability estimate with the primary key.
@param commerceAvailabilityEstimateId the primary key of the commerce availability estimate
@return the commerce availability estimate
@throws PortalException if a commerce availability estimate with the primary key could not be found | [
"Returns",
"the",
"commerce",
"availability",
"estimate",
"with",
"the",
"primary",
"key",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-api/src/main/java/com/liferay/commerce/service/CommerceAvailabilityEstimateLocalServiceWrapper.java#L232-L237 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.java | CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.deleteCPDefinitionSpecificationOptionValue | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinitionSpecificationOptionValue deleteCPDefinitionSpecificationOptionValue(
long CPDefinitionSpecificationOptionValueId) throws PortalException {
return cpDefinitionSpecificationOptionValuePersistence.remove(CPDefinitionSpecificationOptionValueId);
} | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinitionSpecificationOptionValue deleteCPDefinitionSpecificationOptionValue(
long CPDefinitionSpecificationOptionValueId) throws PortalException {
return cpDefinitionSpecificationOptionValuePersistence.remove(CPDefinitionSpecificationOptionValueId);
} | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPDefinitionSpecificationOptionValue",
"deleteCPDefinitionSpecificationOptionValue",
"(",
"long",
"CPDefinitionSpecificationOptionValueId",
")",
"throws",
"PortalException",
"... | Deletes the cp definition specification option value with the primary key from the database. Also notifies the appropriate model listeners.
@param CPDefinitionSpecificationOptionValueId the primary key of the cp definition specification option value
@return the cp definition specification option value that was removed... | [
"Deletes",
"the",
"cp",
"definition",
"specification",
"option",
"value",
"with",
"the",
"primary",
"key",
"from",
"the",
"database",
".",
"Also",
"notifies",
"the",
"appropriate",
"model",
"listeners",
"."
] | 9e54362d7f59531fc684016ba49ee7cdc3a2f22b | https://github.com/liferay/com-liferay-commerce/blob/9e54362d7f59531fc684016ba49ee7cdc3a2f22b/commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.java#L144-L149 | train |
liferay/com-liferay-commerce | commerce-product-service/src/main/java/com/liferay/commerce/product/service/base/CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.java | CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.deleteCPDefinitionSpecificationOptionValue | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinitionSpecificationOptionValue deleteCPDefinitionSpecificationOptionValue(
CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) {
return cpDefinitionSpecificationOptionValuePersistence.remove(cpDefinitionSpecificationOptionValue)... | java | @Indexable(type = IndexableType.DELETE)
@Override
public CPDefinitionSpecificationOptionValue deleteCPDefinitionSpecificationOptionValue(
CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue) {
return cpDefinitionSpecificationOptionValuePersistence.remove(cpDefinitionSpecificationOptionValue)... | [
"@",
"Indexable",
"(",
"type",
"=",
"IndexableType",
".",
"DELETE",
")",
"@",
"Override",
"public",
"CPDefinitionSpecificationOptionValue",
"deleteCPDefinitionSpecificationOptionValue",
"(",
"CPDefinitionSpecificationOptionValue",
"cpDefinitionSpecificationOptionValue",
")",
"{",... | Deletes the cp definition specification option value from the database. Also notifies the appropriate model listeners.
@param cpDefinitionSpecificationOptionValue the cp definition specification option value
@return the cp definition specification option value that was removed | [
"Deletes",
"the",
"cp",
"definition",
"specification",
"option",
"value",
"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/CPDefinitionSpecificationOptionValueLocalServiceBaseImpl.java#L157-L162 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.