Class CMSDefaultPermissionUtil

java.lang.Object
com.liferay.site.cms.site.initializer.util.CMSDefaultPermissionUtil

public class CMSDefaultPermissionUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addCMSDefaultPermissions(com.liferay.object.model.ObjectEntryFolder objectEntryFolder, com.liferay.object.rest.filter.factory.FilterFactory<com.liferay.petra.sql.dsl.expression.Predicate> filterFactory)
     
    static com.liferay.object.model.ObjectEntry
    addOrUpdateObjectEntry(String externalReferenceCode, long companyId, long userId, String classExternalReferenceCode, String className, com.liferay.portal.kernel.json.JSONObject defaultPermissionsJSONObject, long depotGroupId, String treePath)
     
    static com.liferay.object.model.ObjectEntry
    fetchObjectEntry(long companyId, long userId, String classExternalReferenceCode, String className, com.liferay.object.rest.filter.factory.FilterFactory<com.liferay.petra.sql.dsl.expression.Predicate> filterFactory)
     
    static com.liferay.object.model.ObjectEntry
    fetchObjectEntryByDepotGroupId(long companyId, long userId, long depotGroupId, String className, com.liferay.object.rest.filter.factory.FilterFactory<com.liferay.petra.sql.dsl.expression.Predicate> filterFactory)
     
    static com.liferay.portal.kernel.json.JSONObject
    getCMSDefaultPermissionJSONObject(com.liferay.object.model.ObjectEntryFolder objectEntryFolder, com.liferay.object.rest.filter.factory.FilterFactory<com.liferay.petra.sql.dsl.expression.Predicate> filterFactory)
     
    static com.liferay.portal.kernel.json.JSONObject
    getJSONObject(long companyId, long userId, String classExternalReferenceCode, String className, com.liferay.object.rest.filter.factory.FilterFactory<com.liferay.petra.sql.dsl.expression.Predicate> filterFactory)
     
    static void
    updateClassExternalReferenceCode(com.liferay.object.model.ObjectEntry objectEntry, String classExternalReferenceCode, long userId)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CMSDefaultPermissionUtil

      public CMSDefaultPermissionUtil()
  • Method Details

    • addCMSDefaultPermissions

      public static void addCMSDefaultPermissions(com.liferay.object.model.ObjectEntryFolder objectEntryFolder, com.liferay.object.rest.filter.factory.FilterFactory<com.liferay.petra.sql.dsl.expression.Predicate> filterFactory) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateObjectEntry

      public static com.liferay.object.model.ObjectEntry addOrUpdateObjectEntry(String externalReferenceCode, long companyId, long userId, String classExternalReferenceCode, String className, com.liferay.portal.kernel.json.JSONObject defaultPermissionsJSONObject, long depotGroupId, String treePath) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchObjectEntry

      public static com.liferay.object.model.ObjectEntry fetchObjectEntry(long companyId, long userId, String classExternalReferenceCode, String className, com.liferay.object.rest.filter.factory.FilterFactory<com.liferay.petra.sql.dsl.expression.Predicate> filterFactory) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchObjectEntryByDepotGroupId

      public static com.liferay.object.model.ObjectEntry fetchObjectEntryByDepotGroupId(long companyId, long userId, long depotGroupId, String className, com.liferay.object.rest.filter.factory.FilterFactory<com.liferay.petra.sql.dsl.expression.Predicate> filterFactory) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCMSDefaultPermissionJSONObject

      public static com.liferay.portal.kernel.json.JSONObject getCMSDefaultPermissionJSONObject(com.liferay.object.model.ObjectEntryFolder objectEntryFolder, com.liferay.object.rest.filter.factory.FilterFactory<com.liferay.petra.sql.dsl.expression.Predicate> filterFactory) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getJSONObject

      public static com.liferay.portal.kernel.json.JSONObject getJSONObject(long companyId, long userId, String classExternalReferenceCode, String className, com.liferay.object.rest.filter.factory.FilterFactory<com.liferay.petra.sql.dsl.expression.Predicate> filterFactory) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateClassExternalReferenceCode

      public static void updateClassExternalReferenceCode(com.liferay.object.model.ObjectEntry objectEntry, String classExternalReferenceCode, long userId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException