|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.database.Row | +--planetj.dataengine.security.DEGroup
Nested Class Summary |
Nested classes inherited from class planetj.database.Row |
Row.SpacingRow |
Field Summary | |
static String |
className
|
static String |
DESCRIPTION
|
static String |
ID
|
static String |
LIBRARY_NAME
|
static String |
NAME
|
static String |
OWNER_ID
|
static String |
PROPERTIES
|
static String |
TABLE_NAME
|
Fields inherited from class planetj.database.Row |
COPY, DELETE, INSERT, MODE_COPY, MODE_DELETE, MODE_INSERT, MODE_READ, MODE_SEARCH, MODE_UNKNOWN, MODE_UPDATE, READ, UPDATE |
Fields inherited from interface planetj.dataengine.security.IGuarded |
TYPE_ID_UNKNOWN, TYPE_NAME_FIELD, TYPE_NAME_SQLOPERATION, TYPE_SECURED_BY_LEVEL, TYPE_SECURED_BY_OPERATION, TYPE_UNSECURED |
Constructor Summary | |
DEGroup()
|
Method Summary | |
boolean |
addUser(DEUser user)
Adds the specified member to the group. |
static void |
createDEGroupTable(String systemAlias,
String libraryName,
String tableName)
Creates the group table. |
RowCollection |
getDEUsers()
|
static RowCollection |
getDEUsers(String system,
int owner,
int group)
|
int |
getId()
Gets the group ID |
Integer |
getIdAsInteger()
Gets the group ID |
String |
getName()
|
int |
getOwnerId()
Gets the ID of this user 2 group's owner |
Integer |
getOwnerIdAsInteger()
Gets the ID of this user 2 group's owner |
boolean |
isMember(DEUser user)
|
boolean |
removeUser(DEUser user)
|
void |
setId(int value)
Sets the group ID |
void |
setId(Integer value)
Sets the group ID |
void |
setOwnerId(int value)
Sets the ID of this application's owner |
void |
setOwnerId(Integer value)
Sets the ID of this application's owner |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String LIBRARY_NAME
public static final String TABLE_NAME
public static final String ID
public static final String OWNER_ID
public static final String NAME
public static final String DESCRIPTION
public static final String PROPERTIES
public static final String className
Constructor Detail |
public DEGroup()
Method Detail |
public boolean addUser(DEUser user)
user
- the principal to add to this group.
public static void createDEGroupTable(String systemAlias, String libraryName, String tableName) throws CMException
CMException
public RowCollection getDEUsers() throws CMException
CMException
public static RowCollection getDEUsers(String system, int owner, int group) throws CMException
CMException
public int getId()
public Integer getIdAsInteger()
public String getName()
public int getOwnerId()
public Integer getOwnerIdAsInteger()
public boolean isMember(DEUser user)
public boolean removeUser(DEUser user)
public void setId(int value) throws CMException
CMException
public void setId(Integer value) throws CMException
CMException
public void setOwnerId(int value) throws CMException
CMException
public void setOwnerId(Integer value) throws CMException
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |