/** * Obtain the item's title. */ public static String getItemTitle(Item item) { DCValue[] titles = item.getDC("title", Item.ANY, Item.ANY); String title; if (titles != null && titles.length > 0) { title = titles[0].value; } else { title = null; } return title; }
DCValue[] allDC = item.getDC(Item.ANY, Item.ANY, Item.ANY);
validityKey.append(item.getLastModified()); DCValue[] dcvs = item.getDC(Item.ANY,Item.ANY,Item.ANY); for (DCValue dcv : dcvs)
if (item != null) DCValue[] titleDC = item.getDC("title", null, Item.ANY); if (titleDC != null && titleDC.length > 0)
DCValue[] titles = workflowItem.getItem().getDC("title", null, Item.ANY); String collectionName = workflowItem.getCollection().getMetadata("name"); Message state = getWorkflowStateMessage(workflowItem);
owning = owningCollection.getMetadata("name"); String author = "unknown"; DCValue[] dcCreators = item.getDC("creator",Item.ANY,Item.ANY); if (dcCreators != null && dcCreators.length >= 1) } else { DCValue[] dcContributors = item.getDC("contributor",Item.ANY,Item.ANY); if (dcContributors != null && dcContributors.length >= 1) DCValue[] dcTitles = item.getDC("title",null,Item.ANY); if (dcTitles != null && dcTitles.length >= 1)
String collectionUrl = contextPath + "/handle/" + owned.getCollection().getHandle(); String ownedWorkflowItemUrl = contextPath + "/handle/" + owned.getCollection().getHandle() + "/workflow?workflowID=" + workflowItemID; DCValue[] titles = owned.getItem().getDC("title", null, Item.ANY); String collectionName = owned.getCollection().getMetadata("name"); EPerson submitter = owned.getSubmitter(); String collectionUrl = contextPath + "/handle/" + pooled.getCollection().getHandle(); String pooledItemUrl = contextPath + "/handle/" + pooled.getCollection().getHandle() + "/workflow?workflowID=" + workflowItemID; DCValue[] titles = pooled.getItem().getDC("title", null, Item.ANY); String collectionName = pooled.getCollection().getMetadata("name"); EPerson submitter = pooled.getSubmitter();
WorkflowActionConfig action = step.getActionConfig(actionID); String url = contextPath+"/handle/"+item.getCollection().getHandle()+"/xmlworkflow?workflowID="+workflowItemID+"&stepID="+stepID+"&actionID="+actionID; DCValue[] titles = item.getItem().getDC("title", null, Item.ANY); String collectionName = item.getCollection().getMetadata("name"); EPerson submitter = item.getSubmitter(); Workflow wf = WorkflowFactory.getWorkflow(item.getCollection()); String url = contextPath+"/handle/"+item.getCollection().getHandle()+"/xmlworkflow?workflowID="+workflowItemID+"&stepID="+stepID+"&actionID="+actionID; DCValue[] titles = item.getItem().getDC("title", null, Item.ANY); String collectionName = item.getCollection().getMetadata("name"); EPerson submitter = item.getSubmitter();
String actionURL = contextPath + "/handle/"+collection.getHandle() + "/submit/" + knot.getId() + ".continue"; DCValue[] titles = item.getDC("title", "alternative", Item.ANY); DCValue[] dateIssued = item.getDC("date", "issued", Item.ANY); DCValue[] citation = item.getDC("identifier", "citation", Item.ANY); DCValue[] publisher = item.getDC("publisher", null, Item.ANY);
DCValue[] titles = workflowItem.getItem().getDC("title", null, Item.ANY); String collectionName = workflowItem.getCollection().getMetadata("name"); java.util.List<PoolTask> pooltasks = PoolTask.find(context,workflowItem);