DBA Data[Home] [Help]

APPS.BISM_CORE dependencies on BISM_UTILS

Line 1270: newguid := bism_utils.get_guid;

1266:
1267: -- note : srcfid is the id of the folder that needs to be copied to target location
1268: -- copy the top level folder first
1269: -- we allow user to specify name for the top folder being copied
1270: newguid := bism_utils.get_guid;
1271: if first_level = true then
1272: insert into BISM_OBJECTS
1273: (USER_VISIBLE, OBJECT_TYPE_ID, VERSION, TIME_DATE_CREATED,TIME_DATE_MODIFIED,OBJECT_ID,CONTAINER_ID,FOLDER_ID,CREATED_BY,LAST_MODIFIED_BY,
1274: OBJECT_NAME, TITLE, APPLICATION, DATABASE, DESCRIPTION,KEYWORDS, XML, APPLICATION_SUBTYPE1, COMP_SUBTYPE1, COMP_SUBTYPE2,COMP_SUBTYPE3,

Line 1487: newguid := bism_utils.get_guid;

1483: -- NOTE that privilege of the copied object will inherit from the new parent folder
1484: -- so here we don't need to do anything special (taken care of by the trigger) - ccchow
1485:
1486: -- Copy the top level object first
1487: newguid := bism_utils.get_guid;
1488: -- the new instance gets new time stamps (time_date_created and time_date_modified) as per NT
1489: select USER_VISIBLE, OBJECT_TYPE_ID, VERSION, TITLE, APPLICATION, DATABASE, DESCRIPTION,KEYWORDS, XML, APPLICATION_SUBTYPE1, COMP_SUBTYPE1, COMP_SUBTYPE2,COMP_SUBTYPE3,EXTENSIBLE_ATTRIBUTES
1490: into uv, oti, ver, ttl, app, db, dsc, kwds, xml, as1, cs1, cs2, cs3, ext
1491: from bism_objects

Line 1539: newguid := bism_utils.get_guid;

1535: insert into bism_aggregates (CONTAINER_ID, CONTAINEE_ID, AGGREGATE_INFO) values (newparentid,i.containee_id,i.aggregate_info);
1536: elsif copytype = 1 then
1537: -- user wants deep copy, so clone the named object as well and make it
1538: -- anonymous, give it a system generated name
1539: newguid := bism_utils.get_guid;
1540: anon_obj_name := 'SYS-'||newguid;
1541: -- the new instance gets new time stamps (time_date_created and time_date_modified) as per NT
1542: insert into bism_objects
1543: (USER_VISIBLE, OBJECT_TYPE_ID, VERSION, TIME_DATE_CREATED,TIME_DATE_MODIFIED,OBJECT_ID,CONTAINER_ID,FOLDER_ID,CREATED_BY,

Line 1553: newguid := bism_utils.get_guid;

1549: insert into bism_aggregates (CONTAINER_ID, CONTAINEE_ID, AGGREGATE_INFO) values (newparentid,newguid,i.aggregate_info);
1550: copy_next_level(i.containee_id,newguid,tgtfid,myid,dummycounter,copytype);
1551: end if;
1552: elsif user_visible_var = 'N' then
1553: newguid := bism_utils.get_guid;
1554: anon_obj_name := 'SYS-'||newguid;
1555: if length(anon_obj_name) <= 64 then
1556: -- try to generate a new object name but there is no reason we cant use
1557: -- old anonymous name

Line 2157: COMP_SUBTYPE2, COMP_SUBTYPE3, TIME_DATE_LAST_ACCESSED) values ('Y',0100,p_version,timeC,timeM,bism_utils.get_guid,null,

2153:
2154: insert into BISM_OBJECTS
2155: (USER_VISIBLE, OBJECT_TYPE_ID,VERSION, TIME_DATE_CREATED, TIME_DATE_MODIFIED, OBJECT_ID, CONTAINER_ID, FOLDER_ID, CREATED_BY,
2156: LAST_MODIFIED_BY, OBJECT_NAME, TITLE, APPLICATION, DATABASE, DESCRIPTION, KEYWORDS, XML, APPLICATION_SUBTYPE1, COMP_SUBTYPE1,
2157: COMP_SUBTYPE2, COMP_SUBTYPE3, TIME_DATE_LAST_ACCESSED) values ('Y',0100,p_version,timeC,timeM,bism_utils.get_guid,null,
2158: p_fid,created_subid,modified_subid,p_object_name,p_title,p_application,p_database,p_desc,p_keywords,null,p_appsubtype1,
2159: p_compsubtype1,p_compsubtype2,p_compsubtype3, timeC) returning object_id into oid;
2160: else
2161: raise_application_error(-20104,'Unexpected return value');

Line 2223: oid := bism_utils.get_guid;

2219: -- if caller provides id for this folderr, use it
2220: IF p_oid is not null then
2221: oid := p_oid;
2222: ELSE
2223: oid := bism_utils.get_guid;
2224: END IF;
2225:
2226: if ret = 'y' then
2227: if tempTimeC is not null then

Line 2608: newguid := bism_utils.get_guid;

2604: acllist(i).subjid := sid;
2605: exception
2606: when no_data_found then
2607: --generate a new id for the new user
2608: newguid := bism_utils.get_guid;
2609: -- dont throw exception, instead return the acl object of the new user to
2610: -- the caller so that the JdbcAdapter can cache the name to Id mapping
2611: newusers.extend();
2612: newusers(newusers.count) := bism_acl_obj(acllist(i).subjname,acllist(i).privilege, newguid);

Line 2733: newguid := bism_utils.get_guid;

2729: select subject_id into sid from bism_subjects where subject_name = usrnm;
2730: exception
2731: when no_data_found then
2732: --generate a new id for the new user
2733: newguid := bism_utils.get_guid;
2734: insert into bism_subjects (SUBJECT_ID, SUBJECT_NAME, SUBJECT_TYPE) values (newguid,usrnm,usrtype);
2735: insert into bism_groups (USER_ID, GROUP_ID) values(newguid,newguid);
2736: sid := newguid;
2737: end;

Line 3047: newguid := bism_utils.get_guid;

3043: acllist(i).subjid := sid;
3044: exception
3045: when no_data_found then
3046: --generate a new id for the new user
3047: newguid := bism_utils.get_guid;
3048: -- dont throw exception, instead return the acl object of the new user to
3049: -- the caller so that the JdbcAdapter can cache the name to Id mapping
3050: newusers.extend();
3051: newusers(newusers.count) := bism_acl_obj(acllist(i).subjname,acllist(i).privilege, newguid);

Line 3170: newguid := bism_utils.get_guid;

3166: select subject_id into sid from bism_subjects where subject_name = usrnm;
3167: exception
3168: when no_data_found then
3169: --generate a new id for the new user
3170: newguid := bism_utils.get_guid;
3171: -- dont throw exception, instead return the acl object of the new user to
3172: -- the caller so that the JdbcAdapter can cache the name to Id mapping
3173: insert into bism_subjects (SUBJECT_ID, SUBJECT_NAME, SUBJECT_TYPE) values (newguid,usrnm,usrtype);
3174: insert into bism_groups (USER_ID, GROUP_ID) values(newguid,newguid);