|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILayout
The semantic aspect of a layout object. Defines the layout object specific functionality.
Can be retreived by JNDI lookup:
Hashtable env = new Hashtable();
env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
env.put(Context.SECURITY_PRINCIPAL, user);
try
{
com.sapportals.portal.prt.jndisupport.InitialContext iCtx = new InitialContext(env);
ILayout layout = (ILayout)iCtx.lookup(name);
}
catch (NamingException e)
{
// ...
}
IPage,
ILayouts,
IAttrLayout| Field Summary |
|---|
| Fields inherited from interface com.sap.portal.pcm.IAttributes |
|---|
ADMINISTRATION, ATTRIBUTE_NOT_FOUND, DIALOG, DIALOG_READ_ONLY, NONDIALOG, NONE, PERSONALIZATION, STRING_ATTRIBUTE, TEXT_ATTRIBUTE |
| Method Summary | |
|---|---|
String |
getContainerID(String containerName)
Get the container Id by the container name (as defined in the JSP). |
String[] |
getContaineriViews(String containerID)
Get all iViews/pages of the container by their names. |
String[] |
getContainersIDs()
Get all layout-containers Ids. |
boolean |
isRestricted()
Indicated whether the Layout has a restricted container. |
void |
setiViewInContainer(String objName,
String containerId)
Set an iView/page object in a specified container. |
void |
setiViewInContainer(String objName,
String containerId,
int position)
Set an iView/page object in a specified container, on a specific position. |
void |
unassignAlliViews()
Remove all the iViews/pages from their containers. |
void |
unassigniView(String objName)
Remove an iView/page object from its container. |
| Methods inherited from interface com.sap.portal.pcm.admin.IAttributeSet |
|---|
save, validate |
| Methods inherited from interface com.sap.portal.pcm.IMutableAttributes |
|---|
deleteAttribute, deleteMetaAttribute, putAttribute, putAttribute, putMetaAttribute, putMetaAttribute |
| Methods inherited from interface com.sap.portal.pcm.IAttributes |
|---|
getAttribute, getAttribute, getAttributeIds, getAttributeType, getAvailableAttributeLocales, getAvailableMetaAttributeLocales, getMetaAttribute, getMetaAttribute, getMetaAttributeIds, getMetaAttributeType |
| Method Detail |
|---|
String getContainerID(String containerName)
containerName - the name of the container
String[] getContainersIDs()
String[] getContaineriViews(String containerID)
containerID - the Id of the container
void setiViewInContainer(String objName,
String containerId)
objName - the iView/page name (relative to the page)containerId - the container Id
void setiViewInContainer(String objName,
String containerId,
int position)
objName - the iView/page name (relative to the page)containerId - the container Idposition - position in the containervoid unassigniView(String objName)
objName - the iView/page name (relative to the page)void unassignAlliViews()
boolean isRestricted()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||