Package org.openurp.web
Class ProjectContextImpl
java.lang.Object
org.openurp.web.ProjectContextImpl
- All Implemented Interfaces:
ProjectContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.commons.collections.Predicateprotected final org.apache.commons.collections.Transformerprotected final Stringprotected org.beangle.security.data.ProfileServiceprotected final org.apache.commons.collections.Predicate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyRestriction(org.beangle.commons.dao.query.builder.OqlBuilder<?> query) voidorg.beangle.security.core.userdetail.Profile获得当前教学项目下所对应的UserProfileList<org.beangle.security.core.userdetail.Profile>protected SemestergetUser()booleanisRoot()voidrememberSemester(Integer semesterId) voidsetEntityDao(org.beangle.commons.dao.EntityDao entityDao) voidsetProfileService(org.beangle.security.data.ProfileService profileService) voidsetSemesterService(SemesterService semesterService)
-
Field Details
-
profileService
protected org.beangle.security.data.ProfileService profileService -
prefix
- See Also:
-
collegePredicate
protected final org.apache.commons.collections.Predicate collegePredicate -
teachPredicate
protected final org.apache.commons.collections.Predicate teachPredicate -
idTransformer
protected final org.apache.commons.collections.Transformer idTransformer
-
-
Constructor Details
-
ProjectContextImpl
public ProjectContextImpl()
-
-
Method Details
-
getProject
- Specified by:
getProjectin interfaceProjectContext
-
isRoot
public boolean isRoot()- Specified by:
isRootin interfaceProjectContext
-
getUser
- Specified by:
getUserin interfaceProjectContext
-
getSemester
- Specified by:
getSemesterin interfaceProjectContext
-
getSemester_internal
-
rememberSemester
- Specified by:
rememberSemesterin interfaceProjectContext
-
forgetSemester
public void forgetSemester()- Specified by:
forgetSemesterin interfaceProjectContext
-
getEducationLevels
- Specified by:
getEducationLevelsin interfaceProjectContext
-
getStdTypes
- Specified by:
getStdTypesin interfaceProjectContext
-
getDeparts
- Specified by:
getDepartsin interfaceProjectContext
-
getColleges
- Specified by:
getCollegesin interfaceProjectContext
-
getTeachDeparts
- Specified by:
getTeachDepartsin interfaceProjectContext
-
getEducationIdSeq
- Specified by:
getEducationIdSeqin interfaceProjectContext
-
getStdTypeIdSeq
- Specified by:
getStdTypeIdSeqin interfaceProjectContext
-
getDepartIdSeq
- Specified by:
getDepartIdSeqin interfaceProjectContext
-
getCollegeIdSeq
- Specified by:
getCollegeIdSeqin interfaceProjectContext
-
getTeachDepartIdSeq
- Specified by:
getTeachDepartIdSeqin interfaceProjectContext
-
getProjects
- Specified by:
getProjectsin interfaceProjectContext
-
getProfiles
- Specified by:
getProfilesin interfaceProjectContext
-
getCurrentProfile
public org.beangle.security.core.userdetail.Profile getCurrentProfile()获得当前教学项目下所对应的UserProfile- Specified by:
getCurrentProfilein interfaceProjectContext- Returns:
-
applyRestriction
public void applyRestriction(org.beangle.commons.dao.query.builder.OqlBuilder<?> query) - Specified by:
applyRestrictionin interfaceProjectContext
-
setEntityDao
public void setEntityDao(org.beangle.commons.dao.EntityDao entityDao) -
setProfileService
public void setProfileService(org.beangle.security.data.ProfileService profileService) -
setSemesterService
-