Package lumis.content.primarycontent
Class PrimaryContentUtil
- java.lang.Object
-
- lumis.content.primarycontent.PrimaryContentUtil
-
public class PrimaryContentUtil extends java.lang.Object
Utilities of primary content.- Since:
- 15.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description PrimaryContentUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getPrimaryContentIdByServiceInstanceAndServiceInterface(ServiceInstanceConfig serviceInstance, ServiceInterfaceConfig serviceInterface)
Returns the identifier of the primary content (if any) for the given service instance.static java.lang.String
getPrimaryContentIdByServiceInstanceAndSource(ServiceInstanceConfig serviceInstance, java.lang.String sourceId)
Returns the identifier of the primary content (if any) for the given service instance.static void
scheduleClearCacheByServiceInstance(java.lang.String serviceInstanceId)
Schedule a cache clear by service instance.
-
-
-
Method Detail
-
getPrimaryContentIdByServiceInstanceAndSource
public static java.lang.String getPrimaryContentIdByServiceInstanceAndSource(ServiceInstanceConfig serviceInstance, java.lang.String sourceId) throws PortalException
Returns the identifier of the primary content (if any) for the given service instance.- Parameters:
serviceInstance
- the service instanceserviceInterface
- the service interface- Returns:
- the identifier of the primary content (if any) for the given service instance.
- Throws:
PortalException
- Since:
- 15.0.0
-
getPrimaryContentIdByServiceInstanceAndServiceInterface
public static java.lang.String getPrimaryContentIdByServiceInstanceAndServiceInterface(ServiceInstanceConfig serviceInstance, ServiceInterfaceConfig serviceInterface) throws PortalException
Returns the identifier of the primary content (if any) for the given service instance.- Parameters:
serviceInstance
- the service instanceserviceInterface
- the service interface- Returns:
- the identifier of the primary content (if any) for the given service instance.
- Throws:
PortalException
- Since:
- 15.0.0
-
scheduleClearCacheByServiceInstance
public static void scheduleClearCacheByServiceInstance(java.lang.String serviceInstanceId) throws PortalException
Schedule a cache clear by service instance.- Parameters:
serviceInstanceId
- the service instance identifier- Throws:
PortalException
- Since:
- 15.0.0
-
-