|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Principal
Class Principal
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.openmdx.security.realm1.cci2.Principal |
|---|
Principal.Identity |
| Method Summary | ||
|---|---|---|
void |
addAuthCredential(Credential newValue)
|
|
void |
addAuthCredential(int index,
Credential newValue)
|
|
void |
addIsMemberOf(Group newValue)
|
|
void |
addIsMemberOf(int index,
Group newValue)
|
|
Credential |
getCredential()
Retrieves the value for the reference credential. |
|
Realm |
getRealm()
Retrieves the value for the reference realm. |
|
Subject |
getSubject()
Retrieves the value for the reference subject. |
|
|
getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
Retrieves the value for the reference view for the
specified query. |
|
void |
removeAuthCredential(int index)
|
|
void |
removeCredential()
Removes the value for the optional reference credential. |
|
void |
removeIsMemberOf(int index)
|
|
void |
setCredential(Credential credential)
Sets a new value for the reference credential. |
|
void |
setRealm(Realm realm)
Sets a new value for the reference realm. |
|
void |
setRealm(Realm realm,
boolean idIsPersistent,
String id)
Set the object's composite association org:openmdx:security:realm1:RealmContainsPrincipal. |
|
void |
setSubject(Subject subject)
Sets a new value for the reference subject. |
|
| Methods inherited from interface org.openmdx.security.realm1.cci2.Principal |
|---|
getAuthCredential, getDescription, getIsMemberOf, getName, isDisabled, setDescription, setDisabled |
| Methods inherited from interface org.openmdx.base.jmi1.BasicObject |
|---|
getCreatedBy, getModifiedBy |
| Methods inherited from interface org.openmdx.base.cci2.BasicObject |
|---|
getCreatedAt, getModifiedAt |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable |
|---|
getView |
| Methods inherited from interface javax.jmi.reflect.RefObject |
|---|
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite |
| Methods inherited from interface javax.jmi.reflect.RefFeatured |
|---|
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue |
| Methods inherited from interface javax.jmi.reflect.RefBaseObject |
|---|
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
| Method Detail |
|---|
<T extends org.openmdx.compatibility.view1.cci2.View> List<T> getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
view for the
specified query.
query - predicate which is applied to the set of referenced objects.
true.
void addAuthCredential(int index,
Credential newValue)
index - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.void addAuthCredential(Credential newValue)
newValue - The element to be appended.void removeAuthCredential(int index)
Credential getCredential()
credential.
getCredential in interface Principalnull – value for this reference.void setCredential(Credential credential)
credential.
setCredential in interface Principalcredential - The non-null new value for this reference.void removeCredential()
credential.
void addIsMemberOf(int index,
Group newValue)
index - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.void addIsMemberOf(Group newValue)
newValue - The element to be appended.void removeIsMemberOf(int index)
Realm getRealm()
realm.
getRealm in interface Principalnull value for this reference.Subject getSubject()
subject.
getSubject in interface Principalnull value for this reference.void setSubject(Subject subject)
subject.
setSubject in interface Principalsubject - The non-null new value for this reference.void setRealm(Realm realm)
realm.
setRealm in interface Principalrealm - The non-null new value for this reference.
void setRealm(Realm realm,
boolean idIsPersistent,
String id)
org:openmdx:security:realm1:RealmContainsPrincipal.
setRealm in interface Principalrealm - The non-null new value for this object's composite owner.idIsPersistent - Defines whether the id is persistent.id - The non-null new value for this object's qualifier.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||