public class StagingLocalServiceImpl extends StagingLocalServiceBaseImpl
classNameLocalService, classNamePersistence, counterLocalService, exportImportConfigurationFinder, exportImportConfigurationLocalService, exportImportConfigurationPersistence, exportImportLocalService, resourceLocalService, stagingLocalService, userFinder, userLocalService, userPersistence| Constructor and Description |
|---|
StagingLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected void |
enableRemoteStaging(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long remoteGroupId) |
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 com.liferay.portal.kernel.model.Group |
fetchRemoteGroup(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId) |
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,
com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration) |
protected void |
removeLayoutSetBranchIdFromExportImportConfigurations(long groupId,
boolean remote,
boolean privateLayout) |
protected void |
setCommonStagingOptions(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties,
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 typeSettingsUnicodeProperties) |
void |
updateStagingRequest(long userId,
long stagingRequestId,
String fileName,
byte[] bytes) |
afterPropertiesSet, destroy, getClassNameLocalService, getClassNamePersistence, getCounterLocalService, getExportImportConfigurationFinder, getExportImportConfigurationLocalService, getExportImportConfigurationPersistence, getExportImportLocalService, getOSGiServiceIdentifier, getResourceLocalService, getStagingLocalService, getUserFinder, getUserLocalService, getUserPersistence, runSQL, setClassNameLocalService, setClassNamePersistence, setCounterLocalService, setExportImportConfigurationFinder, setExportImportConfigurationLocalService, setExportImportConfigurationPersistence, setExportImportLocalService, setResourceLocalService, setStagingLocalService, setUserFinder, setUserLocalService, setUserPersistencepublic 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
com.liferay.portal.kernel.exception.PortalExceptionpublic void cleanUpStagingRequest(long stagingRequestId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic long createStagingRequest(long userId,
long groupId,
String checksum)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void disableStaging(com.liferay.portal.kernel.model.Group liveGroup,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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
com.liferay.portal.kernel.exception.PortalExceptionpublic 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
com.liferay.portal.kernel.exception.PortalExceptionpublic 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
com.liferay.portal.kernel.exception.PortalExceptionpublic 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
com.liferay.portal.kernel.exception.PortalExceptionpublic void updateStagingRequest(long userId,
long stagingRequestId,
String fileName,
byte[] bytes)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void addDefaultLayoutSetBranch(long userId,
long groupId,
String groupName,
boolean privateLayout,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected 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
com.liferay.portal.kernel.exception.PortalExceptionprotected void deleteLayoutSetBranches(long groupId,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void disableRemoteStaging(String remoteURL,
long remoteGroupId,
boolean forceDisable)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void enableRemoteStaging(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long remoteGroupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected com.liferay.portal.kernel.model.Group fetchRemoteGroup(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
long groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected 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
com.liferay.portal.kernel.exception.PortalExceptionprotected 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)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void removeLayoutSetBranchIdFromExportImportConfigurations(long groupId,
boolean remote,
boolean privateLayout)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void setCommonStagingOptions(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
protected com.liferay.portal.kernel.model.Layout updateLayoutWithLayoutRevision(com.liferay.portal.kernel.model.LayoutRevision layoutRevision)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected 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 typeSettingsUnicodeProperties)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException