DBA Data[Home] [Help]

XDB.DBMS_XDB_REPOS dependencies on XMLTYPE

Line 87: -- the Locks element as XMLType

83: -- PARAMETERS -
84: -- abspath
85: -- Absolute path in the Hierarchy of the resource
86: -- RETURNS -
87: -- the Locks element as XMLType
88: ---------------------------------------------
89: FUNCTION LockDiscovery(abspath IN VARCHAR2)
90: RETURN SYS.XMLType;
91:

Line 90: RETURN SYS.XMLType;

86: -- RETURNS -
87: -- the Locks element as XMLType
88: ---------------------------------------------
89: FUNCTION LockDiscovery(abspath IN VARCHAR2)
90: RETURN SYS.XMLType;
91:
92: ---------------------------------------------
93: -- PROCEDURE - GetLockToken
94: -- Gets lock token for current user for XDB resource given its path

Line 181: -- FUNCTION - CreateResource(VARCHAR2, SYS.XMLTYPE, VARCHAR2, VARCHAR2)

177: schemaurl IN VARCHAR2 := NULL,
178: elem IN VARCHAR2 := NULL) RETURN BOOLEAN;
179:
180: ---------------------------------------------
181: -- FUNCTION - CreateResource(VARCHAR2, SYS.XMLTYPE, VARCHAR2, VARCHAR2)
182: -- Given an XMLTYPE and a schema URL, inserts a new resource
183: -- into the hierarchy with the XMLTYPE as the contents.
184: -- PARAMETERS -
185: -- abspath

Line 182: -- Given an XMLTYPE and a schema URL, inserts a new resource

178: elem IN VARCHAR2 := NULL) RETURN BOOLEAN;
179:
180: ---------------------------------------------
181: -- FUNCTION - CreateResource(VARCHAR2, SYS.XMLTYPE, VARCHAR2, VARCHAR2)
182: -- Given an XMLTYPE and a schema URL, inserts a new resource
183: -- into the hierarchy with the XMLTYPE as the contents.
184: -- PARAMETERS -
185: -- abspath
186: -- Absolute path to the resource

Line 183: -- into the hierarchy with the XMLTYPE as the contents.

179:
180: ---------------------------------------------
181: -- FUNCTION - CreateResource(VARCHAR2, SYS.XMLTYPE, VARCHAR2, VARCHAR2)
182: -- Given an XMLTYPE and a schema URL, inserts a new resource
183: -- into the hierarchy with the XMLTYPE as the contents.
184: -- PARAMETERS -
185: -- abspath
186: -- Absolute path to the resource
187: -- data

Line 188: -- XMLTYPE containing the resource contents

184: -- PARAMETERS -
185: -- abspath
186: -- Absolute path to the resource
187: -- data
188: -- XMLTYPE containing the resource contents
189: -- schemaurl
190: -- schema URL the XmlType conforms to (default null)
191: -- elem
192: -- element name (default null)

Line 190: -- schema URL the XmlType conforms to (default null)

186: -- Absolute path to the resource
187: -- data
188: -- XMLTYPE containing the resource contents
189: -- schemaurl
190: -- schema URL the XmlType conforms to (default null)
191: -- elem
192: -- element name (default null)
193: -- RETURNS -
194: -- Returns TRUE if resource was successfully inserted or updated

Line 197: data IN SYS.XMLTYPE,

193: -- RETURNS -
194: -- Returns TRUE if resource was successfully inserted or updated
195: ---------------------------------------------
196: FUNCTION CreateResource(abspath IN VARCHAR2,
197: data IN SYS.XMLTYPE,
198: schemaurl IN VARCHAR2 := NULL,
199: elem IN VARCHAR2 := NULL) RETURN BOOLEAN;
200:
201:

Line 203: -- FUNCTION - CreateResource(VARCHAR2, REF SYS.XMLTYPE, BOOLEAN, BOOLEAN)

199: elem IN VARCHAR2 := NULL) RETURN BOOLEAN;
200:
201:
202: ---------------------------------------------
203: -- FUNCTION - CreateResource(VARCHAR2, REF SYS.XMLTYPE, BOOLEAN, BOOLEAN)
204: -- Given a PREF to an existing XMLType row, inserts a new resource
205: -- whose contents point directly at that row. That row should
206: -- not already exist inside another resource.
207: -- PARAMETERS -

