com.liferay.portlet.exportimport.service.impl
Class StagingLocalServiceImpl
java.lang.Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portlet.exportimport.service.base.StagingLocalServiceBaseImpl
com.liferay.portlet.exportimport.service.impl.StagingLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.exportimport.kernel.service.StagingLocalService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService
public class StagingLocalServiceImpl
- extends StagingLocalServiceBaseImpl
| Fields inherited from class com.liferay.portlet.exportimport.service.base.StagingLocalServiceBaseImpl |
classNameLocalService, classNamePersistence, counterLocalService, exportImportConfigurationFinder, exportImportConfigurationLocalService, exportImportConfigurationPersistence, exportImportLocalService, groupFinder, groupLocalService, groupPersistence, layoutFinder, layoutLocalService, layoutPersistence, layoutRevisionLocalService, layoutRevisionPersistence, layoutSetBranchLocalService, layoutSetBranchPersistence, layoutSetLocalService, layoutSetPersistence, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, resourceLocalService, stagingLocalService, userFinder, userLocalService, userPersistence |
|
Method Summary |
protected void |
addDefaultLayoutSetBranch(long userId,
long groupId,
String groupName,
boolean privateLayout,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
protected com.liferay.portal.kernel.model.Group |
addStagingGroup(long userId,
com.liferay.portal.kernel.model.Group liveGroup,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
void |
checkDefaultLayoutSetBranches(long userId,
com.liferay.portal.kernel.model.Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
boolean remote,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
void |
cleanUpStagingRequest(long stagingRequestId)
|
long |
createStagingRequest(long userId,
long groupId,
String checksum)
|
protected void |
deleteLayoutSetBranches(long groupId,
boolean privateLayout)
|
protected void |
disableRemoteStaging(String remoteURL,
long remoteGroupId,
boolean forceDisable)
|
void |
disableStaging(com.liferay.portal.kernel.model.Group liveGroup,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
void |
disableStaging(PortletRequest portletRequest,
com.liferay.portal.kernel.model.Group liveGroup,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
void |
enableLocalStaging(long userId,
com.liferay.portal.kernel.model.Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
void |
enableRemoteStaging(long userId,
com.liferay.portal.kernel.model.Group stagingGroup,
boolean branchingPublic,
boolean branchingPrivate,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
protected void |
enableRemoteStaging(String remoteURL,
long remoteGroupId)
|
protected com.liferay.portal.kernel.repository.model.FileEntry |
fetchStagingRequestFileEntry(long stagingRequestId,
com.liferay.portal.kernel.repository.model.Folder folder)
|
protected String |
getAssembledFileName(long stagingRequestId)
|
protected com.liferay.portal.kernel.repository.model.FileEntry |
getStagingRequestFileEntry(long userId,
long stagingRequestId,
com.liferay.portal.kernel.repository.model.Folder folder)
|
com.liferay.exportimport.kernel.lar.MissingReferences |
publishStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
Map<String,String[]> parameterMap)
Deprecated. As of 7.0.0, with no direct replacement |
com.liferay.exportimport.kernel.lar.MissingReferences |
publishStagingRequest(long userId,
long stagingRequestId,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
|
protected void |
setCommonStagingOptions(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
|
protected com.liferay.portal.kernel.model.Layout |
updateLayoutWithLayoutRevision(com.liferay.portal.kernel.model.LayoutRevision layoutRevision)
|
protected void |
updatePortletPreferences(com.liferay.portal.kernel.model.LayoutRevision layoutRevision,
com.liferay.portal.kernel.model.Layout layout)
|
protected void |
updateStagedPortlets(String remoteURL,
long remoteGroupId,
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties)
|
void |
updateStagingRequest(long userId,
long stagingRequestId,
String fileName,
byte[] bytes)
|
com.liferay.exportimport.kernel.lar.MissingReferences |
validateStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
Map<String,String[]> parameterMap)
Deprecated. As of 7.0.0, replaced by publishStagingRequest(long,
long, boolean, Map) |
| Methods inherited from class com.liferay.portlet.exportimport.service.base.StagingLocalServiceBaseImpl |
afterPropertiesSet, destroy, getClassNameLocalService, getClassNamePersistence, getCounterLocalService, getExportImportConfigurationFinder, getExportImportConfigurationLocalService, getExportImportConfigurationPersistence, getExportImportLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutRevisionLocalService, getLayoutRevisionPersistence, getLayoutSetBranchLocalService, getLayoutSetBranchPersistence, getLayoutSetLocalService, getLayoutSetPersistence, getOSGiServiceIdentifier, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getResourceLocalService, getStagingLocalService, getUserFinder, getUserLocalService, getUserPersistence, runSQL, setClassNameLocalService, setClassNamePersistence, setCounterLocalService, setExportImportConfigurationFinder, setExportImportConfigurationLocalService, setExportImportConfigurationPersistence, setExportImportLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutRevisionLocalService, setLayoutRevisionPersistence, setLayoutSetBranchLocalService, setLayoutSetBranchPersistence, setLayoutSetLocalService, setLayoutSetPersistence, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setResourceLocalService, setStagingLocalService, setUserFinder, setUserLocalService, setUserPersistence |
| Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl |
getClassLoader, getLocalizationMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StagingLocalServiceImpl
public StagingLocalServiceImpl()
checkDefaultLayoutSetBranches
public void checkDefaultLayoutSetBranches(long userId,
com.liferay.portal.kernel.model.Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
boolean remote,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
cleanUpStagingRequest
public void cleanUpStagingRequest(long stagingRequestId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
createStagingRequest
public long createStagingRequest(long userId,
long groupId,
String checksum)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
disableStaging
public void disableStaging(com.liferay.portal.kernel.model.Group liveGroup,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
disableStaging
public void disableStaging(PortletRequest portletRequest,
com.liferay.portal.kernel.model.Group liveGroup,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
enableLocalStaging
public void enableLocalStaging(long userId,
com.liferay.portal.kernel.model.Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
enableRemoteStaging
public void enableRemoteStaging(long userId,
com.liferay.portal.kernel.model.Group stagingGroup,
boolean branchingPublic,
boolean branchingPrivate,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
publishStagingRequest
@Deprecated
public com.liferay.exportimport.kernel.lar.MissingReferences publishStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
Map<String,String[]> parameterMap)
throws com.liferay.portal.kernel.exception.PortalException
- Deprecated. As of 7.0.0, with no direct replacement
- Throws:
com.liferay.portal.kernel.exception.PortalException
publishStagingRequest
public com.liferay.exportimport.kernel.lar.MissingReferences publishStagingRequest(long userId,
long stagingRequestId,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
updateStagingRequest
public void updateStagingRequest(long userId,
long stagingRequestId,
String fileName,
byte[] bytes)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
validateStagingRequest
@Deprecated
public com.liferay.exportimport.kernel.lar.MissingReferences validateStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
Map<String,String[]> parameterMap)
- Deprecated. As of 7.0.0, replaced by
publishStagingRequest(long,
long, boolean, Map)
addDefaultLayoutSetBranch
protected void addDefaultLayoutSetBranch(long userId,
long groupId,
String groupName,
boolean privateLayout,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
addStagingGroup
protected com.liferay.portal.kernel.model.Group addStagingGroup(long userId,
com.liferay.portal.kernel.model.Group liveGroup,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
deleteLayoutSetBranches
protected void deleteLayoutSetBranches(long groupId,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
disableRemoteStaging
protected void disableRemoteStaging(String remoteURL,
long remoteGroupId,
boolean forceDisable)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
enableRemoteStaging
protected void enableRemoteStaging(String remoteURL,
long remoteGroupId)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
fetchStagingRequestFileEntry
protected com.liferay.portal.kernel.repository.model.FileEntry fetchStagingRequestFileEntry(long stagingRequestId,
com.liferay.portal.kernel.repository.model.Folder folder)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
getAssembledFileName
protected String getAssembledFileName(long stagingRequestId)
getStagingRequestFileEntry
protected com.liferay.portal.kernel.repository.model.FileEntry getStagingRequestFileEntry(long userId,
long stagingRequestId,
com.liferay.portal.kernel.repository.model.Folder folder)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException
setCommonStagingOptions
protected void setCommonStagingOptions(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
updateLayoutWithLayoutRevision
protected com.liferay.portal.kernel.model.Layout updateLayoutWithLayoutRevision(com.liferay.portal.kernel.model.LayoutRevision layoutRevision)
updatePortletPreferences
protected void updatePortletPreferences(com.liferay.portal.kernel.model.LayoutRevision layoutRevision,
com.liferay.portal.kernel.model.Layout layout)
updateStagedPortlets
protected void updateStagedPortlets(String remoteURL,
long remoteGroupId,
com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties)
throws com.liferay.portal.kernel.exception.PortalException
- Throws:
com.liferay.portal.kernel.exception.PortalException