Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.container.client.external.html
Class HTMLModel

java.lang.Object
  extended by org.nuxeo.opensocial.container.client.external.html.HTMLModel
All Implemented Interfaces:
HasPermissions

public class HTMLModel
extends Object
implements HasPermissions

Author:
Stéphane Fourrier

Constructor Summary
HTMLModel(HTMLData data, Map<String,Boolean> permissions)
           
 
Method Summary
 HTMLData getData()
           
 Map<String,Boolean> getPermissions()
           
 Boolean hasPermission(String permission)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLModel

public HTMLModel(HTMLData data,
                 Map<String,Boolean> permissions)
Method Detail

getData

public HTMLData getData()

getPermissions

public Map<String,Boolean> getPermissions()
Specified by:
getPermissions in interface HasPermissions

hasPermission

public Boolean hasPermission(String permission)
Specified by:
hasPermission in interface HasPermissions

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.