variables.componentName = "scheduleDAO";
variables.ElementName = getScheduleCEName();
variables.ElementIDfield = "uniqueID";
variables.CCAPIName = getCCAPIName(variables.elementName);
var verifyViewTable = application.ptCourseCatalog.ceData.verifyViewTableExists(customElementName=variables.ElementName);
var retArray = ArrayNew(1);
if ( verifyViewTable ) {
if ( LEN(TRIM(arguments.idFieldName)) AND LEN(TRIM(arguments.uniqueID)) )
retArray = application.ptCourseCatalog.ceData.getCEDataView(customElementName=variables.ElementName,customElementFieldName=TRIM(arguments.idFieldName),item=TRIM(arguments.uniqueID),queryType="selected");
else
retArray = application.ptCourseCatalog.ceData.getCEDataView(customElementName=variables.ElementName);
}
return retArray;
return getSchedules(idFieldName="dbScheduleID",uniqueID=arguments.extScheduleID);
var retStatusStruct = application.ptCourseCatalog.csContent.populateContent(variables.CCAPIName, arguments.dataValues);
/* retStatusStruct RETURNS: CONTENTUPDATED : true/false & CONTENTUPDATERESPONSE: Success:1 */
return retStatusStruct;