|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.GrouperAPI
edu.internet2.middleware.grouper.attr.assign.AttributeAssign
public class AttributeAssign
assignment of an attribute
Field Summary | |
---|---|
static java.lang.String |
COLUMN_ATTRIBUTE_ASSIGN_ACTION_ID
actions col in db |
static java.lang.String |
COLUMN_ATTRIBUTE_ASSIGN_DELEGATABLE
column |
static java.lang.String |
COLUMN_ATTRIBUTE_ASSIGN_TYPE
column |
static java.lang.String |
COLUMN_ATTRIBUTE_DEF_NAME_ID
column |
static java.lang.String |
COLUMN_CONTEXT_ID
column |
static java.lang.String |
COLUMN_CREATED_ON
column |
static java.lang.String |
COLUMN_DISABLED_TIME
column |
static java.lang.String |
COLUMN_DISALLOWED
allowed col in db |
static java.lang.String |
COLUMN_ENABLED
column |
static java.lang.String |
COLUMN_ENABLED_TIME
column |
static java.lang.String |
COLUMN_ID
column |
static java.lang.String |
COLUMN_LAST_UPDATED
column |
static java.lang.String |
COLUMN_NOTES
column |
static java.lang.String |
COLUMN_OWNER_ATTRIBUTE_ASSIGN_ID
column |
static java.lang.String |
COLUMN_OWNER_ATTRIBUTE_DEF_ID
column |
static java.lang.String |
COLUMN_OWNER_GROUP_ID
column |
static java.lang.String |
COLUMN_OWNER_MEMBER_ID
column |
static java.lang.String |
COLUMN_OWNER_MEMBERSHIP_ID
column |
static java.lang.String |
COLUMN_OWNER_STEM_ID
column |
static java.lang.String |
FIELD_ATTRIBUTE_ASSIGN_ACTION_ID
constant for field name for: attributeAssignActionId |
static java.lang.String |
FIELD_ATTRIBUTE_ASSIGN_DELEGATABLE
constant for field name for: attributeAssignDelegatable |
static java.lang.String |
FIELD_ATTRIBUTE_ASSIGN_TYPE
constant for field name for: attributeAssignType |
static java.lang.String |
FIELD_ATTRIBUTE_DEF_NAME_ID
constant for field name for: attributeDefNameId |
static java.lang.String |
FIELD_CONTEXT_ID
constant for field name for: contextId |
static java.lang.String |
FIELD_CREATED_ON_DB
constant for field name for: createdOnDb |
static java.lang.String |
FIELD_DISABLED_TIME_DB
constant for field name for: disabledTimeDb |
static java.lang.String |
FIELD_DISALLOWED
constant for field name for: disallowed |
static java.lang.String |
FIELD_ENABLED_TIME_DB
constant for field name for: enabledTimeDb |
static java.lang.String |
FIELD_ID
constant for field name for: id |
static java.lang.String |
FIELD_LAST_UPDATED_DB
constant for field name for: lastUpdatedDb |
static java.lang.String |
FIELD_NOTES
constant for field name for: notes |
static java.lang.String |
FIELD_OWNER_ATTRIBUTE_ASSIGN_ID
constant for field name for: ownerAttributeAssignId |
static java.lang.String |
FIELD_OWNER_ATTRIBUTE_DEF_ID
constant for field name for: ownerAttributeDefId |
static java.lang.String |
FIELD_OWNER_GROUP_ID
constant for field name for: ownerGroupId |
static java.lang.String |
FIELD_OWNER_MEMBER_ID
constant for field name for: ownerMemberId |
static java.lang.String |
FIELD_OWNER_MEMBERSHIP_ID
constant for field name for: ownerMembershipId |
static java.lang.String |
FIELD_OWNER_STEM_ID
constant for field name for: ownerStemId |
static java.lang.String |
FIELD_VALUE_DELEGATE
constant for field name for: valueDelegate |
static java.lang.String |
TABLE_GROUPER_ATTRIBUTE_ASSIGN
name of the groups attribute def table in the db |
Fields inherited from class edu.internet2.middleware.grouper.GrouperAPI |
---|
COLUMN_HIBERNATE_VERSION_NUMBER, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER |
Fields inherited from interface org.hibernate.classic.Lifecycle |
---|
NO_VETO, VETO |
Constructor Summary | |
---|---|
AttributeAssign()
|
|
AttributeAssign(AttributeAssign ownerAttributeAssign,
java.lang.String theAction,
AttributeDefName theAttributeDefName,
java.lang.String uuid)
create an attribute assign, including a uuid |
|
AttributeAssign(AttributeDef ownerAttributeDef,
java.lang.String theAction,
AttributeDefName theAttributeDefName,
java.lang.String uuid)
create an attribute assign, including a uuid |
|
AttributeAssign(Group ownerGroup,
Member ownerMember,
java.lang.String theAction,
AttributeDefName theAttributeDefName,
java.lang.String uuid)
create an attribute assign, including a uuid. |
|
AttributeAssign(Group ownerGroup,
java.lang.String theAction,
AttributeDefName theAttributeDefName,
java.lang.String uuid)
create an attribute assign, including a uuid |
|
AttributeAssign(Membership ownerMembership,
java.lang.String theAction,
AttributeDefName theAttributeDefName,
java.lang.String uuid)
create an attribute assign, including a uuid |
|
AttributeAssign(Member ownerMember,
java.lang.String theActionId,
AttributeDefName theAttributeDefName,
java.lang.String uuid)
create an attribute assign, including a uuid |
|
AttributeAssign(Stem ownerStem,
java.lang.String theAction,
AttributeDefName theAttributeDefName,
java.lang.String uuid)
create an attribute assign, including a uuid |
Method Summary | |
---|---|
static java.util.Set<AttributeAssign> |
attributeAssignDeletes()
|
AttributeAssign |
clone()
deep clone the fields in this object |
AttributeAssign |
dbVersion()
save the state when retrieving from DB |
java.util.Set<java.lang.String> |
dbVersionDifferentFields()
see which fields have changed compared to the DB state (last known) note that attributes will print out: attribute__attributeName |
void |
dbVersionReset()
take a snapshot of the data since this is what is in the db |
void |
delete()
delete this object |
void |
deleteAndStore()
e.g. if enabled or disabled is switching, delete this attribute assignment (and child objects) and recommit it (which will not have the child objects or will have this time) |
boolean |
equals(java.lang.Object other)
|
AttributeAssignAction |
getAttributeAssignAction()
|
java.lang.String |
getAttributeAssignActionId()
action for this assignment (e.g. assign). |
AttributeAssignDelegatable |
getAttributeAssignDelegatable()
get the enum for delegatable, do not return null |
java.lang.String |
getAttributeAssignDelegatableDb()
internal method for hibernate to persist this enum |
AttributeAssignType |
getAttributeAssignType()
get the enum for delegatable, should not return null |
java.lang.String |
getAttributeAssignTypeDb()
internal method for hibernate to persist this enum |
AttributeDef |
getAttributeDef()
|
AttributeDefName |
getAttributeDefName()
|
java.lang.String |
getAttributeDefNameId()
attribute name in this assignment |
AttributeAssignAttrAssignDelegate |
getAttributeDelegate()
get the logic delegate |
AttributeValueDelegate |
getAttributeValueDelegate()
this delegate works on attributes and values at the same time |
java.lang.String |
getContextId()
context id of the transaction |
java.sql.Timestamp |
getCreatedOn()
when created |
java.lang.Long |
getCreatedOnDb()
when created |
java.sql.Timestamp |
getDisabledTime()
if there is a date here, and it is in the past, this assignment is disabled |
java.lang.Long |
getDisabledTimeDb()
if there is a date here, and it is in the past, this assignment is disabled |
java.lang.String |
getDisallowedDb()
if this is a permission, then if this permission assignment is allowed or not |
java.lang.String |
getEnabledDb()
true or false for if this assignment is enabled (e.g. might have expired) |
java.sql.Timestamp |
getEnabledTime()
if there is a date here, and it is in the future, this assignment is disabled until that time |
java.lang.Long |
getEnabledTimeDb()
if there is a date here, and it is in the future, this assignment is disabled until that time |
java.lang.String |
getId()
id of this attribute assign |
java.sql.Timestamp |
getLastUpdated()
when last updated |
java.lang.Long |
getLastUpdatedDb()
when last updated |
java.lang.String |
getNotes()
notes about this assignment, free-form text |
AttributeAssign |
getOwnerAttributeAssign()
if this is a attribute assign attribute, this is the foreign key |
java.lang.String |
getOwnerAttributeAssignId()
if this is an attribute assign attribute, this is the foreign key |
AttributeDef |
getOwnerAttributeDef()
if this is a attributeDef attribute, this is the foreign key |
java.lang.String |
getOwnerAttributeDefId()
if this is an attribute def attribute, this is the foreign key |
Group |
getOwnerGroup()
if this is a group attribute, this is the foreign key |
java.lang.String |
getOwnerGroupId()
if this is a group attribute, this is the foreign key |
Membership |
getOwnerImmediateMembership()
if this is a membership attribute, this is the foreign key |
Member |
getOwnerMember()
if this is a member attribute, this is the foreign key |
java.lang.String |
getOwnerMemberId()
if this is a member attribute, this is the foreign key |
Membership |
getOwnerMembership()
if this is a membership attribute, this is the foreign key |
java.lang.String |
getOwnerMembershipId()
if this is a membership attribute, this is the foreign key |
java.lang.String |
getOwnerSingleId()
if it is possible to get a single ownerid (i.e. not any_mem), then do that here |
Stem |
getOwnerStem()
if this is a stem attribute, this is the foreign key |
Stem |
getOwnerStemFailsafe()
if this is a stem attribute, this is the foreign key |
java.lang.String |
getOwnerStemId()
if this is a stem attribute, this is the foreign key |
AttributeAssignValueDelegate |
getValueDelegate()
|
int |
hashCode()
|
static int |
internal_fixEnabledDisabled()
fix enabled and disabled memberships, and return the count of how many were fixed |
void |
internalSetAttributeDef(AttributeDef attributeDef1)
set this for caching |
void |
internalSetAttributeDefName(AttributeDefName attributeDefName1)
set this for caching |
boolean |
isDisallowed()
if this is a permission, then if this permission assignment is allowed or not |
boolean |
isEnabled()
true or false for if this assignment is enabled (e.g. might have expired) |
void |
onPostDelete(HibernateSession hibernateSession)
after a delete occurs |
void |
onPostSave(HibernateSession hibernateSession)
after a save (insert) occurs |
void |
onPostUpdate(HibernateSession hibernateSession)
after an update occurs |
void |
onPreDelete(HibernateSession hibernateSession)
before a delete (insert) occurs |
void |
onPreSave(HibernateSession hibernateSession)
before a save (insert) occurs |
void |
onPreUpdate(HibernateSession hibernateSession)
before an update occurs |
AttributeAssignable |
retrieveAttributeAssignable()
get the delegate that relates the object with the the assignment |
AttributeAssignBaseDelegate |
retrieveAttributeAssignDelegate()
get the delegate that relates the object with the the assignment |
static java.util.Set<AttributeDef> |
retrieveAttributeDefs(java.util.Collection<AttributeAssign> attributeAssigns)
retrieve a set of attributeDefs based on some assignments |
void |
saveOrUpdate()
save or update this object |
void |
saveOrUpdate(boolean checkSecurity)
save or update this object |
void |
setAttributeAssignActionId(java.lang.String theActionId)
default is "assign" actions must contain only alphanumeric or underscore, case sensitive e.g. id for read,write,admin |
void |
setAttributeAssignDelegatable(AttributeAssignDelegatable attributeAssignDelegatable1)
|
void |
setAttributeAssignDelegatableDb(java.lang.String theAttributeAssignDelegatableDb)
internal method for hibernate to set if delegatable |
void |
setAttributeAssignType(AttributeAssignType attributeAssignType1)
|
void |
setAttributeAssignTypeDb(java.lang.String theAttributeAssignTypeDb)
internal method for hibernate to set if delegatable |
void |
setAttributeDefNameId(java.lang.String attributeDefNameId1)
attribute name in this assignment |
void |
setContextId(java.lang.String contextId1)
context id of the transaction |
void |
setCreatedOn(java.sql.Timestamp createdOn1)
when created |
void |
setCreatedOnDb(java.lang.Long createdOn1)
when created |
void |
setDisabledTime(java.sql.Timestamp disabledTimeDb1)
if there is a date here, and it is in the past, this assignment is disabled |
void |
setDisabledTimeDb(java.lang.Long disabledTimeDb1)
if there is a date here, and it is in the past, this assignment is disabled |
void |
setDisallowed(boolean disallowed1)
if this is a permission, then if this permission assignment is allowed or not |
void |
setDisallowedDb(java.lang.String disallowed1)
if this is a permission, then if this permission assignment is allowed or not |
void |
setEnabled(boolean enabled1)
true or false for if this assignment is enabled (e.g. might have expired) dont call this method, its for hibernate |
void |
setEnabledDb(java.lang.String enabled1)
true or false for if this assignment is enabled (e.g. might have expired) dont call this method, its for hibernate |
void |
setEnabledTime(java.sql.Timestamp enabledTimeDb1)
if there is a date here, and it is in the future, this assignment is disabled until that time |
void |
setEnabledTimeDb(java.lang.Long enabledTimeDb1)
if there is a date here, and it is in the future, this assignment is disabled until that time |
void |
setId(java.lang.String id1)
id of this attribute assign |
void |
setLastUpdated(java.sql.Timestamp lastUpdated1)
when last updated |
void |
setLastUpdatedDb(java.lang.Long lastUpdated1)
when last updated |
void |
setNotes(java.lang.String notes1)
notes about this assignment, free-form text |
void |
setOwnerAttributeAssignId(java.lang.String ownerAttributeAssignId1)
if this is an attribute assign attribute, this is the foreign key |
void |
setOwnerAttributeDefId(java.lang.String ownerAttributeDefId1)
if this is an attribute def attribute, this is the foreign key |
void |
setOwnerGroupId(java.lang.String ownerAttributeGroupId1)
if this is a group attribute, this is the foreign key |
void |
setOwnerMemberId(java.lang.String ownerAttributeMemberId1)
if this is a member attribute, this is the foreign key |
void |
setOwnerMembershipId(java.lang.String ownerAttributeMembershipId1)
if this is a membership attribute, this is the foreign key |
void |
setOwnerStemId(java.lang.String ownerAttributeStemId1)
if this is a stem attribute, this is the foreign key |
java.lang.String |
toString()
|
void |
xmlCopyBusinessPropertiesToExisting(AttributeAssign existingRecord)
copy business (non update) properties to an existing record |
boolean |
xmlDifferentBusinessProperties(AttributeAssign other)
see if the non update cols are different (e.g. name) |
boolean |
xmlDifferentUpdateProperties(AttributeAssign other)
see if the update cols are different (e.g. last updated) |
java.lang.String |
xmlGetId()
set id key in db |
AttributeAssign |
xmlRetrieveByIdOrKey(java.util.Collection<java.lang.String> idsToIgnore)
retrieve from db by id or key. |
AttributeAssign |
xmlSaveBusinessProperties(AttributeAssign existingRecord)
save the business properties (not update properties) |
void |
xmlSaveUpdateProperties()
save the udpate properties (e.g. last updated). |
void |
xmlSetId(java.lang.String theId)
set id key in db |
XmlExportAttributeAssign |
xmlToExportAttributeAssign(GrouperVersion grouperVersion)
convert to xml bean for export |
java.lang.String |
xmlToString()
convert to string for log |
Methods inherited from class edu.internet2.middleware.grouper.GrouperAPI |
---|
dbVersionClear, dbVersionIsDifferent, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onSave, onUpdate, setHibernateVersionNumber |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TABLE_GROUPER_ATTRIBUTE_ASSIGN
public static final java.lang.String COLUMN_DISALLOWED
public static final java.lang.String COLUMN_ATTRIBUTE_ASSIGN_ACTION_ID
public static final java.lang.String COLUMN_CONTEXT_ID
public static final java.lang.String COLUMN_CREATED_ON
public static final java.lang.String COLUMN_LAST_UPDATED
public static final java.lang.String COLUMN_NOTES
public static final java.lang.String COLUMN_ID
public static final java.lang.String COLUMN_ATTRIBUTE_DEF_NAME_ID
public static final java.lang.String COLUMN_ATTRIBUTE_ASSIGN_DELEGATABLE
public static final java.lang.String COLUMN_ATTRIBUTE_ASSIGN_TYPE
public static final java.lang.String COLUMN_OWNER_GROUP_ID
public static final java.lang.String COLUMN_OWNER_STEM_ID
public static final java.lang.String COLUMN_OWNER_MEMBER_ID
public static final java.lang.String COLUMN_OWNER_MEMBERSHIP_ID
public static final java.lang.String COLUMN_OWNER_ATTRIBUTE_ASSIGN_ID
public static final java.lang.String COLUMN_OWNER_ATTRIBUTE_DEF_ID
public static final java.lang.String COLUMN_ENABLED
public static final java.lang.String COLUMN_ENABLED_TIME
public static final java.lang.String COLUMN_DISABLED_TIME
public static final java.lang.String FIELD_DISALLOWED
public static final java.lang.String FIELD_ATTRIBUTE_ASSIGN_ACTION_ID
public static final java.lang.String FIELD_ATTRIBUTE_ASSIGN_DELEGATABLE
public static final java.lang.String FIELD_ATTRIBUTE_ASSIGN_TYPE
public static final java.lang.String FIELD_ATTRIBUTE_DEF_NAME_ID
public static final java.lang.String FIELD_CONTEXT_ID
public static final java.lang.String FIELD_CREATED_ON_DB
public static final java.lang.String FIELD_DISABLED_TIME_DB
public static final java.lang.String FIELD_ENABLED_TIME_DB
public static final java.lang.String FIELD_ID
public static final java.lang.String FIELD_LAST_UPDATED_DB
public static final java.lang.String FIELD_NOTES
public static final java.lang.String FIELD_OWNER_ATTRIBUTE_ASSIGN_ID
public static final java.lang.String FIELD_OWNER_ATTRIBUTE_DEF_ID
public static final java.lang.String FIELD_OWNER_GROUP_ID
public static final java.lang.String FIELD_OWNER_MEMBER_ID
public static final java.lang.String FIELD_OWNER_MEMBERSHIP_ID
public static final java.lang.String FIELD_OWNER_STEM_ID
public static final java.lang.String FIELD_VALUE_DELEGATE
Constructor Detail |
---|
public AttributeAssign()
public AttributeAssign(Stem ownerStem, java.lang.String theAction, AttributeDefName theAttributeDefName, java.lang.String uuid)
ownerStem
- theAction
- theAttributeDefName
- uuid
- public AttributeAssign(AttributeDef ownerAttributeDef, java.lang.String theAction, AttributeDefName theAttributeDefName, java.lang.String uuid)
ownerAttributeDef
- theAction
- theAttributeDefName
- uuid
- is uuid or null if generatedpublic AttributeAssign(Group ownerGroup, java.lang.String theAction, AttributeDefName theAttributeDefName, java.lang.String uuid)
ownerGroup
- theAction
- theAttributeDefName
- uuid
- is the uuid or null if generatedpublic AttributeAssign(Group ownerGroup, Member ownerMember, java.lang.String theAction, AttributeDefName theAttributeDefName, java.lang.String uuid)
ownerGroup
- ownerMember
- theAction
- theAttributeDefName
- uuid
- public AttributeAssign(AttributeAssign ownerAttributeAssign, java.lang.String theAction, AttributeDefName theAttributeDefName, java.lang.String uuid)
ownerAttributeAssign
- theAction
- theAttributeDefName
- uuid
- to use or null for generatedpublic AttributeAssign(Membership ownerMembership, java.lang.String theAction, AttributeDefName theAttributeDefName, java.lang.String uuid)
ownerMembership
- theAction
- theAttributeDefName
- uuid
- public AttributeAssign(Member ownerMember, java.lang.String theActionId, AttributeDefName theAttributeDefName, java.lang.String uuid)
ownerMember
- theActionId
- theAttributeDefName
- uuid
- is the uuid or null for generatedMethod Detail |
---|
public void saveOrUpdate()
public void saveOrUpdate(boolean checkSecurity)
checkSecurity
- public static java.util.Set<AttributeAssign> attributeAssignDeletes()
public void delete()
public AttributeAssign clone()
clone
in interface GrouperCloneable
clone
in class GrouperAPI
Object.clone()
public AttributeAssignDelegatable getAttributeAssignDelegatable()
public java.lang.String getAttributeAssignDelegatableDb()
public void setAttributeAssignDelegatableDb(java.lang.String theAttributeAssignDelegatableDb)
theAttributeAssignDelegatableDb
- public void setAttributeAssignDelegatable(AttributeAssignDelegatable attributeAssignDelegatable1)
attributeAssignDelegatable1
- the attributeAssignDelegatable to setpublic AttributeAssignType getAttributeAssignType()
public java.lang.String getAttributeAssignTypeDb()
public void setAttributeAssignTypeDb(java.lang.String theAttributeAssignTypeDb)
theAttributeAssignTypeDb
- public void setAttributeAssignType(AttributeAssignType attributeAssignType1)
attributeAssignType1
- the attributeAssignDelegatable to setpublic void setDisallowed(boolean disallowed1)
disallowed1
- the allowed to setpublic void setDisallowedDb(java.lang.String disallowed1)
disallowed1
- the allowed to setpublic java.lang.String getDisallowedDb()
public boolean isDisallowed()
public java.lang.String getAttributeAssignActionId()
public void internalSetAttributeDefName(AttributeDefName attributeDefName1)
attributeDefName1
- public void internalSetAttributeDef(AttributeDef attributeDef1)
attributeDef1
- public AttributeDefName getAttributeDefName()
public AttributeAssignAction getAttributeAssignAction()
public AttributeDef getAttributeDef()
public AttributeAssignAttrAssignDelegate getAttributeDelegate()
AttributeAssignable
getAttributeDelegate
in interface AttributeAssignable
public void setAttributeAssignActionId(java.lang.String theActionId)
theActionId
- public java.lang.String getContextId()
public void setContextId(java.lang.String contextId1)
setContextId
in interface GrouperHasContext
contextId1
- public java.lang.String getId()
public void setId(java.lang.String id1)
id1
- public java.sql.Timestamp getLastUpdated()
public java.lang.Long getLastUpdatedDb()
public void setLastUpdated(java.sql.Timestamp lastUpdated1)
lastUpdated1
- public void setLastUpdatedDb(java.lang.Long lastUpdated1)
lastUpdated1
- public java.sql.Timestamp getCreatedOn()
public java.lang.Long getCreatedOnDb()
public void setCreatedOn(java.sql.Timestamp createdOn1)
createdOn1
- public void setCreatedOnDb(java.lang.Long createdOn1)
createdOn1
- public java.lang.String getNotes()
public void setNotes(java.lang.String notes1)
notes1
- public java.lang.String getAttributeDefNameId()
public void setAttributeDefNameId(java.lang.String attributeDefNameId1)
attributeDefNameId1
- the attributeNameId to setpublic java.lang.String getOwnerAttributeAssignId()
public void setOwnerAttributeAssignId(java.lang.String ownerAttributeAssignId1)
ownerAttributeAssignId1
- the ownerAttributeAssignId to setpublic java.lang.String getOwnerAttributeDefId()
public void setOwnerAttributeDefId(java.lang.String ownerAttributeDefId1)
ownerAttributeDefId1
- the ownerAttributeDefId to setpublic java.lang.String getOwnerGroupId()
public Group getOwnerGroup()
public Membership getOwnerMembership()
public Member getOwnerMember()
public AttributeAssign getOwnerAttributeAssign()
public AttributeDef getOwnerAttributeDef()
public Membership getOwnerImmediateMembership()
public Stem getOwnerStem()
public Stem getOwnerStemFailsafe()
public void setOwnerGroupId(java.lang.String ownerAttributeGroupId1)
ownerAttributeGroupId1
- the ownerAttributeGroupId to setpublic java.lang.String getOwnerMemberId()
public void setOwnerMemberId(java.lang.String ownerAttributeMemberId1)
ownerAttributeMemberId1
- the ownerAttributeMemberId to setpublic java.lang.String getOwnerMembershipId()
public void setOwnerMembershipId(java.lang.String ownerAttributeMembershipId1)
ownerAttributeMembershipId1
- the ownerAttributeMembershipId to setpublic java.lang.String getOwnerStemId()
public void setOwnerStemId(java.lang.String ownerAttributeStemId1)
ownerAttributeStemId1
- the ownerAttributeStemId to setpublic boolean isEnabled()
public java.lang.String getEnabledDb()
public void setEnabledDb(java.lang.String enabled1)
enabled1
- the enabled to setpublic void setEnabled(boolean enabled1)
enabled1
- the enabled to setpublic java.lang.Long getEnabledTimeDb()
public void setEnabledTimeDb(java.lang.Long enabledTimeDb1)
enabledTimeDb1
- the enabledTimeDb to setpublic java.lang.Long getDisabledTimeDb()
public void setDisabledTimeDb(java.lang.Long disabledTimeDb1)
disabledTimeDb1
- the disabledTimeDb to setpublic java.sql.Timestamp getEnabledTime()
public void setEnabledTime(java.sql.Timestamp enabledTimeDb1)
enabledTimeDb1
- the enabledTimeDb to setpublic java.sql.Timestamp getDisabledTime()
public void setDisabledTime(java.sql.Timestamp disabledTimeDb1)
disabledTimeDb1
- the disabledTimeDb to setpublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public void xmlCopyBusinessPropertiesToExisting(AttributeAssign existingRecord)
XmlImportableBase
xmlCopyBusinessPropertiesToExisting
in interface XmlImportableBase<AttributeAssign>
XmlImportableBase.xmlCopyBusinessPropertiesToExisting(java.lang.Object)
public boolean xmlDifferentBusinessProperties(AttributeAssign other)
XmlImportableBase
xmlDifferentBusinessProperties
in interface XmlImportableBase<AttributeAssign>
other
- the one to compare with
XmlImportableBase.xmlDifferentBusinessProperties(java.lang.Object)
public boolean xmlDifferentUpdateProperties(AttributeAssign other)
XmlImportableBase
xmlDifferentUpdateProperties
in interface XmlImportableBase<AttributeAssign>
other
- the one to compare with
XmlImportableBase.xmlDifferentUpdateProperties(java.lang.Object)
public AttributeAssign xmlSaveBusinessProperties(AttributeAssign existingRecord)
XmlImportableBase
xmlSaveBusinessProperties
in interface XmlImportableBase<AttributeAssign>
existingRecord
- null if insert, the object if exists in DB
generally just copy the hibernate version number, and last updated to the
object and store it
XmlImportableBase.xmlSaveBusinessProperties(java.lang.Object)
public void xmlSaveUpdateProperties()
XmlImportableBase
xmlSaveUpdateProperties
in interface XmlImportableBase<AttributeAssign>
XmlImportableBase.xmlSaveUpdateProperties()
public AttributeAssign xmlRetrieveByIdOrKey(java.util.Collection<java.lang.String> idsToIgnore)
XmlImportableMultiple
xmlRetrieveByIdOrKey
in interface XmlImportableMultiple<AttributeAssign>
idsToIgnore
- these are ids already processed, do not pick these
XmlImportableMultiple.xmlRetrieveByIdOrKey(java.util.Collection)
public XmlExportAttributeAssign xmlToExportAttributeAssign(GrouperVersion grouperVersion)
grouperVersion
-
public java.lang.String xmlGetId()
XmlImportableBase
xmlGetId
in interface XmlImportableBase<AttributeAssign>
XmlImportableBase.xmlGetId()
public void xmlSetId(java.lang.String theId)
XmlImportableBase
xmlSetId
in interface XmlImportableBase<AttributeAssign>
XmlImportableBase.xmlSetId(java.lang.String)
public java.lang.String xmlToString()
XmlImportableBase
xmlToString
in interface XmlImportableBase<AttributeAssign>
XmlImportableBase.xmlToString()
public AttributeAssignable retrieveAttributeAssignable()
public AttributeAssignBaseDelegate retrieveAttributeAssignDelegate()
public AttributeAssignValueDelegate getValueDelegate()
public AttributeValueDelegate getAttributeValueDelegate()
getAttributeValueDelegate
in interface AttributeAssignable
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
public static java.util.Set<AttributeDef> retrieveAttributeDefs(java.util.Collection<AttributeAssign> attributeAssigns)
attributeAssigns
-
public void onPostDelete(HibernateSession hibernateSession)
HibGrouperLifecycle
onPostDelete
in interface HibGrouperLifecycle
onPostDelete
in class GrouperAPI
GrouperAPI.onPostDelete(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public void onPostSave(HibernateSession hibernateSession)
HibGrouperLifecycle
onPostSave
in interface HibGrouperLifecycle
onPostSave
in class GrouperAPI
HibGrouperLifecycle.onPostSave(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public void onPostUpdate(HibernateSession hibernateSession)
HibGrouperLifecycle
onPostUpdate
in interface HibGrouperLifecycle
onPostUpdate
in class GrouperAPI
HibGrouperLifecycle.onPostUpdate(HibernateSession)
public void onPreDelete(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreDelete
in interface HibGrouperLifecycle
onPreDelete
in class GrouperAPI
GrouperAPI.onPreDelete(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public void onPreSave(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreSave
in interface HibGrouperLifecycle
onPreSave
in class GrouperAPI
GrouperAPI.onPreSave(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public void onPreUpdate(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreUpdate
in interface HibGrouperLifecycle
onPreUpdate
in class GrouperAPI
GrouperAPI.onPreUpdate(edu.internet2.middleware.grouper.hibernate.HibernateSession)
public java.lang.String getOwnerSingleId()
public void deleteAndStore()
public AttributeAssign dbVersion()
dbVersion
in class GrouperAPI
public void dbVersionReset()
dbVersionReset
in class GrouperAPI
public java.util.Set<java.lang.String> dbVersionDifferentFields()
GrouperAPI
dbVersionDifferentFields
in class GrouperAPI
GrouperAPI.dbVersionDifferentFields()
public static int internal_fixEnabledDisabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |