model.put("authority_key",
ResearcherPageUtils.getPersistentIdentifier(researcher));
if (isAdmin)
{
AuthorityDAO dao = AuthorityDAOFactory.getInstance(context);
long pendingItems = dao
.countIssuedItemsByAuthorityValueInAuthority(
RPAuthority.RP_AUTHORITY_NAME,
ResearcherPageUtils
.getPersistentIdentifier(researcher));
model.put("pendingItems", new Long(pendingItems));