public class SyncActionComponentEnabledStrategy extends java.lang.Object implements ComponentAdminActionEnabledStrategy
| Constructor and Description |
|---|
SyncActionComponentEnabledStrategy() |
| Modifier and Type | Method and Description |
|---|---|
SynchronisationStatus |
getComponentSynchronizationStatus(java.lang.String componentUid) |
boolean |
isComponentSynchronized(java.lang.String componentUid) |
boolean |
isEnabled(ComponentActionMenuRequestData request) |
boolean |
isVisible(ComponentActionMenuRequestData request,
boolean enabled) |
void |
setCmsComponentService(CMSComponentService cmsComponentService) |
void |
setCmsPageService(CMSPageService cmsPageService) |
void |
setSessionService(SessionService sessionService) |
void |
setSynchronizationService(SynchronizationService synchronizationService) |
void |
setTypeService(TypeService typeService) |
void |
setUserService(UserService userService) |
public boolean isEnabled(ComponentActionMenuRequestData request)
isEnabled in interface ComponentAdminActionEnabledStrategypublic SynchronisationStatus getComponentSynchronizationStatus(java.lang.String componentUid) throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic boolean isComponentSynchronized(java.lang.String componentUid)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic void setCmsComponentService(CMSComponentService cmsComponentService)
public void setUserService(UserService userService)
public void setSessionService(SessionService sessionService)
public void setSynchronizationService(SynchronizationService synchronizationService)
public void setTypeService(TypeService typeService)
public void setCmsPageService(CMSPageService cmsPageService)
public boolean isVisible(ComponentActionMenuRequestData request, boolean enabled)
isVisible in interface ComponentAdminActionEnabledStrategyCopyright © 2018 SAP SE. All Rights Reserved.