This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<polymer-element name="my-element"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ocorputil; | |
import atg.deployment.common.DeploymentException; | |
import atg.deployment.server.DeploymentServer; | |
import atg.deployment.server.Target; | |
import atg.service.scheduler.SchedulableService; | |
import atg.service.scheduler.Schedule; | |
import atg.service.scheduler.ScheduledJob; | |
import atg.service.scheduler.Scheduler; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE | |
CURSOR c_get_all_products | |
IS | |
SELECT DISTINCT(product_id) FROM DCS_PRD_CHLDSKU; | |
seq_max NUMBER; | |
seq_count NUMBER; | |
broken_count NUMBER; | |
BEGIN | |
broken_count := 0; | |
FOR product_id IN c_get_all_products |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mycompany.commerce.order; | |
import atg.commerce.order.OrderImpl; | |
import atg.commerce.order.CreditCard; | |
import atg.commerce.order.GiftCertificate; | |
import com.sparkred.paypal.PayPalPaymentGroup; | |
public class MyCompanyOrderImpl extends OrderImpl { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.common.propertydescriptor; | |
import atg.adapter.gsa.GSAPropertyDescriptor; | |
import atg.core.util.StringUtils; | |
import atg.nucleus.logging.ApplicationLogging; | |
import atg.nucleus.logging.ClassLoggingFactory; | |
import atg.repository.RepositoryItemImpl; | |
import com.common.Constants; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<property name="isNewArrival" data-type="boolean" property-type="com.common.propertydescriptor.CompareValuesPropertyDescriptor"> | |
<attribute name="compareOperator" value="lt" /> | |
<attribute name="leftSideValue" value="daysAvailable" /> | |
<attribute name="leftSideType" value="property" /> | |
<attribute name="rightSideValue" value="30" /> | |
<attribute name="rightSideType" value="int" /> | |
</property> | |
<property name="onSale" data-type="boolean" property-type="com.common.propertydescriptor.CompareValuesPropertyDescriptor"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.common.propertydescriptor; | |
import org.apache.commons.lang3.StringUtils; | |
import atg.adapter.gsa.GSAPropertyDescriptor; | |
import atg.nucleus.logging.ApplicationLogging; | |
import atg.nucleus.logging.ClassLoggingFactory; | |
import atg.repository.RepositoryItemImpl; | |
import com.common.Constants; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<property name="pName" data-type="string" property-type="com.common.propertydescriptor.CocaenateValuesPropertyDescriptor"> | |
<attribute name="separator" value=" - " /> | |
<attribute name="properties" value="displayName,colorName,colorCode" /> | |
</property> | |
<!-- If property sent in properties does not exist it will be concatenated as string, meaning that separator can be sent as property as | |
follows: | |
--> | |
<attribute name="properties" value="this, ,color, ,[,colorCode,], ,size,,[,sizeCode,]"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT product_id | |
FROM (SELECT product_id, MAX(sequence_num) AS "MAX_SEQ", count(*) -1 AS "COUNT" | |
FROM (SELECT DISTINCT dcc.product_id, dcc.sequence_num, dcc.sku_id | |
FROM dcs_product dc | |
INNER JOIN dcs_prd_chldsku dcc ON (dcc.product_id = dc.product_id) | |
WHERE dc.asset_version = dcc.asset_version | |
AND dc.is_head = 1 | |
) | |
GROUP BY product_id | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT product_id | |
FROM (SELECT product_id, MAX(sequence_num) AS "MAX_SEQ", count(*) -1 AS "COUNT" | |
FROM (SELECT DISTINCT dcc.product_id, dcc.sequence_num, dcc.sku_id | |
FROM dcs_product dc | |
INNER JOIN dcs_prd_chldsku dcc ON (dcc.product_id = dc.product_id) | |
WHERE dc.asset_version = dcc.asset_version | |
AND dc.is_head = 1 | |
) | |
GROUP BY product_id | |
) |
OlderNewer