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:
- IdentifiableOSGiService, BaseLocalService, StagingLocalService
public class StagingLocalServiceImpl
- extends StagingLocalServiceBaseImpl
| Fields inherited from class com.liferay.portlet.exportimport.service.base.StagingLocalServiceBaseImpl |
classNameLocalService, classNamePersistence, counterLocalService, 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,
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(UnicodeProperties typeSettingsProperties,
ServiceContext serviceContext)
|
protected Layout |
updateLayoutWithLayoutRevision(LayoutRevision layoutRevision)
|
protected void |
updatePortletPreferences(LayoutRevision layoutRevision,
Layout layout)
|
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, Map) |
| Methods inherited from class com.liferay.portlet.exportimport.service.base.StagingLocalServiceBaseImpl |
afterPropertiesSet, destroy, getClassNameLocalService, getClassNamePersistence, getCounterLocalService, 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, 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 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, 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(UnicodeProperties typeSettingsProperties,
ServiceContext serviceContext)
updateLayoutWithLayoutRevision
protected Layout updateLayoutWithLayoutRevision(LayoutRevision layoutRevision)
updatePortletPreferences
protected void updatePortletPreferences(LayoutRevision layoutRevision,
Layout layout)
updateStagedPortlets
protected void updateStagedPortlets(String remoteURL,
long remoteGroupId,
UnicodeProperties typeSettingsProperties)
throws PortalException
- Throws:
PortalException