public final class LevelValueFacade
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static org.tencompetence.generated.model.LevelValue |
createLevelValue()
Creates the level value.
|
static java.util.List<org.tencompetence.generated.model.LevelValue> |
getAttainableCompetenceLevelValues(long competenceMapId,
com.liferay.portal.service.ServiceContext ctx)
Gets the attainable levels.
|
static long |
getAttainedCompetenceLevelValuesCount(long competenceMapId,
com.liferay.portal.service.ServiceContext ctx)
Gets the number of CompetenceLevelValues.
|
static java.util.List<org.tencompetence.generated.model.LevelValue> |
getCompetenceProfileLevelValues(long competenceMapId,
com.liferay.portal.service.ServiceContext ctx)
Gets the competence profile level values.
|
static long |
getCompetenceProfileLevelValuesCount(long competenceMapId,
com.liferay.portal.service.ServiceContext ctx)
Gets the competence profile level values count.
|
static org.tencompetence.generated.model.LevelValue |
getLevelValue(long levelValueId,
com.liferay.portal.service.ServiceContext ctx)
Gets the level value.
|
static java.util.List<org.tencompetence.generated.model.LevelValue> |
getLevelValuesByCompetenceMapIdAndType(long primaryKey,
java.lang.Integer id,
com.liferay.portal.service.ServiceContext ctx)
Gets the level values by competence map id and type.
|
static java.util.List<org.tencompetence.generated.model.LevelValue> |
getRequirableCompetenceLevelValues(long competenceMapId,
com.liferay.portal.service.ServiceContext ctx)
Gets the required levels.
|
static long |
getRequiredCompetenceLevelValuesCount(long competenceMapId,
com.liferay.portal.service.ServiceContext ctx)
Gets the number of CompetenceLevelValues minus 1.
|
static org.tencompetence.generated.model.LevelValue |
updateLevelValue(org.tencompetence.generated.model.LevelValue levelValue,
boolean merge,
com.liferay.portal.service.ServiceContext ctx)
Update level value.
|
static org.tencompetence.generated.model.LevelValue |
updateLevelValue(org.tencompetence.generated.model.LevelValue levelValue,
com.liferay.portal.service.ServiceContext ctx)
Update level value.
|
public static org.tencompetence.generated.model.LevelValue createLevelValue() throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException
- the system exceptionpublic static org.tencompetence.generated.model.LevelValue updateLevelValue(org.tencompetence.generated.model.LevelValue levelValue, boolean merge, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
levelValue
- the level valuemerge
- the mergectx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static org.tencompetence.generated.model.LevelValue updateLevelValue(org.tencompetence.generated.model.LevelValue levelValue, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
levelValue
- the level valuectx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static java.util.List<org.tencompetence.generated.model.LevelValue> getCompetenceProfileLevelValues(long competenceMapId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceMapId
- the competence map idctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static java.util.List<org.tencompetence.generated.model.LevelValue> getRequirableCompetenceLevelValues(long competenceMapId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceMapId
- the competence map idctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static java.util.List<org.tencompetence.generated.model.LevelValue> getAttainableCompetenceLevelValues(long competenceMapId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceMapId
- the competence map idctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static long getCompetenceProfileLevelValuesCount(long competenceMapId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException
competenceMapId
- the competence map idctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptionpublic static long getRequiredCompetenceLevelValuesCount(long competenceMapId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException
competenceMapId
- the mapidctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the SystemExceptionpublic static long getAttainedCompetenceLevelValuesCount(long competenceMapId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException
ctx
- the ctxcompetenceMapId
- the mapidcom.liferay.portal.kernel.exception.SystemException
- the SystemExceptionpublic static org.tencompetence.generated.model.LevelValue getLevelValue(long levelValueId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
levelValueId
- the level value idctx
- the ctxcom.liferay.portal.kernel.exception.PortalException
- the portal exceptioncom.liferay.portal.kernel.exception.SystemException
- the system exceptionpublic static java.util.List<org.tencompetence.generated.model.LevelValue> getLevelValuesByCompetenceMapIdAndType(long primaryKey, java.lang.Integer id, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException
primaryKey
- the primary keyid
- the idctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exception