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: 25304 $ $Date: 2022-10-22 22:51:05 -0300 (Sat, 22 Oct 2022) $
-
-
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
-
-