@Override
  public AssetRenderer<TasksEntry> getAssetRenderer(long classPK, int type) throws PortalException {

    TasksEntry tasksEntry = TasksEntryLocalServiceUtil.getTasksEntry(classPK);

    return new TasksEntryAssetRenderer(tasksEntry);
  }
  public static boolean contains(
      PermissionChecker permissionChecker, long tasksEntryId, String actionId)
      throws PortalException, SystemException {

    TasksEntry tasksEntry = TasksEntryLocalServiceUtil.getTasksEntry(tasksEntryId);

    return contains(permissionChecker, tasksEntry, actionId);
  }