|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.internet2.middleware.grouper.GrouperAPI edu.internet2.middleware.grouper.externalSubjects.ExternalSubjectAttribute
public class ExternalSubjectAttribute
attribute on an external subject, configured in the grouper.properties
Field Summary | |
---|---|
static String |
COLUMN_ATTRIBUTE_SYSTEM_NAME
column name for attribute system name |
static String |
COLUMN_ATTRIBUTE_VALUE
column name for attribute value |
static String |
COLUMN_CONTEXT_ID
column name for context id |
static String |
COLUMN_CREATE_TIME
column name for create time |
static String |
COLUMN_CREATOR_MEMBER_ID
column name for creator member id |
static String |
COLUMN_MODIFIER_MEMBER_ID
column name for modifier member id |
static String |
COLUMN_MODIFY_TIME
column name for modify time |
static String |
COLUMN_SUBJECT_UUID
column name for subject uuid |
static String |
COLUMN_UUID
column name for uuid |
static String |
FIELD_ATTRIBUTE_SYSTEM_NAME
constant for field name for: attributeSystemName |
static String |
FIELD_ATTRIBUTE_VALUE
constant for field name for: attributeValue |
static String |
FIELD_CONTEXT_ID
constant for field name for: contextId |
static String |
FIELD_CREATE_TIME
constant for field name for: createTime |
static String |
FIELD_CREATOR_MEMBER_ID
constant for field name for: creatorMemberId |
static String |
FIELD_MODIFIER_MEMBER_ID
constant for field name for: modifierMemberId |
static String |
FIELD_MODIFY_TIME
constant for field name for: modifyTime |
static String |
FIELD_SUBJECT_UUID
constant for field name for: subjectUuid |
static String |
FIELD_UUID
constant for field name for: uuid |
static String |
TABLE_GROUPER_EXT_SUBJ_ATTR
table name for external subject attributes |
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 | |
---|---|
ExternalSubjectAttribute()
|
Method Summary | |
---|---|
static void |
assertValidAttribute(String attributeName)
assert that the attribute name is valid |
ExternalSubjectAttribute |
clone()
deep clone the fields in this object |
String |
getAttributeSystemName()
system name of the attributes |
String |
getAttributeValue()
value of attribute |
String |
getContextId()
contextId links to audit tables |
Date |
getCreateTime()
Get creation time for this subject. |
long |
getCreateTimeDb()
|
String |
getCreatorMemberId()
|
String |
getModifierMemberId()
|
Date |
getModifyTime()
Get modify time for this subject. |
long |
getModifyTimeDb()
|
String |
getSubjectUuid()
subject uuid foreign key to subject table |
String |
getUuid()
uuid of the attribute |
void |
onPreSave(HibernateSession hibernateSession)
before a save (insert) occurs |
void |
onPreUpdate(HibernateSession hibernateSession)
before an update occurs |
void |
setAttributeSystemName(String attributeSystemName1)
system name of the attributes |
void |
setAttributeValue(String attributeValue1)
value of the attribute |
void |
setContextId(String contextId1)
contextId links to audit tables |
void |
setCreateTimeDb(long createTime1)
create time |
void |
setCreatorMemberId(String creatorMemberId1)
member id of creator |
void |
setModifierMemberId(String modifierMemberId1)
member id of modifier |
void |
setModifyTimeDb(long modifyTime1)
last time modified |
void |
setSubjectUuid(String subjectUuid1)
subject uuid foreign key to subject table |
void |
setUuid(String uuid1)
uuid of the attribute |
void |
store(ExternalSubject externalSubject)
store this object to the DB. |
String |
toString()
|
static boolean |
validAttribute(String attributeName,
boolean errorOnNotfound)
assert that the attribute name is valid |
Methods inherited from class edu.internet2.middleware.grouper.GrouperAPI |
---|
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, dbVersionReset, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, onPreDelete, onSave, onUpdate, setHibernateVersionNumber |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String COLUMN_CREATE_TIME
public static final String COLUMN_CREATOR_MEMBER_ID
public static final String COLUMN_MODIFIER_MEMBER_ID
public static final String COLUMN_MODIFY_TIME
public static final String TABLE_GROUPER_EXT_SUBJ_ATTR
public static final String COLUMN_CONTEXT_ID
public static final String COLUMN_ATTRIBUTE_SYSTEM_NAME
public static final String COLUMN_ATTRIBUTE_VALUE
public static final String COLUMN_SUBJECT_UUID
public static final String COLUMN_UUID
public static final String FIELD_ATTRIBUTE_SYSTEM_NAME
public static final String FIELD_ATTRIBUTE_VALUE
public static final String FIELD_CONTEXT_ID
public static final String FIELD_CREATE_TIME
public static final String FIELD_CREATOR_MEMBER_ID
public static final String FIELD_MODIFIER_MEMBER_ID
public static final String FIELD_MODIFY_TIME
public static final String FIELD_SUBJECT_UUID
public static final String FIELD_UUID
Constructor Detail |
---|
public ExternalSubjectAttribute()
Method Detail |
---|
public String getSubjectUuid()
public void setSubjectUuid(String subjectUuid1)
subjectUuid1
- public String getAttributeSystemName()
public void setAttributeSystemName(String attributeSystemName1)
attributeSystemName1
- public String getAttributeValue()
public void setAttributeValue(String attributeValue1)
attributeValue1
- public String getUuid()
public void setUuid(String uuid1)
uuid1
- public ExternalSubjectAttribute clone()
GrouperAPI
clone
in interface GrouperCloneable
clone
in class GrouperAPI
GrouperAPI.clone()
public String getContextId()
public void setContextId(String contextId1)
setContextId
in interface GrouperHasContext
contextId1
- public Date getCreateTime()
Date
that this subject was created.public long getCreateTimeDb()
public String getCreatorMemberId()
public String getModifierMemberId()
public Date getModifyTime()
Date
that this subject was created.public long getModifyTimeDb()
public void setCreateTimeDb(long createTime1)
createTime1
- public void setCreatorMemberId(String creatorMemberId1)
creatorMemberId1
- public void setModifierMemberId(String modifierMemberId1)
modifierMemberId1
- public void setModifyTimeDb(long modifyTime1)
modifyTime1
- public void onPreSave(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreSave
in interface HibGrouperLifecycle
onPreSave
in class GrouperAPI
GrouperAPI.onPreSave(HibernateSession)
public void onPreUpdate(HibernateSession hibernateSession)
HibGrouperLifecycle
onPreUpdate
in interface HibGrouperLifecycle
onPreUpdate
in class GrouperAPI
GrouperAPI.onPreUpdate(HibernateSession)
public static void assertValidAttribute(String attributeName)
attributeName
- public static boolean validAttribute(String attributeName, boolean errorOnNotfound)
attributeName
- errorOnNotfound
-
public void store(ExternalSubject externalSubject)
externalSubject
- reference back to ownerpublic String toString()
toString
in class Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |