Class CompositeSave
java.lang.Object
edu.internet2.middleware.grouper.group.CompositeSave
Deprecated.
use edu.internet2.middleware.grouper.CompositeSave
-
Constructor Summary
ConstructorDescriptionDeprecated.create a new composite saveCompositeSave
(GrouperSession theGrouperSession) Deprecated.create a new composite save -
Method Summary
Modifier and TypeMethodDescriptionassignCompositeType
(CompositeType theCompositeType) Deprecated.assign the composite typeDeprecated.id of this compositeassignLeftFactorGroup
(Group theLeftFactorGroup) Deprecated.if this is a group attribute, this is the foreign keyassignLeftFactorGroupId
(String theLeftFactorGroupId) Deprecated.if this is a group attribute, this is the foreign key mutually exclusive with ownerGroupNameassignLeftFactorGroupName
(String theLeftFactorGroupName) Deprecated.left factor group name, this is the foreign key mutually exclusive with leftFactorGroupIdassignLeftFactorName
(String theLeftFactor) Deprecated.assignOwnerGroup
(Group theOwnerGroup) Deprecated.owner group foreign keyassignOwnerGroupId
(String theOwnerGroupId) Deprecated.this is the foreign key mutually exclusive with ownerGroupNameassignOwnerGroupName
(String theOwnerGroupName) Deprecated.owner group name, this is the foreign key mutually exclusive with ownerGroupIdassignOwnerName
(String name1) Deprecated.nameassignRightFactorGroup
(Group theRightFactorGroup) Deprecated.right factor group this is the foreign keyassignRightFactorGroupId
(String theRightFactorGroupId) Deprecated.right factor group id, this is the foreign key mutually exclusive with rightFactorGroupNameassignRightFactorGroupName
(String theRightFactorGroupName) Deprecated.right factor group name, this is the foreign key mutually exclusive with rightFactorGroupIdassignRightFactorName
(String theRightFactor) Deprecated.assignSaveMode
(SaveMode theSaveMode) Deprecated.assign save modeassignType
(String theType) Deprecated.Deprecated.save()
Deprecated.create or update a group.
-
Constructor Details
-
CompositeSave
Deprecated.create a new composite save- Parameters:
theGrouperSession
-
-
CompositeSave
public CompositeSave()Deprecated.create a new composite save- Parameters:
theGrouperSession
-
-
-
Method Details
-
assignSaveMode
Deprecated.assign save mode- Parameters:
theSaveMode
-- Returns:
- this for chaining
-
assignId
Deprecated.id of this composite- Parameters:
theId
-- Returns:
- this for chaining
-
assignOwnerGroupId
Deprecated.this is the foreign key mutually exclusive with ownerGroupName- Parameters:
theOwnerGroupId
-- Returns:
- this for chaining
-
assignLeftFactorGroupName
Deprecated.left factor group name, this is the foreign key mutually exclusive with leftFactorGroupId- Parameters:
theLeftFactorGroupName
-- Returns:
- this for chaining
-
assignOwnerGroup
Deprecated.owner group foreign key- Parameters:
theOwnerGroup
-- Returns:
- this for chaining
-
assignCompositeType
Deprecated.assign the composite type- Parameters:
theCompositeType
-- Returns:
- this for chaining
-
save
public Composite save() throws AttributeDefNameNotFoundException, InsufficientPrivilegeException, StemNotFoundException, GroupNotFoundExceptionDeprecated.create or update a group. Note this will not rename a group at this time (might in future) This is a static method since setters to Group objects persist to the DB Steps: 1. Find the group by groupNameToEdit 2. Internally set all the fields of the stem (no need to reset if already the same) 3. Store the group (insert or update) if needed 4. Return the group object This runs in a tx so that if part of it fails the whole thing fails, and potentially the outer transaction too
- Returns:
- the group
- Throws:
StemNotFoundException
InsufficientPrivilegeException
GroupNotFoundException
AttributeDefNameNotFoundException
-
assignLeftFactorGroup
Deprecated.if this is a group attribute, this is the foreign key- Parameters:
theLeftFactorGroup
-- Returns:
- this for chaining
-
assignLeftFactorGroupId
Deprecated.if this is a group attribute, this is the foreign key mutually exclusive with ownerGroupName- Parameters:
theLeftFactorGroupId
-- Returns:
- this for chaining
-
assignRightFactorGroupName
Deprecated.right factor group name, this is the foreign key mutually exclusive with rightFactorGroupId- Parameters:
theRightFactorGroupName
-- Returns:
- this for chaining
-
assignRightFactorGroup
Deprecated.right factor group this is the foreign key- Parameters:
theRightFactorGroup
-- Returns:
- this for chaining
-
assignRightFactorGroupId
Deprecated.right factor group id, this is the foreign key mutually exclusive with rightFactorGroupName- Parameters:
theRightFactorGroupId
-- Returns:
- this for chaining
-
assignOwnerGroupName
Deprecated.owner group name, this is the foreign key mutually exclusive with ownerGroupId- Parameters:
theOwnerGroupName
-- Returns:
- this for chaining
-
assignLeftFactorName
Deprecated.- Parameters:
theLeftFactor
-- Returns:
- this for chaining
-
assignOwnerName
Deprecated.name- Parameters:
name1
-- Returns:
- name
-
assignRightFactorName
Deprecated.- Parameters:
theRightFactor
-- Returns:
- this for chaining
-
assignType
Deprecated.- Parameters:
theType
-- Returns:
- this for chaining
-
getComposite
Deprecated.- Returns:
- the composite
-