Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ru.gammalabs.ice.publishing
Class IEStatusDAOOracle  view IEStatusDAOOracle download IEStatusDAOOracle.java

java.lang.Object
  extended byru.gammalabs.ice.framework.BasicDAO
      extended byru.gammalabs.ice.publishing.IEStatusDAOOracle
All Implemented Interfaces:
ru.gammalabs.ice.framework.DAO, IEStatusDAO

public class IEStatusDAOOracle
extends ru.gammalabs.ice.framework.BasicDAO
implements IEStatusDAO

Manages possible status of information element IE such as 'active' or 'not active' ( in future 'archived') in Oracle CMS date base.


Field Summary
private static org.apache.log4j.Category log
           
 
Fields inherited from class ru.gammalabs.ice.framework.BasicDAO
connection
 
Constructor Summary
IEStatusDAOOracle()
           
 
Method Summary
 java.util.Set getAll()
          Returns set of all IEStatus objects from data base.
 MLString getName(long id)
          Returns ml name of IEStatus object with identifier id from date base.
 void insert(IEStatus status)
          Inserts new IEStatus object in data base.
 void remove(long id)
          Deletes IEStatus object with identifier id from data base.
 void setName(long idStatus, MLString str)
          Sets ml name str of IEStatus object with identifier idStatus in data base.
 void update(IEStatus status)
          Updates IEStatus object type in data base.
 void updateName(long idStatus, MLString str)
          Updates ml name str of IEStatus object with identifier id id in data base.
 
Methods inherited from class ru.gammalabs.ice.framework.BasicDAO
disconnect, setConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ru.gammalabs.ice.framework.DAO
disconnect, setConnection
 

Field Detail

log

private static final org.apache.log4j.Category log
Constructor Detail

IEStatusDAOOracle

public IEStatusDAOOracle()
Method Detail

getAll

public java.util.Set getAll()
                     throws ru.gammalabs.ice.publishing.framework.CMSException
Returns set of all IEStatus objects from data base.

Specified by:
getAll in interface IEStatusDAO

getName

public MLString getName(long id)
                 throws ru.gammalabs.ice.publishing.framework.CMSException
Returns ml name of IEStatus object with identifier id from date base.

Specified by:
getName in interface IEStatusDAO

insert

public void insert(IEStatus status)
            throws ru.gammalabs.ice.publishing.framework.CMSException
Inserts new IEStatus object in data base. Be sure that IEStatus type is not null.

Specified by:
insert in interface IEStatusDAO

setName

public void setName(long idStatus,
                    MLString str)
             throws ru.gammalabs.ice.publishing.framework.CMSException
Sets ml name str of IEStatus object with identifier idStatus in data base.

Specified by:
setName in interface IEStatusDAO

remove

public void remove(long id)
            throws ru.gammalabs.ice.publishing.framework.CMSException
Deletes IEStatus object with identifier id from data base.

Specified by:
remove in interface IEStatusDAO

update

public void update(IEStatus status)
            throws ru.gammalabs.ice.publishing.framework.CMSException
Updates IEStatus object type in data base. Be sure that type is not null.

Specified by:
update in interface IEStatusDAO

updateName

public void updateName(long idStatus,
                       MLString str)
                throws ru.gammalabs.ice.publishing.framework.CMSException
Updates ml name str of IEStatus object with identifier id id in data base.

Specified by:
updateName in interface IEStatusDAO