Package com.volantis.mcs.project

Examples of com.volantis.mcs.project.InternalProject


     */
    private int getTransferType(String policyArgument) {
        int transferType = TRANSFER_NONE;

        boolean isXMLRepository = false;
        InternalProject dstProject = (InternalProject) this.dstProject;
        if (dstProject.getPolicySource() instanceof XMLPolicySource) {
            isXMLRepository = true;
        }
        if (policyArgument.equals(DEVICE) &&
            (args.contains(SYSTEM) ||
             args.contains(ALL) ||
View Full Code Here


    public PolicyTransferAccessor(
            LocalRepositoryConnection connection, Project project) {
        super(connection);

        InternalProject internalProject = (InternalProject) project;
        LocalPolicySource source = (LocalPolicySource)
                internalProject.getPolicySource();
        accessor = source.getPolicyBuilderAccessor();
        this.project = project;
    }
View Full Code Here

    public PolicyTransferAccessor(
            LocalRepositoryConnection connection, Project project) {
        super(connection);

        InternalProject internalProject = (InternalProject) project;
        LocalPolicySource source = (LocalPolicySource)
                internalProject.getPolicySource();
        accessor = source.getPolicyBuilderAccessor();
        this.project = project;
    }
View Full Code Here

    public void containerExists(String name,
                                boolean isNegativeTest,
                                RepositoryConnection repositoryConnection,
                                XMLRepository repository) {
   
        InternalProject project = (InternalProject)
                repository.getDefaultProject();
        LocalPolicySource source = (LocalPolicySource)
                project.getPolicySource();

        PolicyBuilderAccessor accessor = source.getPolicyBuilderAccessor();

        try {
            PolicyBuilder policyBuilder = accessor.retrievePolicyBuilder(
View Full Code Here

   * @deprecated Use {@link com.volantis.mcs.project.PolicyBuilderManager}
   */
  public RepositoryConnection getPageConnection() {
      if (pageConnection == null) {
          Volantis volantis = pageContext.getVolantisBean();
          InternalProject project = volantis.getDefaultProject();
          LocalPolicySource source = (LocalPolicySource) project.getPolicySource();
          LocalRepository repository = source.getRepository();
          try {
              pageConnection = repository.connect();
          } catch (RepositoryException e) {
              throw new ExtendedRuntimeException(e);
View Full Code Here

TOP

Related Classes of com.volantis.mcs.project.InternalProject

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.