PDFDocMerger API Deprecated mergePDFDocs Method

All,
We are trying to use the supplied PDFDocMerger API and running into some issues. When I look at the documentation it states that the mergePDFDocs method is deprecated; I do not see a replacement method. Is the documentation lacking updates and there is a new method to use or does the API simply not work anymore? I would really appreciate any insight into this issue as I need to merge PDFs and don't want to go outside the supplied API's.
Thanks in Advance,
Josh

Ok, just looked over the documentation one more time and realized process() replaces it.
Edited by: user11201963 on Aug 7, 2009 9:25 AM

Similar Messages

  • Declare deprecated a method

    Hello,
    I need to declare deprecated a method into my classes and simply I don't know how. I've tried to use a javadoc comment @deprecated but after I compile I don't receive the message that this method is deprecated.
    Thanx

    Check "What happens when an API is Deprecated"
    http://java.sun.com/products/jdk/1.1/docs/guide/misc/deprecation/deprecation.html
    and read the note, that says if you compile the class with the deprecated method along with classes that uses this method, then you won't get a warning. :)

  • Deprecated API on a method.

    I am getting a deprecated API warning when using the JTextField.getText() method. How do I find what method I should use instead? Is there a list somewhere with the replacements? Does someone know what to use instead of that method?

    Yeah sorry guys I was using both a JTextField and a JPasswordField and I see now that you should use the method getPassword() for that. Sorry to bother everyone!!!

  • R12 API for Payment Method Update at supplier site

    Hi
    I am using api AP_VENDOR_PUB_PKG.Update_Vendor_Site to update the Payment Method at Supplier Site level. The below code executes with no error but dont update the payment method. The requirement is to update the payment method to SEPA
    Code :
    DECLARE
    v_error_reason VARCHAR2 (2000) := NULL;
    v_msg_data VARCHAR2 (1000) := NULL;
    v_msg_count NUMBER := NULL;
    v_return_status VARCHAR2 (100) := NULL;
    v_vensite_rec_type      AP_VENDOR_PUB_PKG.r_vendor_site_rec_type;
    ext_payee_rec           IBY_DISBURSEMENT_SETUP_PUB.EXTERNAL_PAYEE_REC_TYPE;
    BEGIN
    DBMS_OUTPUT.put_line ('BEFORE apps initialization');
    --Fnd_Global.apps_initialize(-1,20639,200);
    fnd_global.apps_initialize(730908,141200,401);
    --DBMS_OUTPUT.put_line ('AFTER apps initialization');
    v_error_reason := NULL;
    v_return_status := NULL;
    v_msg_count := NULL;
    v_msg_data := NULL;
    --ext_payee_rec.default_pmt_method := 'SEPA';
    v_vensite_rec_type.org_id := 2796;
    v_vensite_rec_type.vendor_site_code := '0653-01NEUSS';
    v_vensite_rec_type.ext_payee_rec.default_pmt_method := 'SEPA';
    --v_vensite_rec_type.ext_payee_rec.default_pmt_method:= 'CHECK';
    DBMS_OUTPUT.put_line ('BEFORE remittance API');
    AP_VENDOR_PUB_PKG.Update_Vendor_Site
    ( p_api_version => 1.0,
    p_init_msg_list => FND_API.G_FALSE,
    p_commit => FND_API.G_FALSE,
    p_validation_level => FND_API.G_VALID_LEVEL_FULL,
    x_return_status =>v_return_status ,
    x_msg_count => v_msg_count,
    x_msg_data => v_msg_data,
    p_vendor_site_rec =>v_vensite_rec_type,
    p_vendor_site_id => '393130'
    commit;
    DBMS_OUTPUT.put_line ('AFTER pymt mtd API');
    DBMS_OUTPUT.put_line (v_return_status);
    DBMS_OUTPUT.put_line (v_msg_count);
    DBMS_OUTPUT.put_line (v_msg_data);
    IF v_return_status = fnd_api.g_ret_sts_success THEN
         IF v_msg_count >= 1 THEN
    FOR i IN 1 .. v_msg_count
    LOOP
    IF v_error_reason IS NULL THEN
    v_error_reason := SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false), 1, 255);
    ELSE
    v_error_reason := v_error_reason|| ' ,'|| SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false), 1, 255);
    END IF;
    DBMS_OUTPUT.put_line ('VENDOR_remittance email UPDATE API ERROR-' || v_error_reason);
    END LOOP;
    END IF;
    ROLLBACK;
    ELSE
    DBMS_OUTPUT.put_line ('The updateion is sucessful');
    COMMIT;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.put_line (SQLERRM || '-' || SQLCODE);
    END;
    the fnd_api.g_ret_sts_success returns value as 'U' . Means it did not completed successfully
    Do I need to user following API ?
    IBY_DISBURSEMENT_SETUP_PUB.Update_External_Payee instead of above API?
    Thanks for help
    Best Regards
    Nikhilesh
    Edited by: user10238025 on Apr 26, 2013 5:38 AM

    Hi Irfan,
    thanks for reply.
    we are on application version 12.1.1 .
    But i have one doubt here, if we update directly ap_supplier_sites_all table, it won't impact on TCA tables know?
    Thanks.
    Edited by: user627525 on Jul 27, 2010 12:16 AM

  • Deprecated Thread Methods

    My organization has recently come from the Microsoft world into the J2EE world. In .Net, Microsoft has an abort method on threads that is similar to the Java's stop method. Unfortunately, the stop method has been deprecated.
    While I have read the information on why this method is dangerous, I don't understand why the method has been removed. If I have a situation that warrants killing a thread (such as in the case of an application server that hosts other threads of execution), why remove it from the platform? While I agree with Sun's article on seeking out alternative methods, there are still exceptions where a thread just needs to be interrupted so that it can get out of a deadlock, endless loop or blocking I/O.
    Since the stop method is deprecated, is there an equivalent VM call that I can interface from native code?
    I must say that I feel a bit like I'm being mothered by Sun.

    From your comments, you make a strong argument that suggests there's no need for a VM-level stop function.
    This puzzles me because operating systems implement kill methods to terminate rogue processes, yet they remain efficient and manage to keep things clean. Granted, multiple processes don't generally share memory structures but certainly the OS, on their behalf, shares memory structures. I'm puzzled as to why similar desires/features aren't present in the JRE.
    Regardless, short of running multiple JRE instances, each managing just one piece of work, the current deprecated status of the stop method renders Java without the ability to stop something that's gone wild unless the application is specifically pre-programmed to anticipate this behavior. (Of course that's a bit of a catch 22 in and of itself but...)
    There is also a subscription to the notion that my company or company x can write perfect software that never hangs a Java-based application server. I feel that this is impractical -- especially when what businesses ask of IT continues to get more complex.
    At this point perhaps it's fair to reveal the underlying reasons for my up-to-now, hypothetical questions. In my situation, company x is actually Sun. They failed to expose a socket timeout on their implementation of HTTPUrlConnection. I suppose that pretty much removes the luster from the argument that I, or anyone else, can write perfect software when the inventors of Java are themselves, imperfect. Of course, like you said and the JDK documents, the stop method will not abort a blocking socket read anyway (...although there's no reason why it couldn't except for more flawed design decisions...)
    I've certainly investigated alternative packages but I'm just chasing a moving target. HTTPUrlConnection today, class x tomorrow. That's why I was wanting something at the framework level to provide a trap door so that recovery without terminating the JRE is possible.

  • MDM ABAP API exception using method invoke_matching

    Hi,
    I am using below calss in MDM ABAP API. If i can use small records
    source (1000) target (1000) it is working fine. If  i can use source (1000)
    Target ( 40, 000) i am getting exception ( kernal exception ).
    Please could you advise do i have to set any parameter.
    CALL METHOD lr_api->mo_core_service->invoke_matching
    EXPORTING
    iv_object_type_code = 'MDM_BUSINESS_PARTNERS'
    iv_strategy_id = ls_matching_strategy-strategy_id
    is_matching_filter = ls_matching_filter
    iv_wait_for_invocation = 'X'
    IMPORTING
    ev_matching_task_id = lv_matching_task_id
    ev_matched_record_count = lv_matched_record_count.
    Thanks,
    Anil

    Thank you Andreas its working fine. I am getting new issue
    if i can filter result vs result or result vs selected or sleeted vs result.
    I am passing the values in is_matching_filter.
    matching_scope = 1 or 2.
    selected_records = ( query record ids)
    query_records = ( i am not passing anything).
    1. If i can select source and target values same 2. Filter 2 vs 2
    its working fine. Remaining scenarios its not working. Please
    help me.
    CALL METHOD lr_api->mo_core_service->invoke_matching
    EXPORTING
    iv_object_type_code = 'MDM_BUSINESS_PARTNERS'
    iv_strategy_id = ls_matching_strategy-strategy_id
    is_matching_filter = ls_matching_filter
    iv_wait_for_invocation = 'X'
    IMPORTING
    ev_matching_task_id = lv_matching_task_id
    ev_matched_record_count = lv_matched_record_count.
    Thanks,
    Anil

  • I need a solution for the deprecated readLine() method .

    import java.io.*;
    import java.net.*;
    class UC {
    public static void main(String args[]) throws Exception
    DataInputStream inFromUser = new DataInputStream(System.in);
    DatagramSocket clientSocket = new DatagramSocket();
    InetAddress IPAddress = InetAddress.getByName("hostname");
    byte[] sendData = new byte[1024];
    byte[] receiveData = new byte[1024];
    while(true)
    String[] sentence = inFromUser.readLine(); /* It says the readLine() method is deprecated. what is the solution for this? */
              sentence.getSubstringBytes(sentence,0, sentence.length(), sendData, 0);
    //sentence.getBytes(0, sentence.length(), sendData, 0);
    DatagramPacket sendPacket = new DatagramPacket(sendData, sendData.length, IPAddress, 9876);
    clientSocket.send(sendPacket);
    DatagramPacket receivePacket
    = new DatagramPacket(receiveData, receiveData.length);
    clientSocket.receive(receivePacket);
    String modifiedSentence =
    new String(receivePacket.getData());
    System.out.println("FROM SERVER:" + modifiedSentence);
         public void getSubstringBytes(String sentence,int space,int Size,byte[] sendData,int space)
                   byte[] bytes=sentence.getBytes();
                   System.arraycopy(bytes,0,sendData,0,sentence.length()-0);
    }

    Sorry, It should be the BufferedReader , not BufferedInputStream.

  • API Help -- Extract method results in Catstrophic failure!

    Hi all,
    We're trying to implement the HFM api to pull data out into a CSV. When we run HsvData.Extract, the call returns an exception:
    Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
    I'm not sure what this means and I can't find any help on the 'net. Our extract call looks like:
    hsvLoad.Extract(dataFilePath, logFilePath, settings);
    settings is an object array that looks like this before we call Extract:
    settings {object[20]}
    [0] 2
    [1] ";"
    [2] "LogFile.log"
    [3] false
    [4] false
    [5] false
    [6] 1
    [7] 2009
    [8] int[12] //selected periods, 67108864 - 67108875 (Jan - Dec)
    [9] int[2] // selected entities, 0 and 1
    [10] int[1] //selected parents, 0
    [11] int[4] //selected accounts 0 - 3
    [12] int[0]
    [13] int[0]
    [14] int[0]
    [15] int[0]
    [16] int[0]
    [17] int[0]
    [18] false
    [19] false
    items 12 - 19 are default, we don't change them. The data file is empty and the log file says "0 records extracted". If I try to Extract from the UI selecting the same items (accounts, years, application, etc), I get the full results.
    Can anyone tell me what the Catastrophic failure means? Are some of our settings mapped wrong? I can post additional code if that helps.
    Thanks,
    Shawn

    Here's the method that just doesn't return data:
    public bool TryExportDataFromHFM(string dataFilePath,string logFilePath, string scenLabel,int year, out string error)
    bool retval = false;
    error = string.Empty;
    HSVCDATALOADLib.HsvcDataLoad oHsvcDataLoad = null;
    HSVCDATALOADLib.IHsvLoadExtractOptions oHsvcDataLoadExtOptions = null;
    HSVCDATALOADLib.IHsvLoadExtractOption oExtractOption = null;
    try
    if (string.IsNullOrEmpty(scenLabel))
    error = NO_SCENARIOS_SPECIFIED_MSG;
    return false;
    if (year < 0)
    error = NO_YEARS_SPECIFIED_MSG;
    return false;
    int currScenMemberId;
    if (!TryGetMemberIdFromLabel((short)HFMCONSTANTSLib.tagHFMDIMENSIONS.DIMENSIONSCENARIO, scenLabel, out currScenMemberId, out error))
    error = string.Format("Failed to find member Id for Scenario: {0}", scenLabel);
    return false;
    int currYearMemberId;
    if (!TryGetMemberIdFromLabel((short)HFMCONSTANTSLib.tagHFMDIMENSIONS.DIMENSIONYEAR, year.ToString(), out currYearMemberId, out error))
    error = string.Format("Failed to find member Id for Year: {0}", year.ToString());
    return false;
    oHsvcDataLoad = new HSVCDATALOADLib.HsvcDataLoad();
    //set session
    oHsvcDataLoad.SetSession(_oHsvSession);
    //get extract options
    oHsvcDataLoadExtOptions = oHsvcDataLoad.ExtractOptions;
    //get extract option for scenario
    oExtractOption = oHsvcDataLoadExtOptions.get_Item(
    HSVCDATALOADLib.HSV_DATAEXTRACT_OPTION.HSV_DATAEXTRACT_OPT_SCENARIO_SUBSET);
    //set scenarion member id
    oExtractOption.CurrentValue = currScenMemberId;
    //get extract option for year
    oExtractOption = oHsvcDataLoadExtOptions.get_Item(
    HSVCDATALOADLib.HSV_DATAEXTRACT_OPTION.HSV_DATAEXTRACT_OPT_YEAR_SUBSET);
    oExtractOption.CurrentValue = currYearMemberId;
    //get extract option for periods
    oExtractOption = oHsvcDataLoadExtOptions.get_Item(
    HSVCDATALOADLib.HSV_DATAEXTRACT_OPTION.HSV_DATAEXTRACT_OPT_PERIOD_SUBSET);
    //COMMENTED OUT FOR TEST:
    Dictionary<string, int> dictPerMemIds;
    if (!TryGetAllPeriodLabelsMemberIds(out dictPerMemIds, out error))
    error = string.Format("Failed to get member Ids for periods. Error:{0}", error);
    return false;
    //set currentValue with array of perion member ids
    //int[] perArr = new int[] { dictPerMemIds["May"] };
    //oExtractOption.CurrentValue = perArr; // periodMemberIds.ToArray();
    //NEW TEST CODE
    List<int> periods = new List<int>();
    foreach (string key in dictPerMemIds.Keys)
    if (key.Equals("[Year]") || key.StartsWith("Quarter"))
    continue;
    else
    periods.Add(dictPerMemIds[key]);
    oExtractOption.CurrentValue = periods.ToArray();
    //get extract option for accounts
    oExtractOption = oHsvcDataLoadExtOptions.get_Item(
    HSVCDATALOADLib.HSV_DATAEXTRACT_OPTION.HSV_DATAEXTRACT_OPT_ACCOUNT_SUBSET);
    Dictionary<string, int> dictAccntLabelMemberIds;
    if (!TryGetAllAccountLabelsMemberIds(out dictAccntLabelMemberIds,out error))
    error = string.Format("Failed to get member Ids for accounts. Error: {0}", error);
    return false;
    //int[] acctArr = new int[] { dictAccntLabelMemberIds["SalesRevenue"] };
    //oExtractOption.CurrentValue = acctArr; // dictAccntLabelMemberIds.Values.ToArray();
    oExtractOption.CurrentValue = dictAccntLabelMemberIds.Values.ToArray();
    //Sets the entity children
    oExtractOption = oHsvcDataLoadExtOptions.get_Item(
    HSVCDATALOADLib.HSV_DATAEXTRACT_OPTION.HSV_DATAEXTRACT_OPT_ENTITY_SUBSET);
    Dictionary<string, int> dictEntLblMemId;
    if (!TryGetAllEntityLabelsMemberIds(out dictEntLblMemId,out error))
    error = string.Format("Failed to get member Ids for entities. Error: {0}", error);
    return false;
    //int[] entArr = new int[] { dictEntLblMemId["Corporate"] };
    //oExtractOption.CurrentValue = entArr; // dictEntLblMemId.Values.ToArray();
    oExtractOption.CurrentValue = dictEntLblMemId.Values.ToArray();
    oExtractOption = oHsvcDataLoadExtOptions.get_Item(
    HSVCDATALOADLib.HSV_DATAEXTRACT_OPTION. HSV_DATAEXTRACT_OPT_VIEW);
    oExtractOption.CurrentValue = HSVCDATALOADLib.HSV_DATA_VIEW.HSV_DATA_VIEW_YTD; //HSV_DATA_VIEW_PERIODIC; // HSV_DATA_VIEW_SCENARIO;
    oExtractOption = oHsvcDataLoadExtOptions.get_Item(
    HSVCDATALOADLib.HSV_DATAEXTRACT_OPTION.HSV_DATAEXTRACT_OPT_EXTRACT_CALC);
    oExtractOption.CurrentValue = true;
    //Sets the delimiter
    oExtractOption = oHsvcDataLoadExtOptions.get_Item(HSVCDATALOADLib.HSV_DATAEXTRACT_OPTION.HSV_DATAEXTRACT_OPT_DELIMITER_CHAR);
    oExtractOption.CurrentValue = ";";
    oHsvcDataLoad.Extract(dataFilePath, logFilePath);
    retval = true;
    catch (Exception ex)
    error = string.Format("Failed to export data to file from HFM. Error: {0}", ex.Message);
    retval = false;
    finally
    ReleaseCOMObject(oHsvcDataLoad);
    ReleaseCOMObject(oHsvcDataLoadExtOptions);
    ReleaseCOMObject(oExtractOption);
    return retval;
    Thanks for the help

  • BW IP: API's comparably methods in IP

    Hello together,
    in BPS is the function group UPC_API. With these functions, read and written plan data can be planning-variable read and set.
    API_SEMBPS_ADHOCPACKAGE_SET
    API_SEMBPS_AREA_GETDETAIL
    API_SEMBPS_CHA_VALUES_GET
    API_SEMBPS_CHA_VALUES_UPDATE
    API_SEMBPS_FUNCTION_EXECUTE
    API_SEMBPS_GETDATA
    API_SEMBPS_GLSEQUENCE_EXECUTE
    API_SEMBPS_HIERARCHY_GET
    API_SEMBPS_LAYOUT_GETDETAIL
    API_SEMBPS_PACKAGE_GETDETAIL
    API_SEMBPS_PLANSTRUCTURE_GET
    API_SEMBPS_PLEVEL_GETDETAIL
    API_SEMBPS_POST API_SEMBPS_REFRESH
    API_SEMBPS_SEQUENCE_EXECUTE
    API_SEMBPS_SETDATA
    API_SEMBPS_VARIABLE_GETDETAIL
    API_SEMBPS_VARIABLE_SET
    Question:
    Is there in the integrated planning comparably methods and can someone send me examples?
    Many greetings
    Christian

    Dear Gregor,
    this is an interesting question which I am confronted with myself.  U indicated that there is not much need for these API's, but how do you retrieve the value of a variable within the logic of an exit function (implemented in rsplf1) in IP?
    I cannot see that the normal BEx exit variable logic (I_STEP = 2 in include ZXRSRU01) would be applicable.
    This used to be possible with API_SEMBPS_CHA_VALUES_GET.
    Greetings,
    Martin

  • Apt and its API deprecated as of JDK 7 build 68

    Here ye, here he, apt users!
    As of JDK 7 build 68, apt and its API are deprecated and both are planned for removal in the next major JDK release following JDK 7.
    As the lead engineer for both apt and the standardized annotation processing in JSR 269, the JSR 269 API and tool experience with javac should be uniformly better than apt; the newer API is easier to use, more flexible, and should run faster as well. I unconditionally recommend transitioning to the JSR 269 API and javac for all your annotation processing needs.
    More information on transitioning from apt to javac can be found in this blog entry:
    http://blogs.sun.com/darcy/entry/an_apt_replacement

    Great to see that you posted the information here.

  • API deprecated

    Hi All,
    I am doing a webdynpro application to create a report for uploading documents from KM. When i run the application, it is showing me a warning
    1. com.sapportals.portal.security.usermanagement.IUserFactory is deprecated.
    2. EP5User(Iuser) is deprecated
    3. IUserFactory is deprecated
    Can anyone tell me, Then what api should i replace here for this deprecated api?
    Regards,
    Divya

    Try this instead:
    com.sapportals.portal.security.usermanagement.IUser iuser = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
    Hope this helped.

  • Reflection API on Invoking methods having primitive values

    Hi,
    I want to invoke a method say
    public void setAge(int age){
    this.age = age;
    I am not able to invoke the method, since the Method.invoke() takes object[] as parameters and int is a primitive data type.
    If you could please guide about how to invoke the same.
    Thanks and Regards,
    Sapan..

    You just pass it an Integer instead - it figures things out from there.
    Ditto it the method returns a primitive, you get the equivalent holder.
    Sylvia.

  • Deprecated method in Environment class

    Weblogic recommends the following method calls to open a secure connection to a
    server, however the setSSLClientCertificateFromServer method has been removed
    since 4.5. What is the replacement, and if there is none, what is the work around?
    thanks,
    Bob
    Environment e = new Environment();
    e.setProviderUrl("t3s://server2.weblogic.com:443");
    e.setSSLClientCertificateFromServer();
    e.setSSLServerName("server2.weblogic.com");
    e.setSSLRootCAFingerprints("ac45e2d1ce492252acc27ee5c345ef26");
    e.setInitialContextFactory("weblogic.jndi.WLInitialContextFactory");
    Context ctx = new InitialContext(e.getProperties())

    Did you try whacking your subject into google? You should. The thrid result was:
    http://java.sun.com/j2se/1.5.0/docs/api/deprecated-list.html

  • Deprecated methods

    The following method has been deprecated. Does anyone know what it is replaced with? Also, is there a list of what has been deprecated and what the replacement method is and how to implement the replacement method?
    •     Warning(1886,24): setSelectedItemToStringConverter(oracle.bali.inspector.editor.ToStringConverter) in oracle.bali.inspector.PropertyEditorFactory2 has been deprecated
    Thanks

    Hi,
    such documentation should be part of the JavaDoc unless the developer deprecating the method forgot to mention it. There is no other documentation than that to provide the information. The JavaDocs say:
    * @deprecated use {@link #setEditorComponentInfo(EditorComponentInfo)} instead.
    So its in the same class
    Frank
    ps.: Hope you know what you do because I am not sure bali classes are open for public consumption

  • How to Diasble JLabel since enable(false) method is deprecated in jdk1.4

    Hi friends
    i am using jdk1.4 in which enable method is deprecated.
    i am disabling my jlabel using jlabel.enable(false); method
    however this is deprecated.
    what method should i then use
    please do help

    You just try with the .setEnabled(false); This will
    help to solve your problem.Hey Thanks Mr. Sumode , its working with .setEnabled(false);

Maybe you are looking for

  • 24" iMac for Good for Pro Use?

    Hi, I am considering getting a 24" iMac. I would like to get a Mac Pro with a pro display but my budget does not stretch that far. I have no worries about the speed of the Duo 2 Core 2.4Ghz, my concern is about the DISPLAY. I am going to be working i

  • Session State Replication of Referenced Objects

    Here is question on Clustering and Session state replication:           Scenario:           Consider two Session Objects A and B.           Object A has-a reference to object B.           So whatever changes done to Object B is reflected in Object A.

  • I had iTunes installed on an harddrive that failed.

    had iTunes installed on an hard drive that failed. Now I can not re-install iTunes.  It keeps telling me the J drive is inaccessible. Yes - that is the problem, that drive is gone.  Why won't it install on the C:drive where the rest of the Apple upda

  • Adobe Flash (newest download) will not open facebook messages.

    I am using the newest version of Adobe Flash on Windows 7 with Internet Explorer 10. When I try to open my messages on facebook all I receive is a blank screen. If I remove Adobe Flash from my computer I can view my messages. Is there a fix for this,

  • HT204380 My iphone 4 will not activate face time or messages why

    I have been trying for 2 days to activate facetime and messages....yes i turned both off and tried and still is waiting to activate? Help