DBA Data[Home] [Help]

APPS.JDR_CUSTOM_INTERNAL dependencies on JDR_MDS_INTERNAL

Line 593: custDocID := jdr_mds_internal.getDocumentID(custName, 'DOCUMENT');

589: lyrTypes(i),
590: lyrValues(i));
591: IF NOT custName IS NULL
592: THEN
593: custDocID := jdr_mds_internal.getDocumentID(custName, 'DOCUMENT');
594: IF (custDocID = -1)
595: THEN
596: IF (upper(lyrTypes(i)) = PORTLET)
597: THEN

Line 603: custDocID := jdr_mds_internal.getDocumentID(tmpCustName,

599: -- try using value if no customization doc was found
600: tmpCustName := getOldPortletReference(baseDoc,
601: lyrTypes(i),
602: lyrValues(i));
603: custDocID := jdr_mds_internal.getDocumentID(tmpCustName,
604: 'DOCUMENT');
605: IF ( custDocID <> -1 )
606: THEN
607: custName := tmpCustName;

Line 618: custDocID := jdr_mds_internal.getDocumentID(tmpcustName,

614: -- directory structure (before the fix for bug 2849379).
615: tmpCustName := getOldCustomizationDocName(baseDoc,
616: lyrTypes(i),
617: lyrValues(i));
618: custDocID := jdr_mds_internal.getDocumentID(tmpcustName,
619: 'DOCUMENT');
620: IF ( custDocID <> -1 )
621: THEN
622: custName := tmpCustName;

Line 633: custDocID := jdr_mds_internal.getDocumentID(tmpCustName,

629: tmpCustName := getOldPortletReference(baseDoc,
630: lyrTypes(i),
631: lyrValues(i),
632: FALSE);
633: custDocID := jdr_mds_internal.getDocumentID(tmpCustName,
634: 'DOCUMENT');
635: IF ( custDocID <> -1 )
636: THEN
637: custName := tmpCustName;

Line 765: regionBaseDocID := jdr_mds_internal.getDocumentID(regionBaseDocName, 'DOCUMENT');

761: pos1 := INSTR(regionCustDocName, '/customizations');
762: pos2 := INSTR(regionCustDocName, '/', pos1 + 1, 3);
763: regionBaseDocName := SUBSTR(regionCustDocName, 1, pos1) ||
764: SUBSTR(regionCustDocName, pos2 + 1);
765: regionBaseDocID := jdr_mds_internal.getDocumentID(regionBaseDocName, 'DOCUMENT');
766: regionCustDocID := jdr_mds_internal.getDocumentID(regionCustDocName, 'DOCUMENT');
767:
768:
769: -- Check if there are any existing customizations

Line 766: regionCustDocID := jdr_mds_internal.getDocumentID(regionCustDocName, 'DOCUMENT');

762: pos2 := INSTR(regionCustDocName, '/', pos1 + 1, 3);
763: regionBaseDocName := SUBSTR(regionCustDocName, 1, pos1) ||
764: SUBSTR(regionCustDocName, pos2 + 1);
765: regionBaseDocID := jdr_mds_internal.getDocumentID(regionBaseDocName, 'DOCUMENT');
766: regionCustDocID := jdr_mds_internal.getDocumentID(regionCustDocName, 'DOCUMENT');
767:
768:
769: -- Check if there are any existing customizations
770: pageCustDocID := jdr_mds_internal.getDocumentID(pageCustDocName, 'DOCUMENT');

Line 770: pageCustDocID := jdr_mds_internal.getDocumentID(pageCustDocName, 'DOCUMENT');

766: regionCustDocID := jdr_mds_internal.getDocumentID(regionCustDocName, 'DOCUMENT');
767:
768:
769: -- Check if there are any existing customizations
770: pageCustDocID := jdr_mds_internal.getDocumentID(pageCustDocName, 'DOCUMENT');
771: IF (pageCustDocID > 0) THEN
772: -- The page customization document exists, so we need to check if it
773: -- contains any references to the region
774: BEGIN

Line 823: pageCustDocID := jdr_mds_internal.getDocumentID(pageCustDocName, 'DOCUMENT');

819: jdr_docbuilder.settoplevelelement(doc, elem);
820: IF jdr_docbuilder.save <> jdr_docbuilder.SUCCESS THEN
821: goto error;
822: END IF;
823: pageCustDocID := jdr_mds_internal.getDocumentID(pageCustDocName, 'DOCUMENT');
824: END;
825: END IF;
826:
827:

Line 829: jdr_mds_internal.lockDocument(pageCustDocID);

825: END IF;
826:
827:
828: -- Lock the document prior to modifying it
829: jdr_mds_internal.lockDocument(pageCustDocID);
830:
831: -- Customizations views and non-view customizations need to be
832: -- handled differently, since views are a little more complex.
833: -- Determine what type of customization document we are dealing with.

Line 903: jdr_mds_internal.deleteDocument(regionCustDocID, TRUE);

899: END LOOP;
900: END IF;
901:
902: -- Delete the document and remove any translations
903: jdr_mds_internal.deleteDocument(regionCustDocID, TRUE);
904:
905: DELETE jdr_attributes_trans WHERE atl_comp_docid = regionCustDocID;
906:
907: COMMIT;

Line 940: SELECT jdr_mds_internal.getDocumentName(path_docid)

936: getOldRefs BOOLEAN := TRUE;
937: docs jdr_stringArray := jdr_stringArray(null);
938: layers jdr_stringArray := jdr_stringArray(null);
939: CURSOR c(custDocLike VARCHAR2, pathName VARCHAR2) IS
940: SELECT jdr_mds_internal.getDocumentName(path_docid)
941: FROM jdr_paths
942: WHERE path_type = 'DOCUMENT' AND
943: path_name = pathName AND
944: path_seq = -1 AND

Line 945: jdr_mds_internal.getDocumentName(path_docid) like custDocLike;

941: FROM jdr_paths
942: WHERE path_type = 'DOCUMENT' AND
943: path_name = pathName AND
944: path_seq = -1 AND
945: jdr_mds_internal.getDocumentName(path_docid) like custDocLike;
946: BEGIN
947: newRef := getCustomizationDocName(baseDoc, '%', '%');
948: oldRef := getOldCustomizationDocName(baseDoc, '%', '%');
949: IF oldRef IS NULL THEN