public class RegistrySubjectAttribute extends Object implements Serializable
SubjectAttribute
table.Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Modifier | Constructor and Description |
---|---|
|
RegistrySubjectAttribute()
For Hibernate.
|
protected |
RegistrySubjectAttribute(String id,
String name,
String value,
String searchVal) |
Modifier and Type | Method and Description |
---|---|
static RegistrySubjectAttribute |
addOrUpdate(String subjectId,
String attributeName,
String value)
Add or update registry subject attribute
|
void |
delete()
Delete existing
RegistrySubjectAttribute . |
boolean |
equals(Object other) |
static RegistrySubjectAttribute |
find(String subjectId,
String attributeName,
boolean exceptionIfNotFound) |
String |
getName() |
String |
getSearchValue() |
String |
getSubjectId() |
String |
getValue() |
int |
hashCode() |
RegistrySubjectAttribute |
setName(String name) |
RegistrySubjectAttribute |
setSearchValue(String value) |
RegistrySubjectAttribute |
setSubjectId(String subjectId) |
RegistrySubjectAttribute |
setValue(String value) |
void |
store()
Delete existing
RegistrySubjectAttribute . |
public static final long serialVersionUID
public RegistrySubjectAttribute()
public String getName()
public String getSearchValue()
public String getSubjectId()
public String getValue()
public RegistrySubjectAttribute setName(String name)
public RegistrySubjectAttribute setSearchValue(String value)
public RegistrySubjectAttribute setSubjectId(String subjectId)
public RegistrySubjectAttribute setValue(String value)
public void delete() throws GrouperException, IllegalStateException, InsufficientPrivilegeException
RegistrySubjectAttribute
.
try { rSubjAttr.delete(s); } catch (GrouperException eG) { // failed to delete this RegistrySubject } catch (InsufficientPrivilegeException eIP) { // not privileged to delete this RegistrySubject }
GrouperException
- if RegistrySubjectAttribute cannot be deleted.IllegalStateException
- if GrouperSession is null.InsufficientPrivilegeException
- if not privileged to delete RegistrySubjects.public void store() throws GrouperException, IllegalStateException, InsufficientPrivilegeException
RegistrySubjectAttribute
.
try { rSubjAttr.delete(s); } catch (GrouperException eG) { // failed to delete this RegistrySubject } catch (InsufficientPrivilegeException eIP) { // not privileged to delete this RegistrySubject }
GrouperException
- if RegistrySubjectAttribute cannot be deleted.IllegalStateException
- if GrouperSession is null.InsufficientPrivilegeException
- if not privileged to delete RegistrySubjects.public static RegistrySubjectAttribute find(String subjectId, String attributeName, boolean exceptionIfNotFound)
subjectId
- attributeName
- exceptionIfNotFound
- public static RegistrySubjectAttribute addOrUpdate(String subjectId, String attributeName, String value)
subjectId
- attributeName
- value
- RegistrySubjectAttribute
.Copyright © 2016 Internet2. All rights reserved.