Class ClassNameLocalServiceImpl

Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.ClassNameLocalServiceBaseImpl
com.liferay.portal.service.impl.ClassNameLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.cache.CacheRegistryItem, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.ClassNameLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService

@CTAware public class ClassNameLocalServiceImpl extends ClassNameLocalServiceBaseImpl implements com.liferay.portal.kernel.cache.CacheRegistryItem
Author:
Brian Wing Shun Chan
  • Constructor Details

    • ClassNameLocalServiceImpl

      public ClassNameLocalServiceImpl()
  • Method Details

    • addClassName

      @Transactional(propagation=REQUIRES_NEW) public com.liferay.portal.kernel.model.ClassName addClassName(String value)
      Specified by:
      addClassName in interface com.liferay.portal.kernel.service.ClassNameLocalService
    • checkClassNames

      @Transactional(propagation=SUPPORTS, readOnly=true) public void checkClassNames()
      Specified by:
      checkClassNames in interface com.liferay.portal.kernel.service.ClassNameLocalService
    • deleteClassName

      public com.liferay.portal.kernel.model.ClassName deleteClassName(com.liferay.portal.kernel.model.ClassName className)
      Description copied from class: ClassNameLocalServiceBaseImpl
      Deletes the class name from the database. Also notifies the appropriate model listeners.

      Important: Inspect ClassNameLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.

      Specified by:
      deleteClassName in interface com.liferay.portal.kernel.service.ClassNameLocalService
      Overrides:
      deleteClassName in class ClassNameLocalServiceBaseImpl
      Parameters:
      className - the class name
      Returns:
      the class name that was removed
    • fetchByClassNameId

      public com.liferay.portal.kernel.model.ClassName fetchByClassNameId(long classNameId)
      Specified by:
      fetchByClassNameId in interface com.liferay.portal.kernel.service.ClassNameLocalService
    • fetchClassName

      public com.liferay.portal.kernel.model.ClassName fetchClassName(String value)
      Specified by:
      fetchClassName in interface com.liferay.portal.kernel.service.ClassNameLocalService
    • getClassName

      @Transactional(enabled=false) public com.liferay.portal.kernel.model.ClassName getClassName(String value)
      Specified by:
      getClassName in interface com.liferay.portal.kernel.service.ClassNameLocalService
    • getClassNameId

      @Transactional(enabled=false) public long getClassNameId(Class<?> clazz)
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.service.ClassNameLocalService
    • getClassNameId

      @Transactional(enabled=false) public long getClassNameId(String value)
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.service.ClassNameLocalService
    • getClassNameIdsSupplier

      public Supplier<long[]> getClassNameIdsSupplier(String[] classNames)
      Specified by:
      getClassNameIdsSupplier in interface com.liferay.portal.kernel.service.ClassNameLocalService
    • getClassNameIdSupplier

      public Supplier<Long> getClassNameIdSupplier(String className)
      Specified by:
      getClassNameIdSupplier in interface com.liferay.portal.kernel.service.ClassNameLocalService
    • getRegistryName

      public String getRegistryName()
      Specified by:
      getRegistryName in interface com.liferay.portal.kernel.cache.CacheRegistryItem
      Specified by:
      getRegistryName in interface com.liferay.portal.kernel.service.ClassNameLocalService
    • invalidate

      public void invalidate()
      Specified by:
      invalidate in interface com.liferay.portal.kernel.cache.CacheRegistryItem
      Specified by:
      invalidate in interface com.liferay.portal.kernel.service.ClassNameLocalService