|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.commerce.promotion.PromotionImportExportTools
public class PromotionImportExportTools
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
PromotionImportExportTools()
|
Method Summary | |
---|---|
RepositoryItem |
createClosenessQualifier(java.util.Map<java.lang.String,java.lang.String> pClosenessQualifierPropertyValues)
createClosenessQualifier This method creates a closeness qualifier repository item and sets its properties to the values specified in the map parameter. |
RepositoryItem |
createPromotion(java.util.Map<java.lang.String,java.lang.String> pPromotionPropertyValues,
java.lang.String pItemDescriptor)
createPromotion This method creates a promotion repository item and sets its properties to the values specified in the map parameter. |
RepositoryItem |
createPromotionFolder(java.util.Map<java.lang.String,java.lang.String> pPromotionFolderPropertyValues)
createPromotionFolder This method creates a promotion folder repository item and sets its properties to the values specified in the map parameter. |
RepositoryItem |
createPromotionFolderFromPath(java.lang.String pPromotionFolderPath)
createPromotionFolderFromPath This method creates a series of promotion folders, from the path provided. |
void |
deleteClosenessQualifier(java.lang.String pClosenessQualifierId)
deleteClosenessQualifier This method deletes a closeness qualifier from the promotions repository. |
ClaimableTools |
getClaimableTools()
Gets claimableTools. |
RepositoryItem |
getClosenessQualifier(java.lang.String pClosenessQualifierId)
getClosenessQualifier This method retrieves a closeness qualifier repository item using the specified id. |
java.lang.String |
getClosenessQualifierItemDescriptorName()
Get the closeness qualifier item descriptor name. |
java.lang.String |
getClosenessQualifierPMDLRuleProperty()
Get the closeness qualifier PMDL rule property. |
java.lang.String |
getClosenessQualifierTemplateValuesProperty()
Get the closeness qualifier template values property. |
RepositoryItem |
getPromotion(java.lang.String pPromotionId)
getPromotion This method retrieves a promotion repository item using the specified id. |
RepositoryItem |
getPromotionFolder(java.lang.String pPromotionFolderId)
getPromotionFolder This method retrieves a promotion folder repository item using the specified id. |
java.lang.String |
getPromotionFolderItemDescriptorName()
Get the promotion folder item descriptor name. |
java.lang.String |
getPromotionFolderNameProperty()
Get the promotion folder name property. |
java.lang.String |
getPromotionFolderParentFolderProperty()
Get the promotion folder parent folder property. |
java.lang.String |
getPromotionFolderPath(java.lang.String pPromotionFolderId)
getPromotionFolderPath This method retrieves the promotion folder's full path. |
java.util.List<PromotionImportExportInfo> |
getPromotionsById(java.util.List<java.lang.String> pPromotionIds)
getPromotionsById This method retrieves the promotion repository items, specified by the ids in the list. |
java.util.List<PromotionImportExportInfo> |
getPromotionsByRQLQuery(java.lang.String pRQLQuery)
getPromotionsByRQLQuery This method retrieves a list of promotion repository items, using the specified RQL query. |
PromotionTools |
getPromotionTools()
Get promotionTools |
javax.transaction.TransactionManager |
getTransactionManager()
Gets the transactionManager. |
java.util.Properties |
getTypeCodeToItemDescriptorMap()
Get the typeCodeToItemDescriptorMap property. |
protected java.util.List<ClosenessQualifierImportExportInfo> |
processClosenessQualifiers(java.util.Set pClosenessQualifiers)
processClosenessQualifiers This method processes an array of closeness qualifier repository items to get thie property values. |
protected java.util.List<PromotionImportExportInfo> |
processPromotions(RepositoryItem[] pPromotions)
processPromotions This method process the array of repository items and gets all of the associated details |
void |
setClaimableTools(ClaimableTools pClaimableTools)
Sets claimableTools. |
void |
setClosenessQualifierItemDescriptorName(java.lang.String pClosenessQualifierItemDescriptorName)
Set the closeness qualifier item descriptor name. |
void |
setClosenessQualifierPMDLRuleProperty(java.lang.String pClosenessQualifierPMDLRuleProperty)
Set the closeness qualifier PMDL rule property. |
void |
setClosenessQualifierTemplateValuesProperty(java.lang.String pClosenessQualifierTemplateValuesProperty)
Set the closeness qualifier template values property. |
void |
setPromotionFolderItemDescriptorName(java.lang.String pPromotionFolderItemDescriptorName)
Set the promotion folder item descriptor name. |
void |
setPromotionFolderNameProperty(java.lang.String pPromotionFolderNameProperty)
Set the promotion folder name property. |
void |
setPromotionFolderParentFolderProperty(java.lang.String pPromotionFolderParentFolderProperty)
Set the promotion folder parent folder property. |
void |
setPromotionTools(PromotionTools pPromotionTools)
Set promotionTools |
void |
setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
Sets the transactionManager. |
void |
setTypeCodeToItemDescriptorMap(java.util.Properties pTypeCodeToItemDescriptorMap)
Set the typeCodeToItemDescriptorMap property. |
RepositoryItem |
updateClosenessQualifier(java.util.Map<java.lang.String,java.lang.String> pClosenessQualifierPropertyValues)
updateClosenessQualifier This method updates a closeness qualifier repository item, setting its properties to the values specified in the map parameter. |
RepositoryItem |
updatePromotion(java.util.Map<java.lang.String,java.lang.String> pPromotionPropertyValues,
java.lang.String pItemDescriptor)
updatePromotion This method updates a promotion repository item, setting its properties to the values specified in the map parameter. |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
Constructor Detail |
---|
public PromotionImportExportTools()
Method Detail |
---|
public void setPromotionTools(PromotionTools pPromotionTools)
public PromotionTools getPromotionTools()
public javax.transaction.TransactionManager getTransactionManager()
public void setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
public ClaimableTools getClaimableTools()
public void setClaimableTools(ClaimableTools pClaimableTools)
public java.lang.String getClosenessQualifierItemDescriptorName()
public void setClosenessQualifierItemDescriptorName(java.lang.String pClosenessQualifierItemDescriptorName)
public java.lang.String getClosenessQualifierPMDLRuleProperty()
public void setClosenessQualifierPMDLRuleProperty(java.lang.String pClosenessQualifierPMDLRuleProperty)
public java.lang.String getClosenessQualifierTemplateValuesProperty()
public void setClosenessQualifierTemplateValuesProperty(java.lang.String pClosenessQualifierTemplateValuesProperty)
public java.lang.String getPromotionFolderItemDescriptorName()
public void setPromotionFolderItemDescriptorName(java.lang.String pPromotionFolderItemDescriptorName)
public java.lang.String getPromotionFolderNameProperty()
public void setPromotionFolderNameProperty(java.lang.String pPromotionFolderNameProperty)
public java.lang.String getPromotionFolderParentFolderProperty()
public void setPromotionFolderParentFolderProperty(java.lang.String pPromotionFolderParentFolderProperty)
public java.util.Properties getTypeCodeToItemDescriptorMap()
public void setTypeCodeToItemDescriptorMap(java.util.Properties pTypeCodeToItemDescriptorMap)
public RepositoryItem createPromotion(java.util.Map<java.lang.String,java.lang.String> pPromotionPropertyValues, java.lang.String pItemDescriptor) throws atg.commerce.promotion.PromotionException
pPromotionPropertyValues
- - a map of the promotion property names and their values.pItemDescriptor
- - the item descriptor to use for promotion creation.
atg.commerce.promotion.PromotionException
public RepositoryItem getPromotion(java.lang.String pPromotionId) throws atg.commerce.promotion.PromotionException
pPromotionId
- - the id of the promotion repository item to retrieve.
atg.commerce.promotion.PromotionException
public java.util.List<PromotionImportExportInfo> getPromotionsById(java.util.List<java.lang.String> pPromotionIds) throws atg.commerce.promotion.PromotionException
pPromotionIds
- - the list of promotion ids used to retrieve the repository items.
atg.commerce.promotion.PromotionException
public java.util.List<PromotionImportExportInfo> getPromotionsByRQLQuery(java.lang.String pRQLQuery) throws atg.commerce.promotion.PromotionException
pRQLQuery
- - the RQL query to use.
atg.commerce.promotion.PromotionException
public RepositoryItem updatePromotion(java.util.Map<java.lang.String,java.lang.String> pPromotionPropertyValues, java.lang.String pItemDescriptor) throws atg.commerce.promotion.PromotionException
pPromotionPropertyValues
- - a map of the property names and their values.pItemDescriptor
- - the item descriptor to be used when updating the promotion.
atg.commerce.promotion.PromotionException
public RepositoryItem createClosenessQualifier(java.util.Map<java.lang.String,java.lang.String> pClosenessQualifierPropertyValues) throws atg.commerce.promotion.PromotionException
pClosenessQualifierPropertyValues
- - a map of the property names and their values.
atg.commerce.promotion.PromotionException
public RepositoryItem getClosenessQualifier(java.lang.String pClosenessQualifierId) throws atg.commerce.promotion.PromotionException
pClosenessQualifierId
- - the id of the repository item to retrieve
atg.commerce.promotion.PromotionException
public RepositoryItem updateClosenessQualifier(java.util.Map<java.lang.String,java.lang.String> pClosenessQualifierPropertyValues) throws atg.commerce.promotion.PromotionException
pClosenessQualifierPropertyValues
- - a map of the property names and their values.
atg.commerce.promotion.PromotionException
public void deleteClosenessQualifier(java.lang.String pClosenessQualifierId) throws atg.commerce.promotion.PromotionException
pClosenessQualifierId
- - the id of the closeness qualifier to be deleted.
atg.commerce.promotion.PromotionException
public RepositoryItem createPromotionFolderFromPath(java.lang.String pPromotionFolderPath) throws atg.commerce.promotion.PromotionException
pPromotionFolderpath
- - the full path of the promotion folder.
atg.commerce.promotion.PromotionException
public java.lang.String getPromotionFolderPath(java.lang.String pPromotionFolderId) throws atg.commerce.promotion.PromotionException
pPromotionFolderId
- - the id of the promotionFolder item, for which the path is to be constructed.
atg.commerce.promotion.PromotionException
public RepositoryItem createPromotionFolder(java.util.Map<java.lang.String,java.lang.String> pPromotionFolderPropertyValues) throws atg.commerce.promotion.PromotionException
pPromotionFolderPropertyValues
- - a map of the promotion folder property names and their values.
atg.commerce.promotion.PromotionException
public RepositoryItem getPromotionFolder(java.lang.String pPromotionFolderId) throws atg.commerce.promotion.PromotionException
pPromotionFolderId
- - the id of the repository item to retrieve
atg.commerce.promotion.PromotionException
protected java.util.List<PromotionImportExportInfo> processPromotions(RepositoryItem[] pPromotions) throws atg.commerce.promotion.PromotionException
pPromotions
- - the array of promotion repository items
atg.commerce.promotion.PromotionException
protected java.util.List<ClosenessQualifierImportExportInfo> processClosenessQualifiers(java.util.Set pClosenessQualifiers) throws atg.commerce.promotion.PromotionException
pClosenessQualifiers
- - the array of closeness qualifier repository items
atg.commerce.promotion.PromotionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |