code: @Override
  	public synchronized void setPermissions(Collection<Permission> aPermissions)
  	{
  		this.permissions.clear();
  		if (aPermissions == null || aPermissions.isEmpty())
  			return;
  
  		List<Permission> set =new ArrayList<Permission>(aPermissions);
  
  		this.permissions = set;
  
  	}
docs: /* (non-Javadoc)
  @see nyla.solutions.core.security.data.AccessControl#setPermissions(java.util.Collection)