Line 204: -- Given a PREF to an existing XMLType row, inserts a new resource

200:
201:
202: ---------------------------------------------
203: -- FUNCTION - CreateResource(VARCHAR2, REF SYS.XMLTYPE, BOOLEAN, BOOLEAN)
204: -- Given a PREF to an existing XMLType row, inserts a new resource
205: -- whose contents point directly at that row. That row should
206: -- not already exist inside another resource.
207: -- PARAMETERS -
208: -- abspath

Line 211: -- REF to the XMLType row containing the resource contents

207: -- PARAMETERS -
208: -- abspath
209: -- Absolute path to the resource
210: -- data
211: -- REF to the XMLType row containing the resource contents
212: -- sticky
213: -- If TRUE creates a sticky REF, otherwise non-sticky.
214: -- Default is TRUE (for backwards compatibility).
215: -- calcSize

Line 222: data IN REF SYS.xmltype,

218: -- RETURNS -
219: -- Returns TRUE if resource was successfully inserted or updated
220: ---------------------------------------------
221: FUNCTION CreateResource(abspath IN VARCHAR2,
222: data IN REF SYS.xmltype,
223: sticky IN BOOLEAN := TRUE,
224: calcSize IN BOOLEAN := FALSE) RETURN BOOLEAN;
225:
226: ---------------------------------------------

Line 368: -- Returns xmltype for acl document

364: -- PARAMETERS -
365: -- abspath
366: -- Absolute path in the Hierarchy of the resource whose acl doc is required
367: -- RETURNS -
368: -- Returns xmltype for acl document
369: ---------------------------------------------
370: FUNCTION getAclDocument(abspath IN VARCHAR2) RETURN sys.xmltype;
371:
372: ---------------------------------------------

Line 370: FUNCTION getAclDocument(abspath IN VARCHAR2) RETURN sys.xmltype;

366: -- Absolute path in the Hierarchy of the resource whose acl doc is required
367: -- RETURNS -
368: -- Returns xmltype for acl document
369: ---------------------------------------------
370: FUNCTION getAclDocument(abspath IN VARCHAR2) RETURN sys.xmltype;
371:
372: ---------------------------------------------
373: -- FUNCTION - getPrivileges
374: -- Gets all system and user privileges granted to the current user

Line 380: -- Returns a XMLType instance of element

376: -- PARAMETERS -
377: -- res_path
378: -- Absolute path in the Hierarchy for XDB resource
379: -- RETURNS -
380: -- Returns a XMLType instance of element
381: -- which contains the list of all (leaf) privileges
382: -- granted on this resource to the current user.
383: -- It includes all granted system and user privileges.
384: -- Example :

Line 398: FUNCTION getPrivileges(res_path IN VARCHAR2) RETURN sys.xmltype;

394: --
395: --
396: --
397: ---------------------------------------------
398: FUNCTION getPrivileges(res_path IN VARCHAR2) RETURN sys.xmltype;
399:
400: ---------------------------------------------
401: -- FUNCTION - changePrivileges
402: -- change access privileges on given XDB resource

Line 407: -- an XMLType instance of the element which specifies

403: -- PARAMETERS -
404: -- res_path
405: -- Absolute path in the Hierarchy for XDB resource
406: -- ace
407: -- an XMLType instance of the element which specifies
408: -- the , the operation and the list of
409: -- privileges.
410: -- If no ACE with the same principal and the same operation
411: -- (grant/deny) already exists in the ACL, the new ACE is added

Line 428: ace IN xmltype)

424: -- RETURNS -
425: -- Returns positive integer if ACL was successfully modified
426: ---------------------------------------------
427: FUNCTION changePrivileges(res_path IN VARCHAR2,
428: ace IN xmltype)
429: RETURN pls_integer;
430:
431: ---------------------------------------------
432: -- FUNCTION - checkPrivileges

Line 439: -- This argument is a XMLType instance of the element.

435: -- res_path
436: -- Absolute path in the Hierarchy for XDB resource
437: -- privs
438: -- Requested set of access privileges
439: -- This argument is a XMLType instance of the element.
440: -- RETURNS -
441: -- Returns positive integer if all requested privileges granted
442: ---------------------------------------------
443: FUNCTION checkPrivileges(res_path IN VARCHAR2,

Line 444: privs IN xmltype)

