コード例 #1
0
  public void afterPropertiesSet() {
    if (dlFileEntryLocalService == null) {
      dlFileEntryLocalService = DLFileEntryLocalServiceFactory.getImpl();
    }

    if (dlFileEntryService == null) {
      dlFileEntryService = DLFileEntryServiceFactory.getImpl();
    }

    if (dlFileEntryPersistence == null) {
      dlFileEntryPersistence = DLFileEntryUtil.getPersistence();
    }

    if (dlFileEntryFinder == null) {
      dlFileEntryFinder = DLFileEntryFinderUtil.getFinder();
    }

    if (dlFileEntryAndShortcutFinder == null) {
      dlFileEntryAndShortcutFinder = DLFileEntryAndShortcutFinderUtil.getFinder();
    }

    if (dlFileRankLocalService == null) {
      dlFileRankLocalService = DLFileRankLocalServiceFactory.getImpl();
    }

    if (dlFileRankPersistence == null) {
      dlFileRankPersistence = DLFileRankUtil.getPersistence();
    }

    if (dlFileRankFinder == null) {
      dlFileRankFinder = DLFileRankFinderUtil.getFinder();
    }

    if (dlFileShortcutLocalService == null) {
      dlFileShortcutLocalService = DLFileShortcutLocalServiceFactory.getImpl();
    }

    if (dlFileShortcutService == null) {
      dlFileShortcutService = DLFileShortcutServiceFactory.getImpl();
    }

    if (dlFileShortcutPersistence == null) {
      dlFileShortcutPersistence = DLFileShortcutUtil.getPersistence();
    }

    if (dlFileShortcutFinder == null) {
      dlFileShortcutFinder = DLFileShortcutFinderUtil.getFinder();
    }

    if (dlFileVersionLocalService == null) {
      dlFileVersionLocalService = DLFileVersionLocalServiceFactory.getImpl();
    }

    if (dlFileVersionPersistence == null) {
      dlFileVersionPersistence = DLFileVersionUtil.getPersistence();
    }

    if (dlFolderPersistence == null) {
      dlFolderPersistence = DLFolderUtil.getPersistence();
    }

    if (counterLocalService == null) {
      counterLocalService = CounterLocalServiceFactory.getImpl();
    }

    if (counterService == null) {
      counterService = CounterServiceFactory.getImpl();
    }

    if (dlLocalService == null) {
      dlLocalService = DLLocalServiceFactory.getImpl();
    }

    if (dlService == null) {
      dlService = DLServiceFactory.getImpl();
    }

    if (layoutLocalService == null) {
      layoutLocalService = LayoutLocalServiceFactory.getImpl();
    }

    if (layoutService == null) {
      layoutService = LayoutServiceFactory.getImpl();
    }

    if (layoutPersistence == null) {
      layoutPersistence = LayoutUtil.getPersistence();
    }

    if (layoutFinder == null) {
      layoutFinder = LayoutFinderUtil.getFinder();
    }

    if (resourceLocalService == null) {
      resourceLocalService = ResourceLocalServiceFactory.getImpl();
    }

    if (resourceService == null) {
      resourceService = ResourceServiceFactory.getImpl();
    }

    if (resourcePersistence == null) {
      resourcePersistence = ResourceUtil.getPersistence();
    }

    if (resourceFinder == null) {
      resourceFinder = ResourceFinderUtil.getFinder();
    }

    if (userLocalService == null) {
      userLocalService = UserLocalServiceFactory.getImpl();
    }

    if (userService == null) {
      userService = UserServiceFactory.getImpl();
    }

    if (userPersistence == null) {
      userPersistence = UserUtil.getPersistence();
    }

    if (userFinder == null) {
      userFinder = UserFinderUtil.getFinder();
    }

    if (webDAVPropsLocalService == null) {
      webDAVPropsLocalService = WebDAVPropsLocalServiceFactory.getImpl();
    }

    if (webDAVPropsPersistence == null) {
      webDAVPropsPersistence = WebDAVPropsUtil.getPersistence();
    }
  }
コード例 #2
0
  public void afterPropertiesSet() {
    if (dlFileEntryLocalService == null) {
      dlFileEntryLocalService = DLFileEntryLocalServiceFactory.getImpl();
    }

    if (dlFileEntryService == null) {
      dlFileEntryService = DLFileEntryServiceFactory.getImpl();
    }

    if (dlFileEntryPersistence == null) {
      dlFileEntryPersistence = DLFileEntryUtil.getPersistence();
    }

    if (dlFileEntryFinder == null) {
      dlFileEntryFinder = DLFileEntryFinderUtil.getFinder();
    }

    if (dlFileEntryAndShortcutFinder == null) {
      dlFileEntryAndShortcutFinder = DLFileEntryAndShortcutFinderUtil.getFinder();
    }

    if (dlFileRankLocalService == null) {
      dlFileRankLocalService = DLFileRankLocalServiceFactory.getImpl();
    }

    if (dlFileRankPersistence == null) {
      dlFileRankPersistence = DLFileRankUtil.getPersistence();
    }

    if (dlFileRankFinder == null) {
      dlFileRankFinder = DLFileRankFinderUtil.getFinder();
    }

    if (dlFileShortcutLocalService == null) {
      dlFileShortcutLocalService = DLFileShortcutLocalServiceFactory.getImpl();
    }

    if (dlFileShortcutService == null) {
      dlFileShortcutService = DLFileShortcutServiceFactory.getImpl();
    }

    if (dlFileShortcutPersistence == null) {
      dlFileShortcutPersistence = DLFileShortcutUtil.getPersistence();
    }

    if (dlFileShortcutFinder == null) {
      dlFileShortcutFinder = DLFileShortcutFinderUtil.getFinder();
    }

    if (dlFileVersionPersistence == null) {
      dlFileVersionPersistence = DLFileVersionUtil.getPersistence();
    }

    if (dlFolderLocalService == null) {
      dlFolderLocalService = DLFolderLocalServiceFactory.getImpl();
    }

    if (dlFolderService == null) {
      dlFolderService = DLFolderServiceFactory.getImpl();
    }

    if (dlFolderPersistence == null) {
      dlFolderPersistence = DLFolderUtil.getPersistence();
    }
  }