public interface PortalInstance extends Portal<PortalInstancePropertyBean>
PortalInstance are normally created by obtaining a suitable PortalTemplate instance and
calling PortalTemplate.copyAsPortal(java.lang.String).
Instances representing existing Portals can be obtained via
PortalObjectRepository.
ManagedPortalObject.ValidateOnCreate, ManagedPortalObject.ValidateOnUpdateDEFAULT_GROUP_SPACE_NAME, DEFAULT_PORTAL_ID, DEFAULT_PORTAL_NAMESPACE, DEFAULT_PORTAL_TEMPLATE_NAMESPACE| Modifier and Type | Method and Description |
|---|---|
PortalTemplate |
copyAsPortalTemplate(java.lang.String name)
Creates a Portal Template from the Portal.
|
PortalTemplate |
copyAsPortalTemplate(java.lang.String name,
java.lang.String displayName,
java.lang.String description,
PortalTemplateCreationOptions options)
Creates a Portal Template from the Portal.
|
boolean |
isSubscriptionEnabled()
Whether subscription is enabled for the portal
|
void |
setAccessLevel(boolean isDiscoverable,
boolean isPublic)
Sets the portal's access level.
|
addToCustomAttributes, addToDeviceGroups, addToMembers, addToMembers, clearCustomAttributes, getAssets, getCustomAttributes, getDeviceGroup, getDeviceGroups, getJavaFormatId, getLockedPages, getLoginFailedPage, getLoginPage, getMember, getMembers, getNavigationRootNode, getNavigationRootNodeId, getOfflinePage, getOverrideSecurityPages, getPageCreationStyle, getPageDrafts, getPagesResourceCatalogId, getPageTemplateId, getPageTemplatesResourceCatalogId, getProperties, getProvisionedServiceIds, getResourceCatalogForGroupSpaceSiteTemplates, getSkin, getSkinId, isDefault, refreshMemberEntry, removeFromCustomAttributes, removeFromDeviceGroups, removeFromMembers, removeFromMembers, removeMembersWithRole, setCustomAttributes, setDeviceGroups, setLoginFailedPage, setLoginPage, setNavigationRootNode, setNavigationRootNodeById, setOfflinePage, setPageCreationStyle, setPagesResourceCatalogById, setPageTemplateById, setPageTemplatesResourceCatalogById, setResourceCatalogForGroupSpaceSiteTemplates, setSkin, setSkinById, updateCustomAttributecopy, copy, delete, expandProperties, getAuthorizedActions, getDependentPortalObjects, getHolder, getPortal, getTypeName, isCurrent, isValid, setPortal, setPropertiesgetId, getPropertiesgetSubscriptionApproval, getUnsubscriptionApprovalPortalTemplate copyAsPortalTemplate(java.lang.String name) throws DuplicateNameException, MemberOperationException
name - the name for the Portal Template.DuplicateNameExceptionMemberOperationExceptionPortalTemplate copyAsPortalTemplate(java.lang.String name, java.lang.String displayName, java.lang.String description, PortalTemplateCreationOptions options) throws DuplicateNameException, MemberOperationException
name - the name for the Portal Template.displayName - the display name for the new portal templatedescription - the description for the new portal templateoptions - the options for what to include in the templateDuplicateNameExceptionMemberOperationExceptionboolean isSubscriptionEnabled()
void setAccessLevel(boolean isDiscoverable,
boolean isPublic)
isDiscoverable - value to set the portal's isDiscoverable property to.isPublic - vale to set the portal's isPublic property to.