Package lumis.portal.css
Class CssDaoJdbc
- java.lang.Object
-
- lumis.portal.css.CssDaoJdbc
-
-
Constructor Summary
Constructors Constructor Description CssDaoJdbc()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(CssConfig cssConfig, ITransaction transaction)
Add the CSS.void
delete(java.lang.String cssId, ITransaction transaction)
Delete the CSS.CssConfig
get(java.lang.String cssId, ITransaction transaction)
Get the CSS.java.util.List<CssConfig>
getAll(ITransaction transaction)
Get all CSSsjava.util.Collection<java.lang.String>
getChannelIdsUsingCss(java.lang.String cssId, ITransaction transaction)
java.util.Collection<java.lang.String>
getPageIdsUsingCss(java.lang.String cssId, ITransaction transaction)
void
update(CssConfig cssConfig, ITransaction transaction)
Update the CSS.
-
-
-
Method Detail
-
get
public CssConfig get(java.lang.String cssId, ITransaction transaction) throws DaoException, PortalException
Description copied from interface:ICssDao
Get the CSS.- Specified by:
get
in interfaceICssDao
- Returns:
- a CssConfig.
- Throws:
DaoException
PortalException
-
add
public void add(CssConfig cssConfig, ITransaction transaction) throws DaoException, PortalException
Description copied from interface:ICssDao
Add the CSS.- Specified by:
add
in interfaceICssDao
- Throws:
DaoException
PortalException
-
update
public void update(CssConfig cssConfig, ITransaction transaction) throws DaoException, PortalException
Description copied from interface:ICssDao
Update the CSS.- Specified by:
update
in interfaceICssDao
- Throws:
DaoException
PortalException
-
delete
public void delete(java.lang.String cssId, ITransaction transaction) throws DaoException, PortalException
Description copied from interface:ICssDao
Delete the CSS.- Specified by:
delete
in interfaceICssDao
- Throws:
DaoException
PortalException
-
getPageIdsUsingCss
public java.util.Collection<java.lang.String> getPageIdsUsingCss(java.lang.String cssId, ITransaction transaction) throws DaoException, PortalException
- Specified by:
getPageIdsUsingCss
in interfaceICssDao
- Throws:
DaoException
PortalException
-
getChannelIdsUsingCss
public java.util.Collection<java.lang.String> getChannelIdsUsingCss(java.lang.String cssId, ITransaction transaction) throws DaoException, PortalException
- Specified by:
getChannelIdsUsingCss
in interfaceICssDao
- Throws:
DaoException
PortalException
-
getAll
public java.util.List<CssConfig> getAll(ITransaction transaction) throws DaoException, PortalException
Description copied from interface:ICssDao
Get all CSSs- Specified by:
getAll
in interfaceICssDao
- Throws:
DaoException
PortalException
-
-