Package beans.directory.enterprise

Examples of beans.directory.enterprise.EnterpriseDetails


    }
}//GEN-LAST:event_btSetTitleActionPerformed

private void btAddEnterpriseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btAddEnterpriseActionPerformed
    try {
        EnterpriseDetails d = new EnterpriseDetails();
        d.id = 0;
        d.title = "Введите название";
        DirectoryEnterpriseItem item = new DirectoryEnterpriseItem(d);
        if (treeEnterprises.getLastSelectedPathComponent() instanceof DirectoryEnterpriseItem) {
            DirectoryEnterpriseItem parent = (DirectoryEnterpriseItem)
View Full Code Here


     * @param collaborator
     * @throws ClipsException
     */
    public void setCollaborator(DirectoryCollaboratorItem collaborator) throws ClipsException {
       if(isInDirectory()) {
            EnterpriseDetails newDetails = getDetailsCopy();
            newDetails.collaboratorID = collaborator == null ? 0 : collaborator.getID();
            saveDetails(newDetails);
        } else {
            getDetails().collaboratorID = collaborator.getID();
        }          
View Full Code Here

        super(DirectoryEnterpriseBean.class.getSimpleName());
    }

    @Override
    protected EnterpriseDetails newDetais() {
        return new EnterpriseDetails();
    }
View Full Code Here

    }


    @Override
    protected DirectoryEnterpriseItem createFromLoadedDetails(DirectoryItemDetails details) {
        EnterpriseDetails d = (EnterpriseDetails) details;
        return new DirectoryEnterpriseItem(d);
    }
View Full Code Here

TOP

Related Classes of beans.directory.enterprise.EnterpriseDetails

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.