Package beans.cec.entity

Examples of beans.cec.entity.Committee


       
        List list = findEntityList(Committee.class, f);
        List<CommitteeDetails> res = new ArrayList<CommitteeDetails>();
        Iterator i = list.iterator();
        while(i.hasNext()) {
            Committee j = (Committee) i.next();
            res.add(j.getDetails((RightChecker) this));
        }
        return res; 
    }
View Full Code Here


     * @security требуется право WRITE_CEC
     */
    @Override
    public ModificationInfo setCommitteeMember(CommitteeMemberDetails details) throws ClipsServerException {
        checkCommandAccessibility(COMMAND_MODIFY);
        Committee entity = getExistentEntity();
       
        Collaborator coll = findEntity(Collaborator.class, details.collaboratorID);
    coll.checkNotFired();
       
        CommitteeMember member = null;
View Full Code Here

     * @throws ClipsServerException сущность должна быть сохранена в базу
     */
    @Override
    public List<CommitteeDirectionDetails> getCommitteeDirectionList() throws ClipsServerException {
        checkCommandAccessibility(COMMAND_READ);
        Committee entity = getExistentEntity();
       
        Collection<CommitteeDirection> list = findEntityList(CommitteeDirection.class, "committee", entity);
        List<CommitteeDirectionDetails> res = new ArrayList<CommitteeDirectionDetails>();
        Iterator<CommitteeDirection> i = list.iterator();
        while(i.hasNext()) {
View Full Code Here

     * @throws ClipsServerException сущность должна быть сохранена в базу    
     */
    @Override
    public ModificationInfo setCommitteeDirection(CommitteeDirectionDetails details) throws ClipsServerException {
        checkCommandAccessibility(COMMAND_MODIFY);
        Committee entity = getExistentEntity();
       
        CommitteeDirection direct = null;
        AuditDoc<CommitteeDirection> auditDoc;
        if(details.id != 0) {
            direct = findEntity(CommitteeDirection.class, details.id);
View Full Code Here

     * @throws ClipsServerException сущность должна быть сохранена в базу
     */
    @Override
    public List<CommitteeResolutionDetails> getCommitteeResolutionList() throws ClipsServerException {
        checkCommandAccessibility(COMMAND_READ);
        Committee entity = getExistentEntity();
       
        Collection<CommitteeResolution> list = findEntityList(CommitteeResolution.class, "direction.committee", entity);
        List<CommitteeResolutionDetails> res = new ArrayList<CommitteeResolutionDetails>();
        Iterator<CommitteeResolution> i = list.iterator();
        while(i.hasNext()) {
View Full Code Here

     * @return список услуг договора
     */
    @Override
    public List<InabilityDetails> getCommitteeInabilityList() throws ClipsServerException {
        checkCommandAccessibility(COMMAND_READ);
        Committee entity = getExistentEntity();
       
        List<Inability> list = findEntityList(Inability.class, "committeeResolution.direction.committee", entity);
        List<InabilityDetails> res = new ArrayList<InabilityDetails>();
        Iterator i = list.iterator();
        while(i.hasNext()) {
View Full Code Here

TOP

Related Classes of beans.cec.entity.Committee

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.