org.cruxframework.crux.core.client.permission
Interface PermissionsUIHandler

All Known Implementing Classes:
DefaultPermissionsUIHandler

public interface PermissionsUIHandler

Handle any interface modifications needed to be done on widgets for lack of permissions reasons.

Author:
Thiago da Rosa de Bustamante

Method Summary
 void markAsUnauthorizedForEdition(com.google.gwt.user.client.ui.HasEnabled widget)
          Notify the given widget that current user has no role for edit its contents
 void markAsUnauthorizedForViewing(com.google.gwt.user.client.ui.IsWidget widget)
          Notify the given widget that current user has no role for view its contents
 

Method Detail

markAsUnauthorizedForEdition

void markAsUnauthorizedForEdition(com.google.gwt.user.client.ui.HasEnabled widget)
Notify the given widget that current user has no role for edit its contents

Parameters:
widget -

markAsUnauthorizedForViewing

void markAsUnauthorizedForViewing(com.google.gwt.user.client.ui.IsWidget widget)
Notify the given widget that current user has no role for view its contents

Parameters:
widget -


Copyright © 2014. All rights reserved.