我正在使用DLAppServiceUtil访问来自rest服务的内容,但它正在给我PermissionChecker未初始化
long repositoryId = Long.parseLong(temp);
String Foldername="";
long groupId=Long.parseLong(temp);
long parentFolderId = DLFolderConstants.DEFAULT_PARENT_FOLDER_ID;
java.util.List<Folder> lFolder;
try {
lFolder = DLAppServiceUtil.getFolders(repositoryId, parentFolderId);
for (Folder folder : lFolder)
{
Foldername=folder.getName();
if(Foldername.equals(project_name))
{
folder_ID = folder.getFolderId();
break;
}
}
}