com.liferay.portlet.exportimport.service.impl
Class StagingLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.exportimport.service.base.StagingLocalServiceBaseImpl
com.liferay.portlet.exportimport.service.impl.StagingLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, StagingLocalService
public class StagingLocalServiceImpl
- extends StagingLocalServiceBaseImpl
| Fields inherited from class com.liferay.portlet.exportimport.service.base.StagingLocalServiceBaseImpl |
classNameLocalService, classNamePersistence, classNameService, counterLocalService, exportImportConfigurationLocalService, exportImportConfigurationPersistence, exportImportConfigurationService, exportImportLocalService, exportImportService, groupFinder, groupLocalService, groupPersistence, groupService, layoutFinder, layoutLocalService, layoutPersistence, layoutRevisionLocalService, layoutRevisionPersistence, layoutRevisionService, layoutService, layoutSetBranchLocalService, layoutSetBranchPersistence, layoutSetBranchService, layoutSetLocalService, layoutSetPersistence, layoutSetService, resourceLocalService, stagingLocalService, stagingService, userFinder, userLocalService, userPersistence, userService |
|
Method Summary |
protected void |
addDefaultLayoutSetBranch(long userId,
long groupId,
String groupName,
boolean privateLayout,
ServiceContext serviceContext)
|
protected Group |
addStagingGroup(long userId,
Group liveGroup,
ServiceContext serviceContext)
|
void |
checkDefaultLayoutSetBranches(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
boolean remote,
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(Group liveGroup,
ServiceContext serviceContext)
|
void |
disableStaging(PortletRequest portletRequest,
Group liveGroup,
ServiceContext serviceContext)
|
void |
enableLocalStaging(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
ServiceContext serviceContext)
|
void |
enableRemoteStaging(long userId,
Group stagingGroup,
boolean branchingPublic,
boolean branchingPrivate,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
ServiceContext serviceContext)
|
protected void |
enableRemoteStaging(String remoteURL,
long remoteGroupId)
|
protected FileEntry |
fetchStagingRequestFileEntry(long stagingRequestId,
Folder folder)
|
protected String |
getAssembledFileName(long stagingRequestId)
|
protected FileEntry |
getStagingRequestFileEntry(long userId,
long stagingRequestId,
Folder folder)
|
MissingReferences |
publishStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
Map<String,String[]> parameterMap)
Deprecated. As of 7.0.0, with no direct replacement |
MissingReferences |
publishStagingRequest(long userId,
long stagingRequestId,
ExportImportConfiguration exportImportConfiguration)
|
protected void |
setCommonStagingOptions(Group liveGroup,
UnicodeProperties typeSettingsProperties,
ServiceContext serviceContext)
|
protected Layout |
updateLayoutWithLayoutRevision(LayoutRevision layoutRevision)
|
protected void |
updateStagedPortlets(String remoteURL,
long remoteGroupId,
UnicodeProperties typeSettingsProperties)
|
void |
updateStagingRequest(long userId,
long stagingRequestId,
String fileName,
byte[] bytes)
|
MissingReferences |
validateStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
Map<String,String[]> parameterMap)
Deprecated. As of 7.0.0, replaced by publishStagingRequest(long,
long, boolean, java.util.Map) |
| Methods inherited from class com.liferay.portlet.exportimport.service.base.StagingLocalServiceBaseImpl |
afterPropertiesSet, destroy, getBeanIdentifier, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getExportImportConfigurationLocalService, getExportImportConfigurationPersistence, getExportImportConfigurationService, getExportImportLocalService, getExportImportService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutRevisionLocalService, getLayoutRevisionPersistence, getLayoutRevisionService, getLayoutService, getLayoutSetBranchLocalService, getLayoutSetBranchPersistence, getLayoutSetBranchService, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetService, getResourceLocalService, getStagingLocalService, getStagingService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setExportImportConfigurationLocalService, setExportImportConfigurationPersistence, setExportImportConfigurationService, setExportImportLocalService, setExportImportService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutRevisionLocalService, setLayoutRevisionPersistence, setLayoutRevisionService, setLayoutService, setLayoutSetBranchLocalService, setLayoutSetBranchPersistence, setLayoutSetBranchService, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetService, setResourceLocalService, setStagingLocalService, setStagingService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
| 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,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
boolean remote,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
cleanUpStagingRequest
public void cleanUpStagingRequest(long stagingRequestId)
throws PortalException
- Throws:
PortalException
createStagingRequest
public long createStagingRequest(long userId,
long groupId,
String checksum)
throws PortalException
- Throws:
PortalException
disableStaging
public void disableStaging(Group liveGroup,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
disableStaging
public void disableStaging(PortletRequest portletRequest,
Group liveGroup,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
enableLocalStaging
public void enableLocalStaging(long userId,
Group liveGroup,
boolean branchingPublic,
boolean branchingPrivate,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
enableRemoteStaging
public void enableRemoteStaging(long userId,
Group stagingGroup,
boolean branchingPublic,
boolean branchingPrivate,
String remoteAddress,
int remotePort,
String remotePathContext,
boolean secureConnection,
long remoteGroupId,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
publishStagingRequest
@Deprecated
public MissingReferences publishStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
Map<String,String[]> parameterMap)
throws PortalException
- Deprecated. As of 7.0.0, with no direct replacement
- Throws:
PortalException
publishStagingRequest
public MissingReferences publishStagingRequest(long userId,
long stagingRequestId,
ExportImportConfiguration exportImportConfiguration)
throws PortalException
- Throws:
PortalException
updateStagingRequest
public void updateStagingRequest(long userId,
long stagingRequestId,
String fileName,
byte[] bytes)
throws PortalException
- Throws:
PortalException
validateStagingRequest
@Deprecated
public MissingReferences validateStagingRequest(long userId,
long stagingRequestId,
boolean privateLayout,
Map<String,String[]> parameterMap)
- Deprecated. As of 7.0.0, replaced by
publishStagingRequest(long,
long, boolean, java.util.Map)
addDefaultLayoutSetBranch
protected void addDefaultLayoutSetBranch(long userId,
long groupId,
String groupName,
boolean privateLayout,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
addStagingGroup
protected Group addStagingGroup(long userId,
Group liveGroup,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteLayoutSetBranches
protected void deleteLayoutSetBranches(long groupId,
boolean privateLayout)
throws PortalException
- Throws:
PortalException
disableRemoteStaging
protected void disableRemoteStaging(String remoteURL,
long remoteGroupId,
boolean forceDisable)
throws PortalException
- Throws:
PortalException
enableRemoteStaging
protected void enableRemoteStaging(String remoteURL,
long remoteGroupId)
throws PortalException
- Throws:
PortalException
fetchStagingRequestFileEntry
protected FileEntry fetchStagingRequestFileEntry(long stagingRequestId,
Folder folder)
throws PortalException
- Throws:
PortalException
getAssembledFileName
protected String getAssembledFileName(long stagingRequestId)
getStagingRequestFileEntry
protected FileEntry getStagingRequestFileEntry(long userId,
long stagingRequestId,
Folder folder)
throws PortalException
- Throws:
PortalException
setCommonStagingOptions
protected void setCommonStagingOptions(Group liveGroup,
UnicodeProperties typeSettingsProperties,
ServiceContext serviceContext)
updateLayoutWithLayoutRevision
protected Layout updateLayoutWithLayoutRevision(LayoutRevision layoutRevision)
updateStagedPortlets
protected void updateStagedPortlets(String remoteURL,
long remoteGroupId,
UnicodeProperties typeSettingsProperties)
throws PortalException
- Throws:
PortalException