blob: 745309c314f74dc1fb71ca6414e6428bff806388 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
package com.c2kernel.collection;
import com.c2kernel.common.ObjectNotFoundException;
import com.c2kernel.entity.C2KLocalObject;
import com.c2kernel.utils.CastorHashMap;
/**
* @version $Revision: 1.13 $ $Date: 2004/05/14 15:39:39 $
* @author $Author: abranson $
*/
public interface Collection extends C2KLocalObject
{
public static final short EMPTY = -1;
public int getCounter();
public void setCounter(int count);
public int size();
public void setMembers(CollectionMemberList newMembers);
public CollectionMemberList getMembers();
public void addMember(int entityKey, CastorHashMap props, String classProps) throws MembershipException;
public void addMember(int entityKey) throws MembershipException;
public void removeMember(int memberId) throws MembershipException;
public CollectionMember getMember(int memberId) throws ObjectNotFoundException;
}
|