class CatalogServiceImpl extends BasicManager implements UserDataDeletable, Initializable, CatalogService {

    @Override
    public List filterOwnedLeafs(final Identity identity, final List catalogEntries) {
        final List ownedEntries = new ArrayList();

        final Iterator iter = catalogEntries.iterator();
        while (iter.hasNext()) {
            final CatalogEntry cate = (CatalogEntry) iter.next();
            if (cate.getType() == CatalogEntry.TYPE_LEAF) {
                final RepositoryEntry repe = cate.getRepositoryEntry();
                final SecurityGroup secGroup = repe.getOwnerGroup();
                if (securityManager.isIdentityInSecurityGroup(identity, secGroup)) {
                    ownedEntries.add(cate);
                }
            }
        }
        return ownedEntries;
    }

    private  CatalogServiceImpl();
      CatalogServiceImpl(CatalogDao catalogDao, BaseSecurity securityManager, BookmarkService bookmarkService, DeletionModule deletionModule);

}