|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface Person
This type represents the information kept about a person.
Attributes of Person are:
Associations of Person are:
factory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); Person myObject = (Person) factory.createComplexMetadataObject(objectStore, "Person_Object", MetadataObjects.PERSON, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil.
updateMetadataAll
method.
delete method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
| Field Summary | |
|---|---|
static java.lang.String |
ASSOCIATION_EMAILADDRESSES_NAME
Constant used for the name of the EmailAddresses association. |
static java.lang.String |
ASSOCIATION_LOCATIONS_NAME
Constant used for the name of the Locations association. |
static java.lang.String |
ASSOCIATION_PHONENUMBERS_NAME
Constant used for the name of the PhoneNumbers association. |
static java.lang.String |
ASSOCIATION_SUBSCRIBERIDENTITIES_NAME
Constant used for the name of the SubscriberIdentities association. |
static java.lang.String |
ATTRIBUTE_TITLE_NAME
Constant used for the name of the Title attribute. |
| Fields inherited from interface com.sas.metadata.remote.Identity |
|---|
ASSOCIATION_ACCESSCONTROLENTRIES_NAME, ASSOCIATION_ASSOCIATEDHOMEFOLDER_NAME, ASSOCIATION_IDENTITYCHANGES_NAME, ASSOCIATION_IDENTITYGROUPS_NAME, ASSOCIATION_INTERNALLOGININFO_NAME, ASSOCIATION_LOGINS_NAME, ASSOCIATION_RESPONSIBILITIES_NAME, ATTRIBUTE_DISPLAYNAME_NAME |
| Fields inherited from interface com.sas.metadata.remote.PrimaryType |
|---|
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_NAME |
| Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
|---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
| Method Summary | |
|---|---|
AssociationList |
getEmailAddresses()
Gets the AssociationList of EmailAddresses |
AssociationList |
getEmailAddresses(boolean fGoToServer)
Gets the Associationlist of EmailAddresses |
AssociationList |
getLocations()
Gets the AssociationList of Locations |
AssociationList |
getLocations(boolean fGoToServer)
Gets the Associationlist of Locations |
AssociationList |
getPhoneNumbers()
Gets the AssociationList of PhoneNumbers |
AssociationList |
getPhoneNumbers(boolean fGoToServer)
Gets the Associationlist of PhoneNumbers |
AssociationList |
getSubscriberIdentities()
Gets the Association list of SubscriberIdentities |
AssociationList |
getSubscriberIdentities(boolean fGoToServer)
Gets the Associationlist of SubscriberIdentities |
java.lang.String |
getTitle()
Gets the String value of Title |
int |
getTitleMaxLength()
Gets the maximum length of Title |
int |
getTitleState()
Gets the Metadata State of Title |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: EmailAddressesLocationsPhoneNumbers |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setEmailAddresses(AssociationList list)
Sets the EmailAddresses list to be list. |
void |
setEmailAddresses(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setLocations(AssociationList list)
Sets the Locations list to be list. |
void |
setLocations(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setPhoneNumbers(AssociationList list)
Sets the PhoneNumbers list to be list. |
void |
setPhoneNumbers(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setSubscriberIdentities(AssociationList list)
Sets the SubscriberIdentities list to be list. |
void |
setSubscriberIdentities(AssociationList inObjects,
int state)
Sets the entire SubscriberIdentities list to match the passed in AssociationList, sets the state of the SubscriberIdentities |
void |
setTitle(java.lang.String inTitle)
Sets the Title value and sets the state to MetadataState.LOCAL. |
void |
setTitle(java.lang.String inTitle,
int state)
Sets the Title Metadata State. |
void |
setTitleState(int state)
Sets the Metadata State of Title. |
| Methods inherited from interface com.sas.metadata.remote.PrimaryType |
|---|
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeState |
| Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
|---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
| Field Detail |
|---|
static final java.lang.String ATTRIBUTE_TITLE_NAME
Title: This is the persons job title.
static final java.lang.String ASSOCIATION_EMAILADDRESSES_NAME
EmailAddresses: The list of e-mail addresses for this person.
static final java.lang.String ASSOCIATION_LOCATIONS_NAME
Locations: The list of locations associated with this person.
static final java.lang.String ASSOCIATION_PHONENUMBERS_NAME
PhoneNumbers: The list of phone numbers for a person (or persons).
static final java.lang.String ASSOCIATION_SUBSCRIBERIDENTITIES_NAME
SubscriberIdentities: The subscriber profiles for this person.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface IdentityinitializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface PrimaryTypeinitializeRequiredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
EmailAddressesLocationsPhoneNumbers
initializePredObjects in interface IdentityinitializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getTitle()
throws java.rmi.RemoteException
String value of Title
Title
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getTitleState()
throws java.rmi.RemoteException
Title
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getTitleMaxLength()
throws java.rmi.RemoteException
Title
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getEmailAddresses()
throws java.rmi.RemoteException,
MdException
EmailAddresses
EmailAddresses which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getLocations()
throws java.rmi.RemoteException,
MdException
Locations
Locations which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getPhoneNumbers()
throws java.rmi.RemoteException,
MdException
PhoneNumbers
PhoneNumbers which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getSubscriberIdentities()
throws java.rmi.RemoteException,
MdException
SubscriberIdentities
SubscriberIdentities which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getEmailAddresses(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
EmailAddresses
fGoToServer - boolean Get the value from the server.
EmailAddresses which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getLocations(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Locations
fGoToServer - boolean Get the value from the server.
Locations which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getPhoneNumbers(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
PhoneNumbers
fGoToServer - boolean Get the value from the server.
PhoneNumbers which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
AssociationList getSubscriberIdentities(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
SubscriberIdentities
fGoToServer - boolean Get the value from the server.
SubscriberIdentities which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException - If error getting/setting part of the object.
void setTitle(java.lang.String inTitle)
throws java.rmi.RemoteException
Title value and sets the state to MetadataState.LOCAL.
inTitle - String
java.rmi.RemoteException - If error communicating with remote object.
void setTitle(java.lang.String inTitle,
int state)
throws java.rmi.RemoteException
Title Metadata State.
inTitle - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setTitleState(int state)
throws java.rmi.RemoteException
Title.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setEmailAddresses(AssociationList list)
throws java.rmi.RemoteException
EmailAddresses list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setEmailAddresses(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setLocations(AssociationList list)
throws java.rmi.RemoteException
Locations list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setLocations(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setPhoneNumbers(AssociationList list)
throws java.rmi.RemoteException
PhoneNumbers list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setPhoneNumbers(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setSubscriberIdentities(AssociationList list)
throws java.rmi.RemoteException
SubscriberIdentities list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setSubscriberIdentities(AssociationList inObjects,
int state)
throws java.rmi.RemoteException
inObjects - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||