440: -- RETURNS -
441: -- Returns positive integer if all requested privileges granted
442: ---------------------------------------------
443: FUNCTION checkPrivileges(res_path IN VARCHAR2,
444: privs IN xmltype)
445: RETURN pls_integer;
446:
447:
448: ---------------------------------------------

Line 470: -- This argument is a XMLType instance of the element.

466: -- Resource owner name. The pseudo user "XDBOWNER" is replaced
467: -- by this user during ACL privilege resolution
468: -- privs
469: -- Requested set of access privileges
470: -- This argument is a XMLType instance of the element.
471: -- RETURNS -
472: -- Returns positive integer if all requested privileges granted
473: ---------------------------------------------
474: FUNCTION AclCheckPrivileges(acl_path IN VARCHAR2,

Line 476: privs IN xmltype)

472: -- Returns positive integer if all requested privileges granted
473: ---------------------------------------------
474: FUNCTION AclCheckPrivileges(acl_path IN VARCHAR2,
475: owner IN VARCHAR2,
476: privs IN xmltype)
477: RETURN pls_integer;
478:
479: ---------------------------------------------
480: -- FUNCTION - GetResOID(abspath VARCHAR2)

Line 517: data IN SYS.xmltype);

513: -- RETURNS -
514: -- Nothing
515: -----------------------------------------------------------
516: PROCEDURE appendResourceMetadata(abspath IN VARCHAR2,
517: data IN SYS.xmltype);
518:
519: -----------------------------------------------------------
520: -- PROCEDURE - appendResourceMetadata
521: -- Appends the given piece of metadata identified by a REF

Line 533: data IN REF SYS.xmltype);

529: -- RETURNS -
530: -- Nothing
531: -----------------------------------------------------------
532: PROCEDURE appendResourceMetadata(abspath IN VARCHAR2,
533: data IN REF SYS.xmltype);
534:
535: -----------------------------------------------------------
536: -- PROCEDURE - deleteResourceMetadata
537: -- Deletes metadata from a resource (can only be used for SB metadata)

Line 554: metadata IN REF SYS.XMLTYPE,

550: -- RETURNS -
551: -- Nothing
552: -----------------------------------------------------------
553: PROCEDURE deleteResourceMetadata(abspath IN VARCHAR2,
554: metadata IN REF SYS.XMLTYPE,
555: delete_option IN pls_integer :=
556: DELETE_RES_METADATA_CASCADE);
557:
558: -----------------------------------------------------------

Line 602: oldmetadata IN REF SYS.XMLTYPE,

598: -- RETURNS -
599: -- Nothing
600: -----------------------------------------------------------
601: PROCEDURE updateResourceMetadata(abspath IN VARCHAR2,
602: oldmetadata IN REF SYS.XMLTYPE,
603: newmetadata IN REF SYS.XMLTYPE);
604:
605: -----------------------------------------------------------
606: -- PROCEDURE - updateResourceMetadata

Line 603: newmetadata IN REF SYS.XMLTYPE);

599: -- Nothing
600: -----------------------------------------------------------
601: PROCEDURE updateResourceMetadata(abspath IN VARCHAR2,
602: oldmetadata IN REF SYS.XMLTYPE,
603: newmetadata IN REF SYS.XMLTYPE);
604:
605: -----------------------------------------------------------
606: -- PROCEDURE - updateResourceMetadata
607: -- Updates metadata for a resource (can be used to update SB

Line 621: oldmetadata IN REF SYS.XMLTYPE,

617: -- RETURNS -
618: -- Nothing
619: -----------------------------------------------------------
620: PROCEDURE updateResourceMetadata(abspath IN VARCHAR2,
621: oldmetadata IN REF SYS.XMLTYPE,
622: newmetadata IN XMLTYPE);
623:
624: -----------------------------------------------------------
625: -- PROCEDURE - updateResourceMetadata

Line 622: newmetadata IN XMLTYPE);

