public class CMSCockpitUIAccessRightService extends DefaultUIAccessRightService
UIAccessRightService. Adds functionality of checking page locks.| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
LOG |
cockpitUIComponentAccessRightDaomodelService, typeService| Constructor and Description |
|---|
CMSCockpitUIAccessRightService() |
| Modifier and Type | Method and Description |
|---|---|
CMSPageLockingService |
getCmsPageLockingService() |
CMSPageService |
getCmsPageService() |
protected boolean |
isObjectWritable(TypedObject item) |
boolean |
isWritable(ObjectType type,
PropertyDescriptor propDescr,
boolean creationMode)
Returns whether the current user has write access to the specified item property.
|
boolean |
isWritable(ObjectType type,
TypedObject item)
Returns whether the current user has write access to the specified item.
|
boolean |
isWritable(ObjectType type,
TypedObject item,
PropertyDescriptor propDescr,
boolean creationMode)
Returns whether the current user has write access to the specified item property.
|
void |
setCmsPageLockingService(CMSPageLockingService cmsPageLockingService) |
void |
setCmsPageService(CMSPageService cmsPageService) |
canRead, canWrite, canWrite, getBaseTypeCode, getSessionContext, getSystemService, getUserService, isReadable, isReadable, isWritable, restricts, setCockpitUIComponentAccessRightDao, setSystemService, setUserServicegetEnum, getEnums, getLocalizedLabel, getLocalizedLabel, getModelService, getTypeService, setCockpitTypeService, setLabelResolver, setModelServicepublic boolean isWritable(ObjectType type, TypedObject item)
UIAccessRightServiceisWritable in interface UIAccessRightServiceisWritable in class DefaultUIAccessRightServicetype - item typeitem - the item instance to check access fortrue if user has write access, false otherwisepublic boolean isWritable(ObjectType type, TypedObject item, PropertyDescriptor propDescr, boolean creationMode)
UIAccessRightServiceisWritable in interface UIAccessRightServiceisWritable in class DefaultUIAccessRightServicetype - item typeitem - item instancepropDescr - item attribute to check access forcreationMode - creation mode or nottrue if user has write access, false otherwisepublic boolean isWritable(ObjectType type, PropertyDescriptor propDescr, boolean creationMode)
UIAccessRightServiceisWritable in interface UIAccessRightServiceisWritable in class DefaultUIAccessRightServicetype - item typepropDescr - item attribute to check access forcreationMode - creation mode or nottrue if user has write access, false otherwiseprotected boolean isObjectWritable(TypedObject item)
public void setCmsPageLockingService(CMSPageLockingService cmsPageLockingService)
public CMSPageLockingService getCmsPageLockingService()
public CMSPageService getCmsPageService()
public void setCmsPageService(CMSPageService cmsPageService)
Copyright © 2018 SAP SE. All Rights Reserved.