|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainAccount
A domain account. A domain account represents the role an account has within a domain.
Instances of Domain Account objects can be created using the following factory style method(s).
DomainAccount object = createDomainAccount
(
role,
account);
Collections for DomainAccount
objects can be created using the following factory method. This method creates the most appropriate collection implementation class for storing DomainAccount
elements.
Collection
<DomainAccount
> object =createDomainAccounts
();
Domain Account instances can be serialized as an XML document. This XML document can also be used to recreate a Domain Account object. The following XML document shows an example Domain Account in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<rights:DomainAccount xmlns:rights="http://xmlns.oracle.com/irm/rights">
<role>ADMINISTRATOR</role>
<account>
<uuid>021d94da-3b5b-41c3-afb0-55135a7e5321</uuid>
</account>
</rights:DomainAccount>
Method Summary | |
---|---|
Account |
getAccount() The account. |
Domain.Role |
getRole() The domain role. |
Method Detail |
---|
Domain.Role getRole()
Account getAccount()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |