public interface Sites
Modifier and Type | Field and Description |
---|---|
static String |
ANALYTICS_PREFIX |
static int |
CONTENT_SHARING_WITH_CHILDREN_DEFAULT_VALUE |
static int |
CONTENT_SHARING_WITH_CHILDREN_DISABLED |
static int |
CONTENT_SHARING_WITH_CHILDREN_DISABLED_BY_DEFAULT |
static int |
CONTENT_SHARING_WITH_CHILDREN_ENABLED |
static int |
CONTENT_SHARING_WITH_CHILDREN_ENABLED_BY_DEFAULT |
static String |
LAST_MERGE_TIME |
static String |
LAST_RESET_TIME |
static String |
LAYOUT_UPDATEABLE |
static String |
MERGE_FAIL_COUNT |
static String |
MERGE_FAIL_FRIENDLY_URL_LAYOUTS |
static String |
SHOW_SITE_NAME |
Modifier and Type | Method and Description |
---|---|
void |
addMergeFailFriendlyURLLayout(Layout layout) |
void |
addPortletBreadcrumbEntries(Group group,
javax.servlet.http.HttpServletRequest httpServletRequest,
PortletURL portletURL) |
void |
addPortletBreadcrumbEntries(Group group,
javax.servlet.http.HttpServletRequest httpServletRequest,
RenderResponse renderResponse) |
void |
addPortletBreadcrumbEntries(Group group,
String pagesName,
PortletURL redirectURL,
javax.servlet.http.HttpServletRequest httpServletRequest,
RenderResponse renderResponse) |
void |
applyLayoutPrototype(LayoutPrototype layoutPrototype,
Layout targetLayout,
boolean linkEnabled) |
void |
copyLayout(long userId,
Layout sourceLayout,
Layout targetLayout,
ServiceContext serviceContext) |
void |
copyLookAndFeel(Layout targetLayout,
Layout sourceLayout) |
void |
copyPortletPermissions(Layout targetLayout,
Layout sourceLayout) |
void |
copyPortletSetups(Layout sourceLayout,
Layout targetLayout) |
void |
copyTypeSettings(Group sourceGroup,
Group targetGroup) |
Object[] |
deleteLayout(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
Object[] |
deleteLayout(PortletRequest portletRequest,
PortletResponse portletResponse) |
void |
deleteLayout(RenderRequest renderRequest,
RenderResponse renderResponse) |
File |
exportLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype,
ServiceContext serviceContext) |
Long[] |
filterGroups(List<Group> groups,
String[] names) |
Layout |
getLayoutSetPrototypeLayout(Layout layout) |
Map<String,String[]> |
getLayoutSetPrototypeParameters(ServiceContext serviceContext) |
int |
getMergeFailCount(LayoutPrototype layoutPrototype) |
int |
getMergeFailCount(LayoutSetPrototype layoutSetPrototype) |
List<Layout> |
getMergeFailFriendlyURLLayouts(LayoutSet layoutSet) |
List<String> |
getOrganizationNames(Group group,
User user) |
List<String> |
getUserGroupNames(Group group,
User user) |
void |
importLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype,
InputStream inputStream,
ServiceContext serviceContext) |
boolean |
isContentSharingWithChildrenEnabled(Group group) |
boolean |
isFirstLayout(long groupId,
boolean privateLayout,
long layoutId) |
boolean |
isLayoutDeleteable(Layout layout) |
boolean |
isLayoutModifiedSinceLastMerge(Layout layout) |
boolean |
isLayoutSetMergeable(Group group,
LayoutSet layoutSet) |
boolean |
isLayoutSetPrototypeUpdateable(LayoutSet layoutSet) |
boolean |
isLayoutSortable(Layout layout) |
boolean |
isLayoutUpdateable(Layout layout) |
boolean |
isUserGroupLayout(Layout layout) |
boolean |
isUserGroupLayoutSetViewable(PermissionChecker permissionChecker,
Group userGroupGroup) |
void |
mergeLayoutPrototypeLayout(Group group,
Layout layout) |
void |
mergeLayoutSetPrototypeLayouts(Group group,
LayoutSet layoutSet) |
void |
removeMergeFailFriendlyURLLayouts(LayoutSet layoutSet) |
void |
resetPrototype(Layout layout) |
void |
resetPrototype(LayoutSet layoutSet) |
void |
setMergeFailCount(LayoutPrototype layoutPrototype,
int newMergeFailCount) |
void |
setMergeFailCount(LayoutSetPrototype layoutSetPrototype,
int newMergeFailCount) |
void |
updateLayoutScopes(long userId,
Layout sourceLayout,
Layout targetLayout,
PortletPreferences sourcePreferences,
PortletPreferences targetPreferences,
String sourcePortletId,
String languageId) |
void |
updateLayoutSetPrototypesLinks(Group group,
long publicLayoutSetPrototypeId,
long privateLayoutSetPrototypeId,
boolean publicLayoutSetPrototypeLinkEnabled,
boolean privateLayoutSetPrototypeLinkEnabled) |
static final String ANALYTICS_PREFIX
static final int CONTENT_SHARING_WITH_CHILDREN_DEFAULT_VALUE
static final int CONTENT_SHARING_WITH_CHILDREN_DISABLED
static final int CONTENT_SHARING_WITH_CHILDREN_DISABLED_BY_DEFAULT
static final int CONTENT_SHARING_WITH_CHILDREN_ENABLED
static final int CONTENT_SHARING_WITH_CHILDREN_ENABLED_BY_DEFAULT
static final String LAST_MERGE_TIME
static final String LAST_RESET_TIME
static final String LAYOUT_UPDATEABLE
static final String MERGE_FAIL_COUNT
static final String MERGE_FAIL_FRIENDLY_URL_LAYOUTS
static final String SHOW_SITE_NAME
void addMergeFailFriendlyURLLayout(Layout layout) throws PortalException
PortalException
void addPortletBreadcrumbEntries(Group group, javax.servlet.http.HttpServletRequest httpServletRequest, PortletURL portletURL) throws Exception
Exception
void addPortletBreadcrumbEntries(Group group, javax.servlet.http.HttpServletRequest httpServletRequest, RenderResponse renderResponse) throws Exception
Exception
void addPortletBreadcrumbEntries(Group group, String pagesName, PortletURL redirectURL, javax.servlet.http.HttpServletRequest httpServletRequest, RenderResponse renderResponse) throws Exception
Exception
void applyLayoutPrototype(LayoutPrototype layoutPrototype, Layout targetLayout, boolean linkEnabled) throws Exception
Exception
void copyLayout(long userId, Layout sourceLayout, Layout targetLayout, ServiceContext serviceContext) throws Exception
Exception
void copyLookAndFeel(Layout targetLayout, Layout sourceLayout) throws Exception
Exception
void copyPortletPermissions(Layout targetLayout, Layout sourceLayout) throws Exception
Exception
void copyPortletSetups(Layout sourceLayout, Layout targetLayout) throws Exception
Exception
void copyTypeSettings(Group sourceGroup, Group targetGroup) throws Exception
Exception
Object[] deleteLayout(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Exception
Exception
Object[] deleteLayout(PortletRequest portletRequest, PortletResponse portletResponse) throws Exception
Exception
void deleteLayout(RenderRequest renderRequest, RenderResponse renderResponse) throws Exception
Exception
File exportLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype, ServiceContext serviceContext) throws PortalException
PortalException
Long[] filterGroups(List<Group> groups, String[] names)
Map<String,String[]> getLayoutSetPrototypeParameters(ServiceContext serviceContext)
int getMergeFailCount(LayoutPrototype layoutPrototype) throws PortalException
PortalException
int getMergeFailCount(LayoutSetPrototype layoutSetPrototype) throws PortalException
PortalException
List<Layout> getMergeFailFriendlyURLLayouts(LayoutSet layoutSet) throws PortalException
PortalException
List<String> getOrganizationNames(Group group, User user) throws Exception
Exception
List<String> getUserGroupNames(Group group, User user) throws Exception
Exception
void importLayoutSetPrototype(LayoutSetPrototype layoutSetPrototype, InputStream inputStream, ServiceContext serviceContext) throws PortalException
PortalException
boolean isContentSharingWithChildrenEnabled(Group group)
boolean isFirstLayout(long groupId, boolean privateLayout, long layoutId)
boolean isLayoutDeleteable(Layout layout)
boolean isLayoutModifiedSinceLastMerge(Layout layout) throws PortalException
PortalException
boolean isLayoutSetMergeable(Group group, LayoutSet layoutSet) throws PortalException
PortalException
boolean isLayoutSetPrototypeUpdateable(LayoutSet layoutSet)
boolean isLayoutSortable(Layout layout)
boolean isLayoutUpdateable(Layout layout)
boolean isUserGroupLayout(Layout layout) throws PortalException
PortalException
boolean isUserGroupLayoutSetViewable(PermissionChecker permissionChecker, Group userGroupGroup) throws PortalException
PortalException
void mergeLayoutPrototypeLayout(Group group, Layout layout) throws Exception
Exception
void mergeLayoutSetPrototypeLayouts(Group group, LayoutSet layoutSet) throws Exception
Exception
void removeMergeFailFriendlyURLLayouts(LayoutSet layoutSet) throws PortalException
PortalException
void resetPrototype(Layout layout) throws PortalException
PortalException
void resetPrototype(LayoutSet layoutSet) throws PortalException
PortalException
void setMergeFailCount(LayoutPrototype layoutPrototype, int newMergeFailCount) throws PortalException
PortalException
void setMergeFailCount(LayoutSetPrototype layoutSetPrototype, int newMergeFailCount) throws PortalException
PortalException
void updateLayoutScopes(long userId, Layout sourceLayout, Layout targetLayout, PortletPreferences sourcePreferences, PortletPreferences targetPreferences, String sourcePortletId, String languageId) throws Exception
Exception
void updateLayoutSetPrototypesLinks(Group group, long publicLayoutSetPrototypeId, long privateLayoutSetPrototypeId, boolean publicLayoutSetPrototypeLinkEnabled, boolean privateLayoutSetPrototypeLinkEnabled) throws Exception
Exception