|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.portlet.dao.jpa.JpaPortletDefinitionDao
@Repository public class JpaPortletDefinitionDao
JPA implementation of the portlet definition DAO
| Constructor Summary | |
|---|---|
JpaPortletDefinitionDao()
|
|
| Method Summary | |
|---|---|
EntityManager |
getEntityManager()
|
IPortletDefinition |
getPortletDefinition(int channelPublishId)
Get an existing portlet definition for the channel publish id. |
IPortletDefinition |
getPortletDefinition(IPortletDefinitionId portletDefinitionId)
Get a IPortletDefinition for the specified IPortletDefinitionId. |
void |
setChannelDefinitionDao(IChannelDefinitionDao channelDefinitionDao)
|
void |
setEntityManager(EntityManager entityManager)
|
void |
updatePortletDefinition(IPortletDefinition portletDefinition)
Persists changes to a IPortletDefinition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JpaPortletDefinitionDao()
| Method Detail |
|---|
public EntityManager getEntityManager()
public void setEntityManager(EntityManager entityManager)
entityManager - the entityManager to setpublic void setChannelDefinitionDao(IChannelDefinitionDao channelDefinitionDao)
public IPortletDefinition getPortletDefinition(int channelPublishId)
IPortletDefinitionDao
getPortletDefinition in interface IPortletDefinitionDaochannelPublishId - The id of the org.jasig.portal.ChannelDefinition this portlet definition represents.
public IPortletDefinition getPortletDefinition(IPortletDefinitionId portletDefinitionId)
IPortletDefinitionDaoIPortletDefinition for the specified IPortletDefinitionId.
getPortletDefinition in interface IPortletDefinitionDaoportletDefinitionId - The id to get the definition for.
@Transactional public void updatePortletDefinition(IPortletDefinition portletDefinition)
IPortletDefinitionDaoIPortletDefinition.
updatePortletDefinition in interface IPortletDefinitionDaoportletDefinition - The portlet definition to store the changes for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||