*/
public void sync() throws CacheException {
if (this.uniqueElementName == null
|| (this.uniqueElementProductTypeNames == null ||
(this.uniqueElementProductTypeNames != null && this.uniqueElementProductTypeNames.size() == 0))) {
throw new CacheException(
"Both uniqueElementName and uniqueElementProductTypeName must "
+ "be defined in order to use this form of the sync operation!");
}
sync(this.uniqueElementName, this.uniqueElementProductTypeNames);