コード例 #1
0
  @Override
  protected void addActivities() throws Exception {
    _folder =
        DLAppTestUtil.addFolder(
            group.getGroupId(),
            DLFolderConstants.DEFAULT_PARENT_FOLDER_ID,
            ServiceTestUtil.randomString());

    DLAppServiceUtil.moveFolderToTrash(_folder.getFolderId());

    DLAppServiceUtil.restoreFolderFromTrash(_folder.getFolderId());
  }
コード例 #2
0
  @Override
  protected void moveParentBaseModelToTrash(long primaryKey) throws Exception {

    DLAppServiceUtil.moveFolderToTrash(primaryKey);
  }
コード例 #3
0
 @Override
 protected void moveModelsToTrash() throws Exception {
   DLAppServiceUtil.moveFolderToTrash(_folder.getFolderId());
 }