public final class CompetenceLevelFacade
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static org.tencompetence.generated.model.CompetenceLevel |
addCompetenceLevel(org.tencompetence.generated.model.CompetenceLevel competenceLevel,
com.liferay.portal.service.ServiceContext ctx)
Adds the competence level.
|
static org.tencompetence.generated.model.CompetenceLevel |
addCompetenceLevelNewVersion(org.tencompetence.generated.model.CompetenceLevel competenceLevel,
com.liferay.portal.service.ServiceContext ctx)
Creates a new version for the passed competence level.
|
static void |
addWrapperActivities(org.tencompetence.generated.model.CompetenceLevel competenceLevel,
java.util.List<org.tencompetence.generated.model.ActivityWrapper> activities,
com.liferay.portal.service.ServiceContext ctx)
Adds the wrapper activities.
|
static void |
clearActivities(org.tencompetence.generated.model.CompetenceLevel competenceLevel,
com.liferay.portal.service.ServiceContext ctx)
Clear activities.
|
static java.util.List<org.tencompetence.generated.model.CompetenceLevel> |
getAttainableCompetenceLevelsByCompetenceId(long competenceId,
com.liferay.portal.service.ServiceContext ctx)
Get the attainable competence levels.
|
static org.tencompetence.generated.model.CompetenceLevel |
getBareCompetenceLevel(long competenceLevelId)
Get a CompetenceLevel without title and description.
|
static org.tencompetence.generated.model.CompetenceLevel |
getBareCompetenceLevelByCompetenceIdLevelValueId(long competenceId,
long levelValueId)
Get a CompetenceLevel without title and description.
|
static java.util.List<org.tencompetence.generated.model.CompetenceLevel> |
getBareCompetenceLevelsByCompetenceId(long competenceId)
Get CompetenceLevels without title and description for a Competence.
|
static java.util.List<org.tencompetence.generated.model.CompetenceLevel> |
getBareCompetenceLevelsByCompetenceMapId(long mapId)
Get a CompetenceLevels without title and description for a CompetenceMap.
|
static org.tencompetence.generated.model.CompetenceLevel |
getCompetenceLevel(long competenceLevelId,
com.liferay.portal.service.ServiceContext ctx)
Gets the competence level.
|
static java.util.List<org.tencompetence.generated.model.CompetenceLevel> |
getCompetenceLevels(int start,
int end,
com.liferay.portal.service.ServiceContext ctx)
Gets the competence levels.
|
static java.util.List<org.tencompetence.generated.model.CompetenceLevel> |
getCompetenceLevelsByCompetenceMapId(long mapId,
com.liferay.portal.service.ServiceContext ctx)
Gets the competence levels by competence map id.
|
static java.util.List<org.tencompetence.generated.model.CompetenceLevel> |
getCompetenceLevelsByIds(java.util.List<java.lang.Long> ids,
com.liferay.portal.service.ServiceContext ctx)
Gets the competence levels by ids.
|
static java.util.List<org.tencompetence.generated.model.CompetenceLevel> |
getCompetenceLevelsByIds(java.lang.String ids,
com.liferay.portal.service.ServiceContext ctx)
Gets the competence levels by ids.
|
static java.util.List<org.tencompetence.generated.model.CompetenceLevel> |
getHighestLeafCompetenceLevelsByCompetenceProfileId(long competenceProfileLevelId,
com.liferay.portal.service.ServiceContext ctx)
Get a list from leaf competenceLevels by a CompetenceProfileId.
|
static java.util.List<org.tencompetence.generated.model.CompetenceLevel> |
getLeafCompetenceLevelsByCompetenceProfileId(long competenceProfileLevelId,
com.liferay.portal.service.ServiceContext ctx)
Get the leaf competenceLevels by a CompetenceProfileId.
|
static java.util.List<org.tencompetence.generated.model.CompetenceLevel> |
getRequirableCompetenceLevelsByCompetenceId(long competenceId,
com.liferay.portal.service.ServiceContext ctx)
Get the required competence levels.
|
static java.util.List<org.tencompetence.generated.model.ActivityWrapper> |
getWrapperActivities(org.tencompetence.generated.model.CompetenceLevel competenceLevel,
com.liferay.portal.service.ServiceContext ctx)
Gets the wrapper activities.
|
static void |
removeWrapperActivities(org.tencompetence.generated.model.CompetenceLevel competenceLevel,
java.util.List<org.tencompetence.generated.model.ActivityWrapper> activities,
com.liferay.portal.service.ServiceContext ctx)
Removes the wrapper activities.
|
static org.tencompetence.generated.model.CompetenceLevel |
updateCompetenceLevel(org.tencompetence.generated.model.CompetenceLevel competenceLevel,
com.liferay.portal.service.ServiceContext ctx)
Update the competence level.
|
public static org.tencompetence.generated.model.CompetenceLevel addCompetenceLevel(org.tencompetence.generated.model.CompetenceLevel competenceLevel, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceLevel
- the competence levelctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static org.tencompetence.generated.model.CompetenceLevel getBareCompetenceLevel(long competenceLevelId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceLevelId
- competenceIdcom.liferay.portal.kernel.exception.SystemException
- SystemExceptioncom.liferay.portal.kernel.exception.PortalException
- PortalExceptionpublic static java.util.List<org.tencompetence.generated.model.CompetenceLevel> getBareCompetenceLevelsByCompetenceId(long competenceId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceId
- competenceIdcom.liferay.portal.kernel.exception.SystemException
- SystemExceptioncom.liferay.portal.kernel.exception.PortalException
- PortalExceptionpublic static org.tencompetence.generated.model.CompetenceLevel getBareCompetenceLevelByCompetenceIdLevelValueId(long competenceId, long levelValueId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
competenceId
- the competenceIdlevelValueId
- the levelValueIdcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static java.util.List<org.tencompetence.generated.model.CompetenceLevel> getBareCompetenceLevelsByCompetenceMapId(long mapId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
mapId
- mapIdcom.liferay.portal.kernel.exception.SystemException
- SystemExceptioncom.liferay.portal.kernel.exception.PortalException
- PortalExceptionpublic static org.tencompetence.generated.model.CompetenceLevel addCompetenceLevelNewVersion(org.tencompetence.generated.model.CompetenceLevel competenceLevel, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceLevel
- the competence levelctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static org.tencompetence.generated.model.CompetenceLevel updateCompetenceLevel(org.tencompetence.generated.model.CompetenceLevel competenceLevel, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceLevel
- the competence levelctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static org.tencompetence.generated.model.CompetenceLevel getCompetenceLevel(long competenceLevelId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
competenceLevelId
- the competence level 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.CompetenceLevel> getCompetenceLevelsByIds(java.lang.String ids, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException
ids
- the idsctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptionpublic static java.util.List<org.tencompetence.generated.model.CompetenceLevel> getCompetenceLevelsByIds(java.util.List<java.lang.Long> ids, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException
ids
- the idsctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptionpublic static java.util.List<org.tencompetence.generated.model.CompetenceLevel> getAttainableCompetenceLevelsByCompetenceId(long competenceId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException
competenceId
- competence idctx
- Contextcom.liferay.portal.kernel.exception.SystemException
- the system exceptionpublic static java.util.List<org.tencompetence.generated.model.CompetenceLevel> getRequirableCompetenceLevelsByCompetenceId(long competenceId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceId
- competence idctx
- Contextcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the Portal exceptionpublic static java.util.List<org.tencompetence.generated.model.CompetenceLevel> getCompetenceLevels(int start, int end, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException
start
- the startend
- the endctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptionpublic static java.util.List<org.tencompetence.generated.model.CompetenceLevel> getCompetenceLevelsByCompetenceMapId(long mapId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException
mapId
- the map idctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptionpublic static java.util.List<org.tencompetence.generated.model.CompetenceLevel> getHighestLeafCompetenceLevelsByCompetenceProfileId(long competenceProfileLevelId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException, org.tencompetence.business.exceptions.EndlessLoopException
competenceProfileLevelId
- competence profile level idctx
- Contextcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.SystemException
- SystemExceptioncom.liferay.portal.kernel.exception.PortalException
- PortalExceptionorg.tencompetence.business.exceptions.EndlessLoopException
- EndlessLoopExceptionpublic static java.util.List<org.tencompetence.generated.model.CompetenceLevel> getLeafCompetenceLevelsByCompetenceProfileId(long competenceProfileLevelId, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException, org.tencompetence.business.exceptions.EndlessLoopException
competenceProfileLevelId
- competence profile level idctx
- Contextcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.SystemException
- SystemExceptioncom.liferay.portal.kernel.exception.PortalException
- PortalExceptionorg.tencompetence.business.exceptions.EndlessLoopException
- EndlessLoopExceptionpublic static void clearActivities(org.tencompetence.generated.model.CompetenceLevel competenceLevel, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceLevel
- the competence levelctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static void addWrapperActivities(org.tencompetence.generated.model.CompetenceLevel competenceLevel, java.util.List<org.tencompetence.generated.model.ActivityWrapper> activities, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceLevel
- the competence levelactivities
- the activitiesctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exceptioncom.liferay.portal.kernel.exception.PortalException
- the portal exceptionpublic static void removeWrapperActivities(org.tencompetence.generated.model.CompetenceLevel competenceLevel, java.util.List<org.tencompetence.generated.model.ActivityWrapper> activities, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portal.kernel.exception.PortalException
competenceLevel
- the competence levelactivities
- the activitiesctx
- 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.ActivityWrapper> getWrapperActivities(org.tencompetence.generated.model.CompetenceLevel competenceLevel, com.liferay.portal.service.ServiceContext ctx) throws com.liferay.portal.kernel.exception.SystemException
competenceLevel
- the competence levelctx
- the ctxcom.liferay.portal.kernel.exception.SystemException
- the system exception