package com.zaranux.os.client.access;
import com.zaranux.client.api.AsyncCallback;
import com.zaranux.client.java.io.File;
import com.zaranux.os.client.access.ui.ACLListGrid;
import com.zaranux.os.client.core.Component;
import com.zaranux.os.client.core.ComponentContainer;
import com.zaranux.os.client.core.Program;
import com.zaranux.os.client.util.Log;
public class ACLComponent extends Component {
ACLListGrid aclListGrid;
public ACLComponent(File[] files, ComponentContainer container)
{
super(container);
if(files != null && files.length > 0)
{
aclListGrid = new ACLListGrid(files[0]);
setWidget(aclListGrid);
}
}
public void save(AsyncCallback<Boolean> callback)
{
Log.debug("saving acllistgrid ");
aclListGrid.save(callback);
}
}