618: -- Nothing
619: -----------------------------------------------------------
620: PROCEDURE updateResourceMetadata(abspath IN VARCHAR2,
621: oldmetadata IN REF SYS.XMLTYPE,
622: newmetadata IN XMLTYPE);
623:
624: -----------------------------------------------------------
625: -- PROCEDURE - updateResourceMetadata
626: -- Updates metadata for a resource - can be used for both

Line 642: newmetadata IN XMLTYPE);

638: -----------------------------------------------------------
639: PROCEDURE updateResourceMetadata(abspath IN VARCHAR2,
640: oldns IN VARCHAR2,
641: oldname IN VARCHAR,
642: newmetadata IN XMLTYPE);
643:
644: -----------------------------------------------------------
645: -- PROCEDURE - updateResourceMetadata
646: -- Updates metadata for a resource - can be used for both

Line 662: newmetadata IN REF SYS.XMLTYPE);

658: -----------------------------------------------------------
659: PROCEDURE updateResourceMetadata(abspath IN VARCHAR2,
660: oldns IN VARCHAR2,
661: oldname IN VARCHAR,
662: newmetadata IN REF SYS.XMLTYPE);
663:
664: -----------------------------------------------------------
665: -- PROCEDURE - purgeResourceMetadata
666: -- Deletes all user metadata from a resource

Line 852: -- FUNCTION - getContentXMLType

848: locksrc IN BOOLEAN := FALSE
849: ) return BLOB;
850:
851: ---------------------------------------------
852: -- FUNCTION - getContentXMLType
853: -- Returns the contents of the resource as an XMLType.
854: -- PARAMETERS -
855: -- abspath - Absolute path of the resource.
856: -- RETURNS -

Line 853: -- Returns the contents of the resource as an XMLType.

849: ) return BLOB;
850:
851: ---------------------------------------------
852: -- FUNCTION - getContentXMLType
853: -- Returns the contents of the resource as an XMLType.
854: -- PARAMETERS -
855: -- abspath - Absolute path of the resource.
856: -- RETURNS -
857: -- The contents as XMLType.

Line 857: -- The contents as XMLType.

853: -- Returns the contents of the resource as an XMLType.
854: -- PARAMETERS -
855: -- abspath - Absolute path of the resource.
856: -- RETURNS -
857: -- The contents as XMLType.
858: ---------------------------------------------
859: FUNCTION getContentXMLType (
860: abspath IN VARCHAR2
861: ) return SYS.XMLType;

Line 859: FUNCTION getContentXMLType (

855: -- abspath - Absolute path of the resource.
856: -- RETURNS -
857: -- The contents as XMLType.
858: ---------------------------------------------
859: FUNCTION getContentXMLType (
860: abspath IN VARCHAR2
861: ) return SYS.XMLType;
862:
863: ---------------------------------------------

Line 861: ) return SYS.XMLType;

857: -- The contents as XMLType.
858: ---------------------------------------------
859: FUNCTION getContentXMLType (
860: abspath IN VARCHAR2
861: ) return SYS.XMLType;
862:
863: ---------------------------------------------
864: -- FUNCTION - getContentVarchar2
865: -- Returns the contents of the resource as an Varchar2.

Line 877: -- Returns the contents of the resource as a ref to an xmltype.

873: ) return VARCHAR2;
874:
875: ---------------------------------------------
876: -- FUNCTION - getContentXMLRef
877: -- Returns the contents of the resource as a ref to an xmltype.
878: -- PARAMETERS -
879: -- abspath - Absolute path of the resource.
880: -- RETURNS -
881: -- The contents as a ref to an xmltype if the resource is ref

Line 881: -- The contents as a ref to an xmltype if the resource is ref

877: -- Returns the contents of the resource as a ref to an xmltype.
878: -- PARAMETERS -
879: -- abspath - Absolute path of the resource.
880: -- RETURNS -
881: -- The contents as a ref to an xmltype if the resource is ref
882: -- based, else null.
883: ---------------------------------------------
884: FUNCTION getContentXMLRef (
885: abspath IN VARCHAR2

Line 886: ) return ref SYS.XMLType;

882: -- based, else null.
883: ---------------------------------------------
884: FUNCTION getContentXMLRef (
885: abspath IN VARCHAR2
886: ) return ref SYS.XMLType;
887:
888:
889: ---------------------------------------------
890: