26 lines
493 B
Java
26 lines
493 B
Java
package net.shadowfacts.simplemultipart.container;
|
|
|
|
import net.shadowfacts.simplemultipart.multipart.MultipartView;
|
|
import net.shadowfacts.simplemultipart.multipart.MultipartState;
|
|
|
|
import java.util.Set;
|
|
|
|
/**
|
|
* @author shadowfacts
|
|
*/
|
|
public interface MultipartContainer {
|
|
|
|
Set<MultipartView> getParts();
|
|
|
|
boolean canInsert(MultipartState state);
|
|
|
|
void insert(MultipartState state);
|
|
|
|
void remove(MultipartView view);
|
|
|
|
boolean breakPart(MultipartView view);
|
|
|
|
void schedulePartSave();
|
|
|
|
}
|