Package com.agiletec.plugins.jacms.aps.system.services.resource.model

Examples of com.agiletec.plugins.jacms.aps.system.services.resource.model.ResourceDataBean


    String resourceType = "Image";
    String categoryCodeToAdd = "resCat1";
    List<String> groups = new ArrayList<String>();
    groups.add(Group.FREE_GROUP_NAME);
    try {
      ResourceDataBean bean = this.getMockResource(resourceType, mainGroup, resDescrToAdd, categoryCodeToAdd);

      // add the resource
      this._resourceManager.addResource(bean);
      List<String> resources = this._resourceManager.searchResourcesId(resourceType, resDescrToAdd, categoryCodeToAdd, groups);
      assertEquals(1, resources.size());
View Full Code Here


  public void testAdd_Trash_RestoreResource_DeleteFromArchive() throws Throwable {
    String mainGroup = Group.FREE_GROUP_NAME;
    String resDescrToAdd = "Versioning test 2";
    String resourceType = "Image";
    String categoryCodeToAdd = "resCat1";
    ResourceDataBean bean = this.getMockResource(resourceType, mainGroup, resDescrToAdd, categoryCodeToAdd);
    List<String> groups = new ArrayList<String>();
    groups.add(Group.FREE_GROUP_NAME);
    try {
      // add the resource
      this._resourceManager.addResource(bean);
View Full Code Here

TOP

Related Classes of com.agiletec.plugins.jacms.aps.system.services.resource.model.ResourceDataBean

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.