Liferay 7.0-ce-b4

com.liferay.portal.service.impl
Class RepositoryServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portal.service.base.RepositoryServiceBaseImpl
          extended by com.liferay.portal.service.impl.RepositoryServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseService, RepositoryService

public class RepositoryServiceImpl
extends RepositoryServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portal.service.base.RepositoryServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, classNameLocalService, classNamePersistence, classNameService, companyLocalService, companyPersistence, companyService, counterLocalService, dlAppHelperLocalService, dlFileEntryFinder, dlFileEntryLocalService, dlFileEntryPersistence, dlFileEntryService, dlFileEntryTypeFinder, dlFileEntryTypeLocalService, dlFileEntryTypePersistence, dlFileEntryTypeService, dlFileShortcutLocalService, dlFileShortcutPersistence, dlFileShortcutService, dlFileVersionLocalService, dlFileVersionPersistence, dlFileVersionService, dlFolderFinder, dlFolderLocalService, dlFolderPersistence, dlFolderService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, repositoryEntryLocalService, repositoryEntryPersistence, repositoryLocalService, repositoryPersistence, repositoryService, resourceLocalService, systemEventLocalService, systemEventPersistence, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
RepositoryServiceImpl()
           
 
Method Summary
 Repository addRepository(long groupId, long classNameId, long parentFolderId, String name, String description, String portletId, UnicodeProperties typeSettingsProperties, ServiceContext serviceContext)
           
protected  void checkModelPermissions(long folderId, long fileEntryId, long fileVersionId)
           
 void checkRepository(long repositoryId)
           
protected  void checkRepository(long repositoryId, long folderId, long fileEntryId, long fileVersionId)
           
 void deleteRepository(long repositoryId)
           
 Repository getRepository(long repositoryId)
           
 String[] getSupportedConfigurations(long classNameId)
          Deprecated. As of 7.0.0, with no direct replacement
 String[] getSupportedParameters(long classNameId, String configuration)
          Deprecated. As of 7.0.0, with no direct replacement
 String[] getSupportedParameters(String className, String configuration)
          Deprecated. As of 7.0.0, with no direct replacement
 UnicodeProperties getTypeSettingsProperties(long repositoryId)
           
 void updateRepository(long repositoryId, String name, String description)
           
 
Methods inherited from class com.liferay.portal.service.base.RepositoryServiceBaseImpl
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getDLAppHelperLocalService, getDLFileEntryFinder, getDLFileEntryLocalService, getDLFileEntryPersistence, getDLFileEntryService, getDLFileEntryTypeFinder, getDLFileEntryTypeLocalService, getDLFileEntryTypePersistence, getDLFileEntryTypeService, getDLFileShortcutLocalService, getDLFileShortcutPersistence, getDLFileShortcutService, getDLFileVersionLocalService, getDLFileVersionPersistence, getDLFileVersionService, getDLFolderFinder, getDLFolderLocalService, getDLFolderPersistence, getDLFolderService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getRepositoryEntryLocalService, getRepositoryEntryPersistence, getRepositoryLocalService, getRepositoryPersistence, getRepositoryService, getResourceLocalService, getSystemEventLocalService, getSystemEventPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setDLAppHelperLocalService, setDLFileEntryFinder, setDLFileEntryLocalService, setDLFileEntryPersistence, setDLFileEntryService, setDLFileEntryTypeFinder, setDLFileEntryTypeLocalService, setDLFileEntryTypePersistence, setDLFileEntryTypeService, setDLFileShortcutLocalService, setDLFileShortcutPersistence, setDLFileShortcutService, setDLFileVersionLocalService, setDLFileVersionPersistence, setDLFileVersionService, setDLFolderFinder, setDLFolderLocalService, setDLFolderPersistence, setDLFolderService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setRepositoryEntryLocalService, setRepositoryEntryPersistence, setRepositoryLocalService, setRepositoryPersistence, setRepositoryService, setResourceLocalService, setSystemEventLocalService, setSystemEventPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryServiceImpl

public RepositoryServiceImpl()
Method Detail

addRepository

public Repository addRepository(long groupId,
                                long classNameId,
                                long parentFolderId,
                                String name,
                                String description,
                                String portletId,
                                UnicodeProperties typeSettingsProperties,
                                ServiceContext serviceContext)
                         throws PortalException
Throws:
PortalException

checkRepository

public void checkRepository(long repositoryId)
                     throws PortalException
Throws:
PortalException

deleteRepository

public void deleteRepository(long repositoryId)
                      throws PortalException
Throws:
PortalException

getRepository

public Repository getRepository(long repositoryId)
                         throws PortalException
Throws:
PortalException

getSupportedConfigurations

@Deprecated
public String[] getSupportedConfigurations(long classNameId)
Deprecated. As of 7.0.0, with no direct replacement


getSupportedParameters

@Deprecated
public String[] getSupportedParameters(long classNameId,
                                                  String configuration)
Deprecated. As of 7.0.0, with no direct replacement


getSupportedParameters

@Deprecated
public String[] getSupportedParameters(String className,
                                                  String configuration)
Deprecated. As of 7.0.0, with no direct replacement


getTypeSettingsProperties

public UnicodeProperties getTypeSettingsProperties(long repositoryId)
                                            throws PortalException
Throws:
PortalException

updateRepository

public void updateRepository(long repositoryId,
                             String name,
                             String description)
                      throws PortalException
Throws:
PortalException

checkModelPermissions

protected void checkModelPermissions(long folderId,
                                     long fileEntryId,
                                     long fileVersionId)
                              throws PortalException
Throws:
PortalException

checkRepository

protected void checkRepository(long repositoryId,
                               long folderId,
                               long fileEntryId,
                               long fileVersionId)
                        throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4