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(String cssId, ITransaction transaction)
Delete the CSS.CssConfig
get(String cssId, ITransaction transaction)
Get the CSS.List<CssConfig>
getAll(ITransaction transaction)
Get all CSSsCollection<String>
getChannelIdsUsingCss(String cssId, ITransaction transaction)
Collection<String>
getPageIdsUsingCss(String cssId, ITransaction transaction)
void
update(CssConfig cssConfig, ITransaction transaction)
Update the CSS.
-
-
-
Method Detail
-
get
public CssConfig get(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(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 Collection<String> getPageIdsUsingCss(String cssId, ITransaction transaction) throws DaoException, PortalException
- Specified by:
getPageIdsUsingCss
in interfaceICssDao
- Throws:
DaoException
PortalException
-
getChannelIdsUsingCss
public Collection<String> getChannelIdsUsingCss(String cssId, ITransaction transaction) throws DaoException, PortalException
- Specified by:
getChannelIdsUsingCss
in interfaceICssDao
- Throws:
DaoException
PortalException
-
getAll
public List<CssConfig> getAll(ITransaction transaction) throws DaoException, PortalException
Description copied from interface:ICssDao
Get all CSSs- Specified by:
getAll
in interfaceICssDao
- Throws:
DaoException
PortalException
-
-