On Fri, Nov 12, 2010 at 7:02 PM, StephanDiplom
<[email protected]> wrote:
> How do I get a call group id if I only got its name?
>
> Thanks
> Stephan

Create new method in CallGroupContext.loadCallGroupIdByName that loads
CallGroup ids by name (using callGroupIdsWithAlias named query):
getHibernateTemplate().findByNamedQueryAndNamedParam(QUERY_CALL_GROUP_IDS_WITH_ALIAS,
VALUE, alias)

This will return a List with one element, that is the id of your CallGroup

George
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to