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 com.liferay.object.model.ObjectEntry
    addOrUpdateObjectEntry(String externalReferenceCode, long companyId, long userId, String classExternalReferenceCode, String className, com.liferay.portal.kernel.json.JSONObject permissionsJSONObject)
     
    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.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)
     

    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

    • 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 permissionsJSONObject) 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
    • 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