How to Find whether a radiobutton is in button group or not.

I have 6 radiobuttons.
3 are added in buttongroup and rest not.
I want to find whether the clicked button is added in the buttongroup or not.
Can any one help me in finding the solution.
Thanks in advance.

Hi,
AbstractButton has a method getModel that returns a ButtonModel.
If the ButtonModel is of type DefaultButtonModel you can get the ButtonGroup by invoking getGroup. The API does not state what is returned when the button does not belong to a group, but I assume it will return null.
Hope this helps
Piet

Similar Messages

  • How to find whether the Oracle Apps Instance is ShredAppltop or not

    How shhould we find whether 11i/R12 is shared appltop/shared appstier enabled?
    Is there any table to find this info.
    How many ways we can find this?

    Hi,
    Please see this thread.
    In R12 shared appltop/distributed appltop
    In R12 shared appltop/distributed appltop
    Thanks,
    Hussein

  • How to Find whether  JRE is installed in a system or not ?

    I have to write an application in which I want my app to find whether jre is installed or not ?
    Can any one help in this ? My E-Mail ID is
    [email protected]
    Kumanan.

    For windows OS this is the solution.
    Find out the following key in the registry.
    HKEY_LOCALMACHINE/Software/javaSoft/Java Runtime Environment
    if the key to javasoft is there then JRE is installed and to see the version of JRE look a level down further and you will find the versions.

  • How to find whether Oracle is installed on any server or not.

    Hi,
    I am trying to use the following command to check if Oracle is installed on any Unix server or not. I am not sure whether it is right way or not. If not, is there any other way to find installation of Oracle or not?
    find . -name oraInst.loc >>/tmp/`uname -n`-swinv.txt
    Thanks
    Vipin Gupta

    Every installation of Oracle RDBMS in *nix will contain a bin directory in which you find the oracle executable which must be setuid to the 'oracle' owner.
    The inventory doesn't need to exist.
    The oraInst.log doesn;t need to exist
    The above are created when the Oracle Universal Installer has been used.
    The oratab doesn't need to exist.
    The above exists when the dbca has been used or the DBA was smart enough to plan for oraenv.
    However, every Oracle database needs the oracle executable, named oracle, in the ORACLE_HOME/bin directory, and that must be owned by a userid in the 'OS_DBA' group - usually dba. So
    find / -name oracle
    to find that, and then check whether it is in a ?/bin directory, and finally verify that it is setuid to the owner and setgid to the group.
    Of course that is the tip of the oracle iceberg - Oracle has a whale of a lot more products and the question to find whether 'Oracle' is installed might include Oracle App Server (look for opmnctl in ?/opmn/bin for the full install of Oracle App Server, or ?/bin/oc4j for just the J2EE engine) or Oracle JDeveloper (look for ?/bin/jdev) and so on.
    In Windows, append .exe to the search target.

  • How to find whether an Invoice is been posted for a particular PO

    Hi,
    How to find whether an Invoice is been posted for a particular PO.
    I have a scenario where I fetch data into an internal table T_CDHDR(It has PO and other details). For each and every entry(PO) in that internal table I have to see whether an Invoice is been posted or not. They told to use <b>EKBE(Purchasing document history)</b> table. But, I don't know which field to check for and based on what conditions.
    Can someone help me with sample code or some valuable inputs.
    Thanks in advance.
    Regards,
    Paddu.

    HI,
    TABLE IS RIGHT.
    IN THAT TABLE FOR THE FIELD BEWTP CHECK WHETHER ENTRY IS "Q".
    Q STANDS FOR IR-L THAT MEANS INVOICE IS DONE.
    ON THE SELECTION SCREEN OF EKBE TABLE ENTER THE PO NUMBER.
    THEN CHECK WHETHER IT HAS ENTRY FOR BEWTP 'Q'.
    YOU CAN CROSS-CHECK THIS DATA FROM TABLE WITH THAT IN ACTUAL PO IN T.CODE - ME23N.
    ENTER PO NUMBER ,THEN IN ITEM DETAILS , IN HISTORY TAB SEE FOR THAT INVOICE NO.

  • Hi guys,Explain how to find whether the user request is dialog or bc ...

    how to find whether the user request is dialog or bc or some other wp and where we can see that ?

    Hello Damodar,
    You can find out that in SM50.
    However one piece of advice. I have noticed that you are raising lots of questions about very basic questions. Either you new to SAP or dont know anything about SAP Basis and want to get in this area. Or else you are preparing for some interview. In either of these cases expecting solutions given at SDN are not going to be of much help. Better read yorself in SAP Help as most people do. SDN should not be overly used for such purposes. Basic questions are welcome but you want to learn SAP through SDN !!!
    Regards.
    Ruchit.

  • How to find whether MIRO is done for a PO

    Hi All,
    Is there any indicator attached to POs that indicates whether MIRO is done for that PO?
    I mean after PO creation in ME21N -> GR in MIGO -> Excise (if applicable) and -> MIRO... how to find whether MIRO is done for a particular PO?
    Helpful tips will be gratefully rewarded...
    Regards,
    Karthik

    See if an entry exist in EKBE for the PO Number and its items.
    The complete process though is, to find the GR Quantity for each PO Item and see if it matches with the PO Item quantity.
      SELECT EBELN
             EBELP
             MENGE
             LOEKZ
        FROM EKPO
        INTO TABLE LT_EKPO
       WHERE EBELN = P_EBELN.
      IF NOT LT_EKPO[] IS INITIAL.
        SELECT EBELN
               EBELP
               MENGE
               BEWTP
               GJAHR
               BELNR
               BUZEI
               SHKZG
          FROM EKBE
          INTO TABLE LT_EKBE
          FOR ALL ENTRIES IN LT_EKPO
         WHERE EBELN = LT_EKPO-EBELN
           AND EBELP = LT_EKPO-EBELP
           AND VGABE = '1'.
      ENDIF.
      LOOP AT LT_EKBE.
    * Change the sign of the quantity for debit
        IF LT_EKBE-SHKZG = C_SHKZG_H.
          LT_EKBE-MENGE = -1 * LT_EKBE-MENGE.
        ENDIF.
        MOVE-CORRESPONDING LT_EKBE TO LT_EKBE_SUM.
        COLLECT LT_EKBE_SUM INTO LT_EKBE_SUM.
        CLEAR LT_EKBE_SUM.
        ENDLOOP.
       loop at it_ekpo.
    ** For each line item, calculate the total GR Quanity
        READ TABLE LT_EKBE_SUM WITH KEY EBELN = LT_EKPO-EBELN
                                        EBELP = LT_AWKEY-EBELP.
        IF SY-SUBRC = 0.
    * If the PO Item Quantity is equal to GR Quantity
            IF LT_EKPO-MENGE <= LT_EKBE_SUM-MENGE.
    * The PO Item can be considered completed GRed
            ENDIF.
        ENDIF.
      ENDLOOP.

  • How to find whether the installed sap software is 32 bit or 64 bit?

    How to find whether the installed sap software is 32 bit or 64 bit?
    Hi Community,
    We have Windows machine - 64 bit - x64. So, we can install either 32 bit or 64 bit sap software, both are supported, right. Now, a sap system is already installed on this machine and i would like to find out whether the sap software is 32 bit or 64 bit, how can i check?
    I have already seen under Menu System - Status - Other Kernel Info & at OS level, with the command disp+work but i cant find the info iam looking for.
    Please help.
    Regards,
    Mohan.

    Hi Sunny,
    Thank you very much for your quick reply.
    Didnt know that one has to look under "Compiled for".
    Regards,
    Mohan.

  • How to find whether my netbook is bluetooth enabled

    I want to connect to my Android Tablet via bluetooth to my netbook Aspire One running on Windows XP.
    How to find whether my netbook is bluetooth enabled ?
    K.R.Kumar

    Click Start, click Run, type bthprops.cpl, and then click OK.
    If your computer has bluetooth capabiliteis, it will launch "Bluetooth Devices". If you successfully opened Bluetooth Devices, then your computer does have Bluetooth capabilities, otherwise, it does not have...
    If it has:
    On the Options tab, click to select the Turn discovery on check box, and then click Apply. To enable Bluetooth devices to connect to your computer, click to select the Allow Bluetooth devices to connect to this computer check box, and then click OK.

  • How to find whether remote database is up or not (connected via dblink)

    Hi,
    I am using dblink to connect Biz database from Dev database.(Biz, Dev - database names)
    Running dbms job using the dblink from the Dev database to update data on Biz database...
    Problem is dbms job should run if and only if the Biz database is up for which i created the dblink...
    1) How to make sure or implement the check to find whether the Biz is database is up or not in Pl/sql or sql...
    2) How to reschedule the dbms jobs once the database is up
    pls suggest me how to find whether the database is up or not b4 running the dbms job?
    Using- Oracle 10g

    The only way to know whether the remote database is up (and whether the network between the two databases is up and whether the remote database's listener is up and whether the password configured in the database link is correct and whether the local TNS alias is correct, etc) would be to actually run a query against the remote database over the database link. In other words, the way to figure out whether the link is up is to let the job run and catch & handle exceptions when there are problems.
    By default, a job scheduled via DBMS_JOB will automatically reschedule itself if there is an unhandled exception by geometrically backing off (it waits 1 minute after the first failure, 2 minutes after the second, 4, 8, 16, 32 minutes, etc until it's marked as broken after 16 failures). You could, of course, catch appropriate exceptions and handle them in a reasonable fashion and manually reschedule jobs at intervals that make more sense for your particular job.
    Justin

  • How to find whether the cookies are enabled or not

    Hi All,
    Please suggest me, while sending the first request only how to find whether the cookies are enabled or not.
    thanks.

    you could use a servlet, write a cookie and then try to read it, if it's read then it's enabled else not.

  • How to find paricular GL ACCOUNT is relevant to tax or not.

    Hi ,
    Actually i am abaper working on FI MODULE.
    How to find paricular GL ACCOUNT is relevant to tax or not.
    Please provide the tcodes and necessary information..where to check .
    Thanks & Regards,
    Hari priya

    Hi Dianne,
    i checked in FS00 for my gl accounts.
    1. 60004100 : Tax category is Only input tax allowed
                          posting without tax allowed is ticked .
    The following message is displaying.. 
    G/L account 60004100 is relevant to tax; check code
    Message no. FS219
    Diagnosis
    You are posting to a tax-relevant account which does not, however,
    require the entry of a tax code.
    Procedure
    Check to see whether the transaction you are currently processing is
    actually not tax-relevant, and enter a valid tax code, if necessary.
    Effects on Customizing
    You can define when this system message is to be issued in accordance
    with your requirements.
    You do this in Customizing as follows: Cross-Application Components ->
    Bank Directory -> Change Message Control.
    The application area and message number can be taken from the technical
    documentation.
    please help me to solve this issue.
    thanks & regards,
    Hari priya

  • How to verify whether the persistence unit objects are persistent or not?

    How to verify whether the persistence unit objects are persistent or not?
    I have successfully configure and deploy the Employees object as a persistence unit in Oracle Coherence according to the guide of Chapter 6 of Tutorial for Oracle Coherence 3.5.
    Using the RunEmployeeExample script, I have got the right results. I can see that after the cache object is updated, the database table (Employees) is also updated accordingly. The following is the output:
    2009-11-05 11:09:55.043/53.467 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=1): Member(Id=2, Timestamp=2009-11-05 11:09:54.867, Add
    ress=192.168.8.80:8089, MachineId=24656, Location=process:1684, Role=OracleRunEmployeeExample) joined Cluster with senior member 1
    2009-11-05 11:09:55.604/54.028 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=1): Member 2 joined Service Management with senior memb
    er 1
    2009-11-05 11:09:56.885/55.309 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=1): TcpRing: connecting to member 2 using TcpSocket{Sta
    te=STATE_OPEN, Socket=Socket[addr=/192.168.8.80,port=8089,localport=4084]}
    2009-11-05 11:09:57.847/56.281 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=1): Member 2 joined Service JpaDistributedCache with se
    nior member 1
    2009-11-05 11:09:57.917/56.341 Oracle Coherence GE 3.5.2/463 <D5> (thread=DistributedCache:JpaDistributedCache, member=1): Service JpaDistributed
    Cache: sending ServiceConfigSync containing 258 entries to Member 2
    2009-11-05 11:10:04.086/62.510 Oracle Coherence GE 3.5.2/463 <D5> (thread=DistributedCache:JpaDistributedCache, member=1): Deferring the distribu
    tion due to 1 pending configuration updates
    [EL Info]: 2009-11-05 11:10:14.36--ServerSession(2883071)--EclipseLink, version: Eclipse Persistence Services - 1.1.1.v20090430-r4097
    [EL Info]: 2009-11-05 11:10:22.312--ServerSession(2883071)--file:/C:/JDeveloper/mywork/AppJPA/JPA/classes/-JPA login successful
    2009-11-05 11:10:24.305/82.729 Oracle Coherence GE 3.5.2/463 <D5> (thread=DistributedCache:JpaDistributedCache, member=1): 3> Transferring 128 ou
    t of 257 primary partitions to member 2 requesting 128
    2009-11-05 11:10:25.697/84.121 Oracle Coherence GE 3.5.2/463 <D4> (thread=DistributedCache:JpaDistributedCache, member=1): 1> Transferring 129 ou
    t of 129 partitions to a node-safe backup 1 at member 2 (under 129)
    2009-11-05 11:10:25.857/84.281 Oracle Coherence GE 3.5.2/463 <D5> (thread=DistributedCache:JpaDistributedCache, member=1): Transferring 0KB of ba
    ckup[1] for PartitionSet{128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
    152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180,
    181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209,
    210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238,
    239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256} to member 2
    2009-11-05 11:10:40.678/99.102 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=1): TcpRing: disconnected from member 2 due to a kill r
    equest
    2009-11-05 11:10:40.678/99.102 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=1): Member 2 left service Management with senior member
    1
    2009-11-05 11:10:40.678/99.102 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=1): Member 2 left service JpaDistributedCache with seni
    or member 1
    2009-11-05 11:10:40.708/99.132 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=1): Member(Id=2, Timestamp=2009-11-05 11:10:40.708, Add
    ress=192.168.8.80:8089, MachineId=24656, Location=process:1684, Role=OracleRunEmployeeExample) left Cluster with senior member 1
    2009-11-05 11:10:40.879/99.303 Oracle Coherence GE 3.5.2/463 <Info> (thread=DistributedCache:JpaDistributedCache, member=1): Restored from backup
    128 partitions
    2009-11-05 11:10:40.879/99.303 Oracle Coherence GE 3.5.2/463 <D4> (thread=DistributedCache:JpaDistributedCache, member=1): 0, 1, 2, 3, 4, 5, 6, 7
    , 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 4
    4, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80
    , 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 11
    3, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127,
    2009-11-05 11:28:39.800/1178.224 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=1): Member(Id=2, Timestamp=2009-11-05 11:28:39.635, A
    ddress=192.168.8.80:8089, MachineId=24656, Location=site:metsys.metex.com,machine:mw12,process:1752, Role=CoherenceConsole) joined Cluster with s
    enior member 1
    2009-11-05 11:28:40.231/1178.655 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=1): Member 2 joined Service Management with senior me
    mber 1
    2009-11-05 11:28:41.633/1180.057 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=1): TcpRing: connecting to member 2 using TcpSocket{S
    tate=STATE_OPEN, Socket=Socket[addr=/192.168.8.80,port=8089,localport=4143]}
    2009-11-05 11:30:01.658/1260.082 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=1): Member 2 joined Service DistributedCache with sen
    ior member 2But I cannot verify if the persistence unit is still persistent.
    Edited by: jetq on Nov 5, 2009 11:49 AM

    I start a Coherence Console in another Windows Command Prompt as the following:
    D:\coherence\bin>  coherence.cmd
    ** Starting storage disabled console **
    java version "1.6.0_11"
    Oracle Coherence Version 3.5.2/463
    Grid Edition: Development mode
    Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
    2009-11-05 11:57:22.167/9.734 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=n/a): Service Cluster joined th
    e cluster with senior service member n/a
    2009-11-05 11:57:22.197/9.764 Oracle Coherence GE 3.5.2/463 <Info> (thread=Cluster, member=n/a): Failed to satisfy the v
    ariance: allowed=16, actual=20
    2009-11-05 11:57:22.197/9.764 Oracle Coherence GE 3.5.2/463 <Info> (thread=Cluster, member=n/a): Increasing allowable va
    riance to 17
    2009-11-05 11:57:22.677/10.244 Oracle Coherence GE 3.5.2/463 <Info> (thread=Cluster, member=n/a): This Member(Id=3, Time
    stamp=2009-11-05 11:57:22.392, Address=192.168.8.80:8089, MachineId=24656, Location=process:460, Role=CoherenceConsole,
    Edition=Grid Edition, Mode=Development, CpuCount=1, SocketCount=1) joined cluster "cluster:0xD3FB" with senior Member(Id
    =1, Timestamp=2009-11-05 11:09:09.738, Address=192.168.8.80:8088, MachineId=24656, Location=process:1816, Role=Coherence
    Server, Edition=Grid Edition, Mode=Development, CpuCount=1, SocketCount=1)
    2009-11-05 11:57:22.737/10.304 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=n/a): Member 1 joined Service
    Management with senior member 1
    2009-11-05 11:57:22.737/10.304 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=n/a): Member 1 joined Service
    JpaDistributedCache with senior member 1
    2009-11-05 11:57:23.108/10.675 Oracle Coherence GE 3.5.2/463 <D5> (thread=Invocation:Management, member=3): Service Mana
    gement joined the cluster with senior service member 1
    2009-11-05 11:57:23.759/11.326 Oracle Coherence GE 3.5.2/463 <D5> (thread=TcpRingListener, member=3): TcpRing: connectin
    g to member 1 using TcpSocket{State=STATE_OPEN, Socket=Socket[addr=/192.168.8.80,port=4168,localport=8089]}
    SafeCluster: Name=cluster:0xD3FB
    Group{Address=224.3.5.2, Port=35463, TTL=4}The previous output shows that this Coherence console (the client side) has already joined the JPA server.
    But the following output shows us that this console cannot access the Employees cache and cannot get the object entry. Why?
    Map (?): cache Employees
    2009-11-05 12:11:41.653/869.220 Oracle Coherence GE 3.5.2/463 <Info> (thread=main, member=3): Loaded cache configuration
    from "jar:file:/D:/coherence/lib/coherence.jar!/coherence-cache-config.xml"
    2009-11-05 12:11:43.055/870.622 Oracle Coherence GE 3.5.2/463 <D5> (thread=DistributedCache, member=3): Service Distribu
    tedCache joined the cluster with senior service member 3
    <distributed-scheme>
      <!--
      To use POF serialization for this partitioned service,
      uncomment the following section
      <serializer>
      <class-
      name>com.tangosol.io.pof.ConfigurablePofContext</class-
      name>
      </serializer>
      -->
      <scheme-name>example-distributed</scheme-name>
      <service-name>DistributedCache</service-name>
      <backing-map-scheme>
        <local-scheme>
          <scheme-ref>example-binary-backing-map</scheme-ref>
        </local-scheme>
      </backing-map-scheme>
      <autostart>true</autostart>
    </distributed-scheme>
    Map (Employees): list
    2009-11-05 12:11:48.402/875.969 Oracle Coherence GE 3.5.2/463 <Error> (thread=main, member=3):
    java.lang.RuntimeException: Storage is not configured
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.onMissing
    Storage(DistributedCache.CDB:9)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.ensureReq
    uestTarget(DistributedCache.CDB:33)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.sendParti
    tionedRequest(DistributedCache.CDB:31)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.size(Dist
    ributedCache.CDB:13)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap$EntrySet.
    size(DistributedCache.CDB:1)
            at com.tangosol.util.ConverterCollections$ConverterEntrySet.size(ConverterCollections.java:2720)
            at com.tangosol.coherence.component.application.console.Coherence.doList(Coherence.CDB:74)
            at com.tangosol.coherence.component.application.console.Coherence.processCommand(Coherence.CDB:442)
            at com.tangosol.coherence.component.application.console.Coherence.run(Coherence.CDB:39)
            at com.tangosol.coherence.component.application.console.Coherence.main(Coherence.CDB:3)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.tangosol.net.CacheFactory.main(CacheFactory.java:1400)Edited by: jetq on Nov 5, 2009 12:18 PM

  • How to find the xi server wheather it is present or not

    hi all,
    i have  one doubt regarding xi server,how to find out wheather the xi server is there or not in our sap server.
    thanks & regards,
    subba reddy

    Hi
    What u mean by SAP Server (Hope u r saying SAP ECC R/3)
    XI / PI is a Seperate Server installation which doesnot come with ecc
    ECC >=  6.2 only has Integration Serve inbuilt which allows it to communicate with XI in Proxy langauge.
    Still u want to check if u r x System is having XI r not then
    Transaction SXMB_IFR ---> IE opens --> Press IR Design , if it opens IR u r in XI
    Srini

  • How to check whether a Document in KM is classified or not using JAVA API

    Hello Everyone,
      Can anyone tell me, How to check whether a Document in KM is classified or not, using JAVA API's??
    Thanks & Regards,
    Adren D'Souza

    Hi,
    The code is as follows:
    IIndexService indexService = null;
    try {
       indexService = (IIndexService) ResourceFactory.getInstance().getServiceFactory().getService(IServiceTypesConst.INDEX_SERVICE);
    } catch (ResourceException e) {
       if (indexService == null) {
         log.errorT("Error on instanciating the index service");
         return this.renderMessage(this.getBundleString(RES_NO_INDEX_SERVICE), StatusType.ERROR);
    // get index
    IIndex index = null;
    try {
       index = indexService.getIndex("YourIndexID");
    } catch (WcmException e1) {
       log.errorT("Error when trying to get the index");
       return this.renderMessage(this.getBundleString(RES_NO_INDEX), StatusType.ERROR);
    // check if the index is a instance of AbstractClassificationIndex
    AbstractClassificationIndex classiIndex = null;
    if (index instanceof AbstractClassificationIndex) {
       classiIndex = (AbstractClassificationIndex) index;
    } else {
       log.errorT("The index " + index.getIndexName() + " is no classification index");
       return this.renderMessage(this.getBundleString(RES_NO_CLASSIFICATION_INDEX), StatusType.WARNING);
    //give your KM Resource here for which you want to know if it is classified or not
    boolean classified = classiIndex.isDocClassifiedInAnyTax(resource);
    Regards,
    Praveen Gudapati

Maybe you are looking for

  • GL account posting error with cost centre

    Hi experts I am trying to post Goods issue with the combination of GL account and cost centre... The system throwing an error message saying " GL account XXXXX not valid for cost centre XXXXX or order entered" what could be the mistake i have done...

  • Question about ABAP OO

    Dear gurus, say, we have a class A, which has a constructor  and a protected method A, and in the constructor we call the method A. then we built a class B, which inherits from A, and we redefined the method A, and we do nothing to the constructor. w

  • Reduce the Logout time in IDM

    Hi Everyone, Help me in Solving the issue. When i click on the logout button of the end user interface in sun idm, it is taking 20 secs to come back to the login page (login.jsp) which is causing very much delay in the process. I want to reduce this

  • Importing web

    after reinstaling i want to import trhe website i had made in iweb but how do i do that?

  • New Iphone for Christmas present.

    Im really wanting to get my boyfriend the new iphone for christmas since he already has a plan with at&t. The only problem is I don't want him to know until christmas and then after christmas we both go in together to get his phone number transferred