@Override public void addEntryResources(Album album, String[] groupPermissions, String[] guestPermissions) throws PortalException { resourceLocalService.addModelResources( album.getCompanyId(), album.getGroupId(), album.getUserId(), Album.class.getName(), album.getAlbumId(), groupPermissions, guestPermissions); }
@Override public void addEntryResources( Album album, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException { resourceLocalService.addResources( album.getCompanyId(), album.getGroupId(), album.getUserId(), Album.class.getName(), album.getAlbumId(), false, addGroupPermissions, addGuestPermissions); }