|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.dataservices.model.domain.GroupFactory
public class GroupFactory
A factory class for creating group object in the data store.
Constructor Summary | |
---|---|
GroupFactory()
Default constructor. |
Method Summary | |
---|---|
GroupEntity |
create(ServiceEntity service,
Group group)
Creates a group in the data store with the given value object to define the group attributes. |
GroupEntity |
create(ServiceEntity service,
Group group,
AttributeValues rdn)
Creates a group in the data store with the given value object to define the group attributes. |
GroupEntity |
create(ServiceEntity service,
Group group,
AttributeValues rdn,
ObjectProfile groupProfile)
Creates a group in the data store with the given value object to define the group's attributes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupFactory()
Method Detail |
---|
public GroupEntity create(ServiceEntity service, Group group) throws ModelCommunicationException, ModelCreationException
service
- the service entity that hosts the group.group
- the object that contains group information to be used for group creation.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ModelCreationException
- Thrown if unable to create the
entity in the data store. The might be the result of
schema violation caused by incorrect attributes set in the
value object.public GroupEntity create(ServiceEntity service, Group group, AttributeValues rdn) throws ModelCommunicationException, ModelCreationException
service
- the service entity that hosts the group.group
- the object that contains group information to be used for group creation.rdn
- the attribute value that holds the relative distinguished name of the
group to insert.
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ModelCreationException
- Thrown if unable to create the
entity in the data store. The might be the result of
schema violation caused by incorrect attributes set in the
value object.public GroupEntity create(ServiceEntity service, Group group, AttributeValues rdn, ObjectProfile groupProfile) throws ModelCommunicationException, ModelCreationException
service
- the service entity that hosts the group.group
- the object that contains group information to be used for group creation.rdn
- the attribute value that holds the relative distinguished name of the
group to insert.groupProfile
- The profile for the group to be created.
DuplicateEntryException
- if entry already exists
ModelCommunicationException
- Thrown if unable to communicate
with the data store.
ModelCreationException
- Thrown if unable to create the
entity in the data store. The might be the result of
schema violation caused by incorrect attributes set in the
value object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |