|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface PSLayoutComponent
A UI element that designates how Portlets should be laid out on a PortalPage.
Attributes of PSLayoutComponent are:
Associations of PSLayoutComponent 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(); PSLayoutComponent myObject = (PSLayoutComponent) factory.createComplexMetadataObject(objectStore, "PSLayoutComponent_Object", MetadataObjects.PSLAYOUTCOMPONENT, "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_OWNINGPAGE_NAME
Constant used for the name of the OwningPage association. |
static java.lang.String |
ASSOCIATION_PORTLETS_NAME
Constant used for the name of the Portlets 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 | |
|---|---|
abstract PSPortalPage |
getOwningPage()
Gets the PSPortalPage for OwningPage |
abstract AssociationList |
getOwningPages()
Gets the AssociationList of OwningPages |
abstract AssociationList |
getOwningPages(boolean fGoToServer)
Gets the Associationlist of OwningPages |
abstract AssociationList |
getPortlets()
Gets the Association list of Portlets |
abstract AssociationList |
getPortlets(boolean fGoToServer)
Gets the Associationlist of Portlets |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: OwningPage |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningPage |
abstract void |
setOwningPage(PSPortalPage inObject)
Sets the OwningPages list 0th element to be inObject. |
abstract void |
setOwningPages(AssociationList list)
Sets the OwningPages list to be list. |
abstract void |
setOwningPages(AssociationList list,
int state)
Sets the OwningPages list to be list. |
abstract void |
setPortlets(AssociationList list)
Sets the Portlets list to be list. |
abstract void |
setPortlets(AssociationList inObjects,
int state)
Sets the entire Portlets list to match the passed in AssociationList, sets the state of the Portlets |
| 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_OWNINGPAGE_NAME
OwningPage: The PortalPage that this Layout applies to
static final java.lang.String ASSOCIATION_PORTLETS_NAME
Portlets: The Portlets to be displayed on the PortalPage
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
OwningPage
initializeRequiredObjects 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
OwningPage
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface PrimaryTypeinitializePredObjects in interface Rootjava.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getOwningPages()
throws java.rmi.RemoteException,
MdException
OwningPages
OwningPages which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException
PSPortalPage getOwningPage()
throws java.rmi.RemoteException,
MdException
PSPortalPage for OwningPage
PSPortalPage ( null if not set) of OwningPagewhich 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 getPortlets()
throws java.rmi.RemoteException,
MdException
Portlets
Portlets 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 getOwningPages(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
OwningPages
fGoToServer - boolean Get the value from the server.
OwningPages 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 getPortlets(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
Portlets
fGoToServer - boolean Get the value from the server.
Portlets 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 setOwningPages(AssociationList list)
throws java.rmi.RemoteException
OwningPages list to be list. Object of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setOwningPages(AssociationList list,
int state)
throws java.rmi.RemoteException
OwningPages list to be list. Object of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setOwningPage(PSPortalPage inObject)
throws java.rmi.RemoteException
OwningPages list 0th element to be inObject.
inObject - PSPortalPage
java.rmi.RemoteException - If error communicating with remote object.
void setPortlets(AssociationList list)
throws java.rmi.RemoteException
Portlets list to be list. Objects of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setPortlets(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 | |||||||||||||