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

Quick Search    Search Deep

ru.gammalabs.ice.publishing
Interface IEStatusDAO  view IEStatusDAO download IEStatusDAO.java

All Superinterfaces:
ru.gammalabs.ice.framework.DAO
All Known Implementing Classes:
IEStatusDAOOracle

public interface IEStatusDAO
extends ru.gammalabs.ice.framework.DAO

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


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 interface ru.gammalabs.ice.framework.DAO
disconnect, setConnection
 

Method Detail

getAll

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


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.


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.


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.


remove

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


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.


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.