Class GrouperBoxDbUser
java.lang.Object
edu.internet2.middleware.grouperBox.GrouperBoxDbUser
- All Implemented Interfaces:
edu.internet2.middleware.grouperClient.jdbc.GcSqlAssignPrimaryKey
public class GrouperBoxDbUser
extends Object
implements edu.internet2.middleware.grouperClient.jdbc.GcSqlAssignPrimaryKey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
deleteBatch
(Collection<GrouperBoxDbUser> grouperBoxDbUsers) delete batchboolean
boolean
getBoxId()
trick to tell difference between inserts and updatesgetLogin()
getName()
int
hashCode()
Computes the hash code based on the origin and destination nodesvoid
void
setBoxIdForInsert
(String boxIdForInsert) trick to tell difference between inserts and updatesvoid
setCreatedAt
(Timestamp createdAt) void
void
setModifiedAt
(Timestamp modifiedAt) void
void
setSpaceUsed
(Long spaceUsed) void
void
setSubjectId
(String subjectId) void
store()
static int
storeBatch
(Collection<GrouperBoxDbUser> grouperBoxDbUsers) store batch of inserts or updates but not both
-
Constructor Details
-
GrouperBoxDbUser
public GrouperBoxDbUser()
-
-
Method Details
-
gcSqlAssignNewPrimaryKeyForInsert
public boolean gcSqlAssignNewPrimaryKeyForInsert()- Specified by:
gcSqlAssignNewPrimaryKeyForInsert
in interfaceedu.internet2.middleware.grouperClient.jdbc.GcSqlAssignPrimaryKey
-
retrieveAllFromDatabase
-
equals
-
hashCode
public int hashCode()Computes the hash code based on the origin and destination nodes -
store
public void store() -
deleteBatch
delete batch- Parameters:
gcGrouperSyncGroups
-- Returns:
- rows deleted (groups and logs)
-
storeBatch
store batch of inserts or updates but not both- Parameters:
grouperBoxDbUsers
-- Returns:
- number of changes
-
getBoxIdForInsert
trick to tell difference between inserts and updates- Returns:
-
setBoxIdForInsert
trick to tell difference between inserts and updates- Parameters:
boxIdForInsert
-
-
getSubjectId
-
setSubjectId
-
getBoxId
-
setBoxId
-
getCreatedAt
-
setCreatedAt
-
getLogin
-
setLogin
-
getModifiedAt
-
setModifiedAt
-
getName
-
setName
-
getSpaceUsed
-
setSpaceUsed
-
getStatus
-
setStatus
-