本文整理汇总了Java中org.kuali.rice.core.api.util.jaxb.DateTimeAdapter类的典型用法代码示例。如果您正苦于以下问题:Java DateTimeAdapter类的具体用法?Java DateTimeAdapter怎么用?Java DateTimeAdapter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DateTimeAdapter类属于org.kuali.rice.core.api.util.jaxb包,在下文中一共展示了DateTimeAdapter类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: isGroupMemberOfGroupWithDate
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
@WebMethod(operationName = "isGroupMemberOfGroupWithDate")
@WebResult(name = "isMember")
boolean isGroupMemberOfGroupWithDate(String groupMemberId, String groupId,
@XmlJavaTypeAdapter(value = DateTimeAdapter.class) @WebParam(name="asOfDate") DateTime asOfDate) throws RiceIllegalArgumentException;
示例2: isMemberOfGroupWithDate
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
@WebMethod(operationName = "isMemberOfGroupWithDate")
@WebResult(name = "isMember")
boolean isMemberOfGroupWithDate(String principalId, String groupId,
@XmlJavaTypeAdapter(value = DateTimeAdapter.class) @WebParam(name="asOfDate") DateTime asOfDate) throws RiceIllegalArgumentException;
示例3: getDirectParentGroupIdsWithDate
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
@WebMethod(operationName = "getDirectParentGroupIdsWithDate")
@XmlElementWrapper(name = "directParents", required = true)
@XmlElement(name = "directParent", required = false)
@WebResult(name = "directParents")
List<String> getDirectParentGroupIdsWithDate(String groupId,
@XmlJavaTypeAdapter(value = DateTimeAdapter.class) @WebParam(name="asOfDate") DateTime asOfDate) throws RiceIllegalArgumentException;
示例4: getMembersWithDate
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
@WebMethod(operationName = "getMembersWithDate")
@XmlElementWrapper(name = "members", required = true)
@XmlElement(name = "member", required = false)
@WebResult(name = "members")
List<GroupMember> getMembersWithDate(List<String> groupIds,
@XmlJavaTypeAdapter(value = DateTimeAdapter.class) @WebParam(name="asOfDate") DateTime asOfDate) throws RiceIllegalArgumentException;
示例5: getRulesByTemplateNameAndDocumentTypeNameAndEffectiveDate
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
/**
* Gets a list of Rules with the specified templateId and documentTypeName. Scales up the hierarchy of
* documentTypes
*
* @param templateName unique name for the Rule Template. Cannot be null or empty
* @param documentTypeName documentTypeName for Rule. Cannot be null or empty
* @param effectiveDate date for rule effectiveness. Can be null. If null, current time is used.
*
* @return Rules with the passed in templateId, documentTypeName (or parent document type)or an empty list if none exist
*
* @throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException if {@code id} is null
*/
@WebMethod(operationName = "getRulesByTemplateNameAndDocumentTypeNameAndEffectiveDate")
@WebResult(name = "rules")
@XmlElementWrapper(name = "rules", required = true)
@XmlElement(name = "rule", required = true)
List<Rule> getRulesByTemplateNameAndDocumentTypeNameAndEffectiveDate(@WebParam(name = "templateName") String templateName,
@WebParam(name = "documentTypeName") String documentTypeName,
@XmlJavaTypeAdapter(value = DateTimeAdapter.class) @WebParam(name = "effectiveDate") DateTime effectiveDate)
throws RiceIllegalArgumentException;
示例6:
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
/**
* Does a direct search for searchableAttributes without going through the document search
* This returns a list of DateTime values for date/time searchableAttributes
*
* @param documentId the unique id of a Document
* @param key the searchableAttributes key value
*
* @return a list of DateTime values for the {@link Document} with the
* given documentId and searchable attribute key
*
* @throws RiceIllegalArgumentException if {@code documentId} is null
* @throws RiceIllegalArgumentException if {@code key} is null
*/
@WebMethod(operationName = "getSearchableAttributeDateTimeValuesByKey")
@XmlElementWrapper(name = "searchableAttributeDateTimeValues", required = true)
@XmlElement(name = "searchableAttributeDateTimeValue", required = false)
@WebResult(name = "searchableAttributeDateTimeValues")
@XmlJavaTypeAdapter(value = DateTimeAdapter.class)
List<DateTime> getSearchableAttributeDateTimeValuesByKey(@WebParam(name = "documentId") String documentId,
@WebParam(name = "key") String key)
throws RiceIllegalArgumentException;
示例7: getMembersOfGroupWithDate
import org.kuali.rice.core.api.util.jaxb.DateTimeAdapter; //导入依赖的package包/类
/**
* Get all GroupMembers all the groups with a given group id and asOfDate.
*
* <p>
* The collection of GroupMembers will contain members for a the group in no defined order. That were members at the specified time.
* </p>
*
* @param groupId Id of group
* @param asOfDate Date for historical record
* @return Collection of GroupMembers.
* @throws RiceIllegalArgumentException if the groupId is null or blank
*/
@WebMethod(operationName = "getMembersOfGroupWithDate")
@XmlElementWrapper(name = "members", required = true)
@XmlElement(name = "member", required = false)
@WebResult(name = "members")
@Cacheable(value= GroupMember.Cache.NAME, key="'groupId=' + #p0 + '|' + 'asOfDate=' + #p1")
List<GroupMember> getMembersOfGroupWithDate( @WebParam(name="groupId") String groupId,
@XmlJavaTypeAdapter(value = DateTimeAdapter.class) @WebParam(name="asOfDate")DateTime asOfDate )
throws RiceIllegalArgumentException;