|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FavoritesContainer
Contains one or more links to an object that a user has marked as a favorite.
Attributes of FavoritesContainer are:
Associations of FavoritesContainer 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(); FavoritesContainer myObject = (FavoritesContainer) factory.createComplexMetadataObject(objectStore, "FavoritesContainer_Object", MetadataObjects.FAVORITESCONTAINER, "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_FAVORITES_NAME
Constant used for the name of the Favorites association. |
static java.lang.String |
ASSOCIATION_PARENTCONTAINER_NAME
Constant used for the name of the ParentContainer association. |
static java.lang.String |
ASSOCIATION_SUBCONTAINERS_NAME
Constant used for the name of the SubContainers association. |
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 |
getFavorites()
Gets the Association list of Favorites |
AssociationList |
getFavorites(boolean fGoToServer)
Gets the Associationlist of Favorites |
FavoritesContainer |
getParentContainer()
Gets the FavoritesContainer for ParentContainer |
AssociationList |
getParentContainers()
Gets the AssociationList of ParentContainers |
AssociationList |
getParentContainers(boolean fGoToServer)
Gets the Associationlist of ParentContainers |
AssociationList |
getSubContainers()
Gets the Association list of SubContainers |
AssociationList |
getSubContainers(boolean fGoToServer)
Gets the Associationlist of SubContainers |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: ParentContainer |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setFavorites(AssociationList list)
Sets the Favorites list to be list . |
void |
setFavorites(AssociationList inObjects,
int state)
Sets the entire Favorites list to match the passed in AssociationList, sets the state of the Favorites |
void |
setParentContainer(FavoritesContainer inObject)
Sets the ParentContainers list 0th element to be inObject . |
void |
setParentContainers(AssociationList list)
Sets the ParentContainers list to be list . |
void |
setParentContainers(AssociationList list,
int state)
Sets the ParentContainers list to be list . |
void |
setSubContainers(AssociationList list)
Sets the SubContainers list to be list . |
void |
setSubContainers(AssociationList inObjects,
int state)
Sets the entire SubContainers list to match the passed in AssociationList, sets the state of the SubContainers |
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 ASSOCIATION_PARENTCONTAINER_NAME
ParentContainer: The parent favorites container for this sub container.
static final java.lang.String ASSOCIATION_FAVORITES_NAME
Favorites: The favorites for this container.
static final java.lang.String ASSOCIATION_SUBCONTAINERS_NAME
SubContainers: The favorites containers that are parented by this container.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
ParentContainer
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getParentContainers() throws java.rmi.RemoteException, MdException
ParentContainers
ParentContainers
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
FavoritesContainer getParentContainer() throws java.rmi.RemoteException, MdException
FavoritesContainer
for ParentContainer
FavoritesContainer
( null
if not set) of ParentContainer
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 getFavorites() throws java.rmi.RemoteException, MdException
Favorites
Favorites
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 getSubContainers() throws java.rmi.RemoteException, MdException
SubContainers
SubContainers
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 getParentContainers(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ParentContainers
fGoToServer
- boolean Get the value from the server.
ParentContainers
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 getFavorites(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Favorites
fGoToServer
- boolean Get the value from the server.
Favorites
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 getSubContainers(boolean fGoToServer) throws java.rmi.RemoteException, MdException
SubContainers
fGoToServer
- boolean Get the value from the server.
SubContainers
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 setParentContainers(AssociationList list) throws java.rmi.RemoteException
ParentContainers
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setParentContainers(AssociationList list, int state) throws java.rmi.RemoteException
ParentContainers
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setParentContainer(FavoritesContainer inObject) throws java.rmi.RemoteException
ParentContainers
list 0th element to be inObject
.
inObject
- FavoritesContainer
java.rmi.RemoteException
- If error communicating with remote object.void setFavorites(AssociationList list) throws java.rmi.RemoteException
Favorites
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setFavorites(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSubContainers(AssociationList list) throws java.rmi.RemoteException
SubContainers
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setSubContainers(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 |