Class WikiPageTrashHandlerTestUtil

java.lang.Object
com.liferay.wiki.test.util.WikiPageTrashHandlerTestUtil

public class WikiPageTrashHandlerTestUtil extends Object
  • Constructor Details

    • WikiPageTrashHandlerTestUtil

      public WikiPageTrashHandlerTestUtil()
  • Method Details

    • addBaseModelWithWorkflow

      public static com.liferay.portal.kernel.model.BaseModel<?> addBaseModelWithWorkflow(com.liferay.portal.kernel.model.BaseModel<?> parentBaseModel, boolean approved, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception
      Throws:
      Exception
    • getBaseModel

      public static com.liferay.portal.kernel.model.BaseModel<?> getBaseModel(long primaryKey) throws Exception
      Throws:
      Exception
    • getBaseModelClass

      public static Class<?> getBaseModelClass()
    • getBaseModelName

      public static String getBaseModelName(com.liferay.portal.kernel.model.ClassedModel classedModel)
    • getNotInTrashBaseModelsCount

      public static int getNotInTrashBaseModelsCount(com.liferay.portal.kernel.model.BaseModel<?> parentBaseModel) throws Exception
      Throws:
      Exception
    • getParentBaseModel

      public static com.liferay.portal.kernel.model.BaseModel<?> getParentBaseModel(com.liferay.portal.kernel.model.Group group, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception
      Throws:
      Exception
    • getSearchKeywords

      public static String getSearchKeywords()
    • getTrashEntryClassPK

      public static long getTrashEntryClassPK(com.liferay.portal.kernel.model.ClassedModel classedModel)
    • moveBaseModelToTrash

      public static void moveBaseModelToTrash(long primaryKey) throws Exception
      Throws:
      Exception
    • moveParentBaseModelToTrash

      public static void moveParentBaseModelToTrash(long primaryKey) throws Exception
      Throws:
      Exception
    • updateBaseModel

      public static com.liferay.portal.kernel.model.BaseModel<?> updateBaseModel(long primaryKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception
      Throws:
      Exception