Two interfaces are shown: IModelOOC and IModelSet. The first shows the signatures for the five CRUDS methods for this layer -- -- add, delete, update, get, and search -- plus an additional method, bindObjectToSet, that is general at this layer but not in other layers. The second includes two methods that extend the generic OOC methods. These include a getSetMembers and a move method.
IModelOOC
public interface IModelOOC { public DataBean add( String loginName, int loginType, DataBean dataBean ); public boolean delete( String loginName, int loginType, String id ); public DataBean update( String loginName, int loginType, DataBean dataBean ); public DataBean get( String loginName, int loginType, String id ); public CollectionBean search( String loginName, int loginType, DataBean dataBean ); public DataBean bindObjectToSet( String loginName, int loginType, String setID, String objectType, String objectID );IModelSet
public interface IModelSet extends IModelOOC { public CollectionBean getSetMembers( String loginName, int loginType, String setID ); public DataBean move( String loginName, int loginType, String setID, String setIDParentOld, String setIDParentNew); }